DXF Import: ellipses get deformed when importing with custom unit scale #105048

Open
opened 2023-12-07 22:08:50 +01:00 by slowburn · 0 comments

System Information
Operating system: Windows-11 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 545.92

Blender Version
Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: 9be62e85b727
Worked: never

Addon Information
Name: Import AutoCAD DXF Format (.dxf) (0, 9, 8)
Author: Lukas Treyer, Manfred Moitzi (support dxfgrabber library), Vladimir Elistratov, Bastien Montagne, Remigiusz Fiedler (AKA migius)

Short description of error
Ellipses get deformed if a .dxf file is imported with a custom Unit Scale setting under Geo Referencing.

This is how the shapes should look like
ellipses_autocad.png

And this is how they look after importing to Blender with 0.1 scale. Ellipses get stretched on one axis.
ellipses_blender.png

Exact steps for others to reproduce the error

  • In Blender go to File>Import>AutoCAD DXF
  • Select ellipses_example.dxf file
  • Under Geo Referencing set Unit Scale to something other than 1
  • Import
**System Information** Operating system: Windows-11 64 Bits Graphics card: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 545.92 **Blender Version** Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: `9be62e85b727` Worked: never **Addon Information** Name: Import AutoCAD DXF Format (.dxf) (0, 9, 8) Author: Lukas Treyer, Manfred Moitzi (support dxfgrabber library), Vladimir Elistratov, Bastien Montagne, Remigiusz Fiedler (AKA migius) **Short description of error** Ellipses get deformed if a .dxf file is imported with a custom `Unit Scale` setting under Geo Referencing. This is how the shapes should look like ![ellipses_autocad.png](/attachments/f9cc9c33-0f1b-4492-b09b-c6946176ad8c) And this is how they look after importing to Blender with 0.1 scale. Ellipses get stretched on one axis. ![ellipses_blender.png](/attachments/5490264d-2130-49a5-b235-6bdf7ccdc24e) **Exact steps for others to reproduce the error** - In Blender go to File>Import>AutoCAD DXF - Select ellipses_example.dxf file - Under Geo Referencing set Unit Scale to something other than 1 - Import
slowburn added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-12-07 22:08:50 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#105048
No description provided.