Dimension drawings are exported into DXF wrongly

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
ceremcem
Posts: 226
Joined: Sun Jan 07, 2018 11:10 am

Dimension drawings are exported into DXF wrongly

Post by ceremcem »

Exporting following TechDraw page:

Image

Causes following drawing appear in DXF (using LibreCAD):

Image

Model: https://github.com/WandererFan/FreeCAD- ... aw-bug.zip

@WandererFan said:
The DXF exporter only supports "Aligned Dimensions" at this time. The Dimension in your picture is aligned with a line between the 2 endpoints.
But I didn't understand the reason. Is it a misuse or a bug?
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Dimension drawings are exported into DXF wrongly

Post by wandererfan »

ceremcem wrote: Wed Sep 19, 2018 1:13 pm But I didn't understand the reason. Is it a misuse or a bug?
Neither. DXF spec allows for many different types of Linear dimension (X-distance, Y-distance, Aligned with distance line, ...). They all have somewhat different specs. We treat everything as an Aligned dimension since that looks right most of the time. You have found one of the situations where a horizontal distance dimension would look better.

You can add a Feature Request, but it might take a while to get to it.
User avatar
ceremcem
Posts: 226
Joined: Sun Jan 07, 2018 11:10 am

Re: Dimension drawings are exported into DXF wrongly

Post by ceremcem »

wandererfan wrote: Wed Sep 19, 2018 1:48 pm
You can add a Feature Request, but it might take a while to get to it.
Thanks for the explanation. I opened a ticket for this: issue #3604
Post Reply