DXF Export - suggested fix for exporting layers and color information as intended. #105302
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#105302
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: Quadro P2000/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 536.45
Blender Version
Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash:
40a5e739e270
Worked: (newest version of Blender that worked as expected)
Addon Information
Name: Export Autocad DXF Format (.dxf) (2, 2, 3)
Author: Remigiusz Fiedler (AKA migius), Vaclav Klecanda
Short description of error
Options at export include: "Entity Layer = Object name" & "Entity Color = Object material" - however neither of these options currently work.
Exact steps for others to reproduce the error
Load or create any mesh with a material slot active. Enable DXF Export addon and then Export>DXF. In export window, choose settings as noted above (other settings make no impact).
The exported DXF will only include 1 layer ("PYDXF"), and the objects will not have a DXF color code (code 62).
Tweaks to 3 py modules needed to 'activate' this functionality as it is intended: export_dxf.py, migiusModel.py, mesh_exporter.py.
I can share the amended scripts, but potentially not best practice. Necessary edits are fairly small. I have this functionality working on my own version now.
@tabmow Actually if you are able to share your code as a pull request, or just a patch/diff, we would be very happy to integrate the fix :D
@ChengduLittleA I will try one evening this week. Thanks