DXF Importer getting Zero Division error #104531

Closed
opened 2023-04-06 15:20:42 +02:00 by Tony Grzesik · 2 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 517.70

Blender Version
Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: rBb292cfe5a936
Worked: (newest version of Blender that worked as expected)

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

Short description of error
Importing a valid .dxf file fails. Getting Zero Division error.

Exact steps for others to reproduce the error
Create simple geometry, such as 2D floorplan walls, in AutoCAD, then save as DXF. Import the DXF into Blender using addon. Results in ZeroDivisionError: float division by zero.
DXF file added below to reproduce the error. The error occurs in v3.5 and v3.3.1 of Blender.

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 517.70 **Blender Version** Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: `rBb292cfe5a936` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Import AutoCAD DXF Format (.dxf) (0, 9, 6) Author: Lukas Treyer, Manfred Moitzi (support dxfgrabber library), Vladimir Elistratov, Bastien Montagne, Remigiusz Fiedler (AKA migius) **Short description of error** Importing a valid .dxf file fails. Getting Zero Division error. **Exact steps for others to reproduce the error** Create simple geometry, such as 2D floorplan walls, in AutoCAD, then save as DXF. Import the DXF into Blender using addon. Results in ZeroDivisionError: float division by zero. DXF file added below to reproduce the error. The error occurs in v3.5 and v3.3.1 of Blender.
Tony Grzesik added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-04-06 15:20:43 +02:00
Germano Cavalcante changed title from Import AutoCAD DXF Format to DXF Importer getting Zero Division error 2023-04-06 18:10:33 +02:00

I can confirm the problem using the attached file.

I can confirm the problem using the attached file.
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-04-18 20:12:17 +02:00
Author

Hi, how would I know which future update will include the issue fix? Is there a way to track a confirmed issue to the release that includes the fix? Thank you.

Hi, how would I know which future update will include the issue fix? Is there a way to track a confirmed issue to the release that includes the fix? Thank you.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#104531
No description provided.