copying objects from another drawing (converted dwg file)

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

copying objects from another drawing (converted dwg file)

tetukowski
Hi all,

From a drawing (DXF format that was converted from DWG) I need to copy some objects to another drawing in LibreCAD.
I follow the method described here.
It works, but the pasted object become larger (very large).
I check the dimension on the source DXF file is OK.
I also check, there is no problem if I do the same method (copying) from another libreCAD drawing.

Did I miss something? Or is it because from previously converted file (thus, no solution?)?
Thanks for the help.

Version: 2.1.2
Compiler: GNU GCC 6.2.0
Compiled on: Sep 17 2016
Qt Version: 5.9.5
Boost Version: 1.62.0
System: Ubuntu 18.04.5 LTS

Reply | Threaded
Open this post in threaded view
|

Re: copying objects from another drawing (converted dwg file)

LordOfBikes
Administrator
Hi tetukowski,

just a guess, this may be caused by different units in Current Drawing Preferences or possibly general units in Application Preferences.
E.g. if the source is on mm and the destination on inch or vice versa?

As already said, just a guess and I would not exclude, that this is possibly a bug.

Can you check this and report results please?
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: copying objects from another drawing (converted dwg file)

tetukowski
Hi @LordOfBikes,

You are right! The source is in inch while the destination is in mm.
After I changed the unit in Current Drawing Preference, the copied objects is in correct dimension.

I just want to make clear for other reader, and you asked for report.
So this is the "before" condition:
Current Drawing Preferences --> Main Drawing Units --> inch
Application Preferences --> tab Defaults --> Unit: mm


"After" :
Current Drawing Preferences --> Main Drawing Units --> mm
Application Preferences --> tab Defaults --> Unit: mm


Thank you for your help.
So this is not a bug.

There's another confusion actually,
in the source file, with the "before" condition
So when I measure using Info --> Distance point to point:
it shows correct dimension in mm.

Then I changed both units to inch.
Using Info --> distance point to point,
it shows correct dimension in mm.
I thought I should see the correct dimension in inch.

Thanks again!
 
Reply | Threaded
Open this post in threaded view
|

Re: copying objects from another drawing (converted dwg file)

LordOfBikes
Administrator
No problem, you're welcome.
Many thanks @tetukowski for sharing this.

One or two may say this is a bug, but anyhow, there is room for improvement in sense of handling metric and imperial units and their conversion between drawings.

Concerning the Info tool Distance Point to Point, the output doesn't show a unit.
It is meant to measure nameless drawing units and it is dedicated to the draftsman to interpret them and set preferences correct.
Changing Current Drawing Preferences does not perform any conversion to the drawing.
So one unit will be one unit before and after, but it will be interpreted differently.

Doing automatic conversion could be good or wrong, it will have proponents and opponents.
I can imagine a warning message, when application and drawing preferences don't match and possibly offer a conversion on opening or pasting.
At least a warning could point to the discrepancy and avoid confusion when things don't match.
This may also be an issue using blocks and libraries from different sources.

When you say, the source drawing was set to Inch and you measure correct length in mm, I assume something is fishy with that drawing.
At least, you are aware about the cause now and can fix it with Modify -> Scale tool if needed.
investing less than half an hour into Search function can save hours or days of waiting for a solution