dxf import with dupliface rotates blocks 90° and create non-existing geometry. #49915
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#49915
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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
All
Blender Version
Broken: 2.78a
Short description of error
When importing surfaces with pure white, they won't import at all. If they are blocks and imported as dupliface, they will be rotated 90° for some reason and create geometry that is not in the original DXF and should not be there (Despite the dupliface geometry which of course has to be created)
Exact steps for others to reproduce the error
Import this DXF: test layern ebenen.dxf
One rectangle is missing at the bottom right (only difference with the other rectangles is that its color is pure white. But it is filled and should be displayed.
If you import with this options:
You will get wrong rotation of 90° of the blocks:
If you import as linked instances, the rotation is correct and no random geometry is created.
Changed status to: 'Open'
Added subscriber: @matali23
Added subscriber: @cnd
Added subscriber: @bliblubli
I can confirm the bug and it's pretty annoying. Looking back at old projects, I did some serious mistakes because of this 90° rotation only happening on blocks. Would be great to have the fix backported to 2.78.
@cnd the missing rectangle bug is gone with latest commit, thanks.
The wrong 90° rotation is still there with duplifaces. The extra rectangles (which are not dupliface geometry nor geometry from the DXF) are also still there.
dxf import fails for white surfaces and rotates blocks 90°to dxf import with dupliface rotates blocks 90° and create non-existing geometry.edited task name to reflect changes in behavior.
This comment was removed by @cnd
@cnd it only happens with dupliface, using those options:
Just tested with 2.78c and new addon version, still the same problem with dupliface (options used above)
If in do.py you move line 1423 after 1426 it helps with the rotation, but I have no clue at the moment how that affects other dxf files.
hi @cnd
just tested your rotation fix and I can confirm it works on my dxf files. Great :) Will test further this WE to see if some other files from other CAD software are now wrongly rotated, but it looks good.
@cnd Thanks for the fix, it works. I tested on several files and the rotation was right. I don't see why it would be right on some files and wrong on other, but only time will say if it works in all cases I guess.
Added subscriber: @BrendonMurphy
Changed status from 'Open' to: 'Resolved'
this seems to have been resolved