-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DXF Importer (C++) wrongly scales polyline bulges #13600
Comments
The bulge of LWPoly segments is wrongly scaled. This should not happen as FreeCAD/src/Mod/Import/App/dxf/dxf.cpp Line 2165 in eb3e83b
FreeCAD/src/Mod/Import/App/dxf/dxf.cpp Line 2211 in eb3e83b
Try the legacy DXF importer |
Thank you. I understand the
I did, and it works for this case, but it comes with its own set of alternate bugs when I run it over the original, bigger file that contains this sample segment to reproduce the bug. I've been filing a few of them, but it might take me a while and I'm not sure if it's worth it for the legacy importer (e.g. is it going to be phased out at some point?). For now, I've been using the |
Is there an existing issue for this?
Problem description
I'm importing a DXF file that I would like to scale from mm to m. To keep things simple, I've deleted everything from it except from the problematic area => arch_radius_bug.zip
If I try to import the file with these settings, it imports well:
FreeCAD document after import:
arch_radius_bug_1.zip
But as soon as I set the scale to 1000 in the import settings, the radiuses of the two arches are unproportionately scaled:
Zooming in:
Zooming out:
FreeCAD document after import:
arch_radius_bug_1000.zip
Full version info
Subproject(s) affected?
File formats
Anything else?
As a workaround, I would simply use the Draft_Scale command, but when I do, I'm presented with this error that prevents the scaling operation:
If I check the
Clone
option as suggested, scaling works, but the whole drawing is then one entity that I cannot easily manipulate (e.g. hide the individual items in layers).As mentioned, this sample file is just a small part of the original file, where other radiuses are also unproportionately scaled. Too many to correct them all manually.
I can also trigger this bug by changing the DXF's unit from
mm
tom
and then I simply import the file without scaling (e.g. Scale = 1 in the import settings).Code of Conduct
The text was updated successfully, but these errors were encountered: