DXF importer export ACIS entities in very long file name #78094

Open
opened 2020-06-21 11:07:28 +02:00 by cadtofu · 4 comments

System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: GeForce 310M/PCIe/SSE2 NVIDIA Corporation 3.3.0

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-10 06:10, hash: blender/blender@95200045f3
Worked: (optional)

Short description of error
When ticking the option to export ACIS, the import will try to create a file with a very long name and crash.

Exact steps for others to reproduce the error

  1. prepare a .dxf file with different ACIS (solid) objects.
  2. menu >File >Import >DXF > "Export ACIS Entities" checked on
  3. import go
  4. observer in file browser, ACIS entities saved in very long file name.

fsc_2020-06-21_164008.jpg

DXF_SAT_Primitives_test.dxf

This bug was original posted as below, but closed and unfixed/unmerged.
https:*developer.blender.org/T51476
The fix by the post is also buggy, which export at most 4 ACIS entities.

fsc_2020-06-21_164443.jpg

**System Information** Operating system: Windows-10-10.0.17763-SP0 64 Bits Graphics card: GeForce 310M/PCIe/SSE2 NVIDIA Corporation 3.3.0 **Blender Version** Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-10 06:10, hash: `blender/blender@95200045f3` Worked: (optional) **Short description of error** When ticking the option to export ACIS, the import will try to create a file with a very long name and crash. **Exact steps for others to reproduce the error** 1. prepare a .dxf file with different ACIS (solid) objects. 2. menu >File >Import >DXF > "Export ACIS Entities" checked on 3. import go 4. observer in file browser, ACIS entities saved in very long file name. ![fsc_2020-06-21_164008.jpg](https://archive.blender.org/developer/F8634847/fsc_2020-06-21_164008.jpg) [DXF_SAT_Primitives_test.dxf](https://archive.blender.org/developer/F8634846/DXF_SAT_Primitives_test.dxf) This bug was original posted as below, but closed and unfixed/unmerged. [https:*developer.blender.org/T51476 ](https:*developer.blender.org/T51476) The fix by the post is also buggy, which export at most 4 ACIS entities. ![fsc_2020-06-21_164443.jpg](https://archive.blender.org/developer/F8634873/fsc_2020-06-21_164443.jpg)
Author

Added subscriber: @cadtofu

Added subscriber: @cadtofu
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

It seems the code doesn't do what was intended indeed.

It seems the code doesn't do what was intended indeed.
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#78094
No description provided.