Hello,
I want to export this part as pdf/dxf. dxf is needed for import into AutoCAD.
When exporting the pdf (right click on page), the hidden lines remain dashed (zoom in pdf),
but for dxf-export the lines are not dashed. I tried shape2Dview from arch-wb too.
Do I miss something?
Thanks Thomas
Discussion started in german forum:
https://forum.freecadweb.org/viewtopic.php?f=13&t=69494
File:
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.27428 (Git)
Build type: Release
Branch: master
Hash: 27460358508a2057e0ec57a418641435f12628dd
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: German/Germany (de_DE)
2D dxf export, hidden lines not dashed
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Veteran
- Posts: 3158
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: 2D dxf export, hidden lines not dashed
Confirmed.
There is a potential workaround, but it is a bit involved:
There is a potential workaround, but it is a bit involved:
- Export the current page to DXF.
- Change all hidden HLR parameters to false.
- Create a separate DXF.
- Move to AutoCAD.
- Open the first DXF and change the linetype of all lines to hidden.
- Insert the 2nd DXF and explode the block.
- Optionally use the OverKill command to get rid of duplicate lines (adjust its settings to ignore linetypes). Depending on the result you may have to change the order of the previous steps: Open the 2nd DXF and insert the 1st DXF.
- Attachments
-
- td-hidden-lines-dxf.png (6.95 KiB) Viewed 507 times
- wandererfan
- Veteran
- Posts: 6326
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: 2D dxf export, hidden lines not dashed
The dxf export function lives in the App part of TechDraw, This allows dxf exporting in "headless" mode. The downside is that the App part doesn't know about line attributes. Also, I'm not sure if the actual dxf exporter in the Import module supports line attributes. I will have a look.thschrader wrote: ↑Sat Jun 18, 2022 7:48 am When exporting the pdf (right click on page), the hidden lines remain dashed (zoom in pdf),
but for dxf-export the lines are not dashed. I tried shape2Dview from arch-wb too.
The pdf export function lives in the Gui part of TechDraw, which does know about line attributes.
The dxf export could probably be enhanced for this, but it would not be a trivial task.