DXF Import DImension scale

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

DXF Import DImension scale

blindmessenger
Hello,

I have a dimensioned dxf from a customer. When I open it with our current CAD program, the customer's dimensions are correctly imported. But now the parts in the customer's dxf are scaled 2:1 in one view. Unfortunately, librecad shows double the value for this customer dimension in the view. That shouldn't really be the case. Does anyone have any ideas about this? Is there an import setting for this?
Customer dimensions should always have the value they write in even if the view is scaled...

The customers value should be 21,5.



wrong_dimension.DXF
Reply | Threaded
Open this post in threaded view
|

Re: DXF Import DImension scale

dellus
This post was updated on .
When I open the file in a different cad application indeed 21,5 is shown in the dimension. But if I draw a new dimension to the same points it is 43, as this is the true size in the drawing.
It seems the drawing itself has been scaled, which is not the standard way, and the reading of the dimension has been manipulated in a way LibreCAD does not understand. An incompatibility in dxf reading.

In Options - Current Drawing Preferences - Dimensions - Length Factor you can manipulate the reading. But this applies to all dimensions in a drawing!

LibreCAD does not support use of various scales in one drawing. This may be the origin of the issue.
So a possible solution is to scale down the 2:1 parts of the drawing to 1:1, by factor 0.5.
Reply | Threaded
Open this post in threaded view
|

Re: DXF Import DImension scale

blindmessenger
We often have these dxfs at work. I think they are technical derivations from 3D CAD and if they don't fit on the sheet they are scaled. In other words, 10-20% of our customer dxfs are in the wrong scale. That's not so bad at first, because the customers dimension using the "target value". Just like in this example. The part is scaled 2:1, but I know that it is 21.5 because the customer wrote it on it, i.e. the customer's CAD.
But if Librecad imports the dxf and does not take the dimensioning "text" as it is but "measures" the true value, we as suppliers do not know what the customer means.
It would therefore be important, essential, so to speak, that the dxfs that are imported retain the existing customer dimensions as "text".
Is there any way to do this?
Reply | Threaded
Open this post in threaded view
|

Re: DXF Import DImension scale

Arthur Emmanuel
In reply to this post by blindmessenger
LibreCAD does not recognize two dimension scales for the same file at the same time.
Reply | Threaded
Open this post in threaded view
|

Re: DXF Import DImension scale

blindmessenger
This post was updated on .
 Maybe we can teach him to import the customer measurements as text. We can then do that for all measurements. The main thing is that he doesn't measure himself.

The right Thing would be to let librecad don't measure anything when importing dxf

A tick box with "dimension as text" in the import options would be good.
Reply | Threaded
Open this post in threaded view
|

Re: DXF Import DImension scale

LordOfBikes
Administrator
The DXF (ACAD 2010 / R24) tells LibreCAD to label the dimension with the measured value. There is no 21.5 text for this dimension which LibreCAD can show.
But in extended data for this dimension is the factor 0.5, and this factor is not recognized by LibreCAD yet.
The latest stable DXF version in LibreCAD is 2007 / R21. But I can't say or test if this per dimension factor was already allowed in 2007.

So it may be a solution to request drawings in DXF 2007 format or even older.

A quick search doesn't show me, when this DXF feature was added nor have I found a reference for the extended data so far.

So I can identify the factor in extended data, reading the DXF file myself, when I know there is a factor.
But there is no reference yet, which is needed to implement this stable into LibreCAD, to detect this information reliable.
Even when DXF references are public available, they are not complete, full of vague definitions and there is much room for interpretation.

It honors LibreCAD, that it is compared with ACAD all the time, but it was never the intention to become a competitor or reach its functionality. Not to mention the fact, that it is hard to compete with a group of spare time enthusiast against a horde of full time programmers.

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution