Dimension drawings are exported into DXF wrongly

Discussions about the development of the TechDraw workbench
User avatar
ceremcem
Posts: 206
Joined: Sun Jan 07, 2018 11:10 am

Dimension drawings are exported into DXF wrongly

Postby ceremcem » Wed Sep 19, 2018 1:13 pm

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?
wandererfan
Posts: 2899
Joined: Tue Nov 06, 2012 5:42 pm

Re: Dimension drawings are exported into DXF wrongly

Postby wandererfan » Wed Sep 19, 2018 1:48 pm

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: 206
Joined: Sun Jan 07, 2018 11:10 am

Re: Dimension drawings are exported into DXF wrongly

Postby ceremcem » Wed Sep 19, 2018 1:56 pm

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