VoronDesign / Voron-Trident

Voron Trident CoreXY 3D Printer design
609 stars 182 forks source link

Panel DXFs seem to have a units issue. #20

Closed BerzerkaDurk closed 2 years ago

BerzerkaDurk commented 3 years ago

When I open the any of the files in Drawings_DXFs/Panels, they load with the units seemingly scaled incorrectly by a factor of 25.4:1.

For example, the Trident 350 back panel opens with a width of 12,166.6 mm. If I then change the units to inches, I get the correct mm values, but with the wrong units. For example, the above becomes 479 inches.

This happens in both SolidWorks and eDrawings Pro. The 2.4 DXFs open just fine.

silence48 commented 2 years ago

You need to change the units to millimeters when you import the file. There is 25.4 mm in 1 inch. Your software is thinking 1 mm is 1 inch, thus it is scaled 25.4:1

BerzerkaDurk commented 2 years ago

As I said, I did that. It opens in millimeters, because it is saved in millimeters. I'm very well aware that there are 25.4 millimeters in an inch.

There could be some strange glitch when opening DXFs generated in Fusion 360 with SolidWorks. The original DXF format didn't have the $INSUNITS tag. It could be assuming it was saved in inches, and running a conversion when it opens, inadvertently scaling it up by 25.4:1.

I'll try opening it in Fusion 360 when I get home. If it opens fine, I'll assume that was the problem and close the issue.

Doesn't really explain why the V2.4 DXFs opened ok.

BerzerkaDurk commented 2 years ago

The panel DXFs open fine in Fusion 360. I'm assuming there is some odd bug when trying to import them into SolidWorks.

Accordingly, I'm going to close this issue.