3D Print Toolbox fails to calculate correct Area for object with mesh - triangulation error #87930
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#87930
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: win10
Graphics card: rtx2080ti
Blender Version
Broken:
2.79b release, example: 2.83.5, blender3.0
Worked: None
Short description of error
I remember this bug since 2.7x, but I also met it in 3.0:
If object mesh data has some edges dissolved and non-flat topology,
using Area Statistics from 3d-Print-Toolbox addon Analyze panel
shows different result for base and triangulated with modifier object.
In mesh_helpers.py at line 27 bmesh_copy_from_object function have triangulate=True by default and at line 56 bmesh should be triangulated.
So I can't figure out why bmesh ain't triangulated and area incorrect as result.
Exact steps for others to reproduce the error
Based on the attached .blend file (as simple as possible):
With 3D Print Toolbox calculate areas for both base and triangulated objects.
3d-Print-Toolbox AMI.blend
Added subscriber: @RUben
Added subscriber: @Sergey
Removed subscriber: @Sergey
Added subscriber: @OmarEmaraDev
Changed status from 'Needs Triage' to: 'Confirmed'
I can replicate that. And I hit an assert during triangulation, so this could be related.
The script is missing the
bm.transform(obj.matrix_world)
step, which is why it doesn't hit the assert and might be different.Added subscriber: @lichtwerk
Note: flipping normals makes a difference, too (should not be the case I think)
Changing the
quad_method
orngon_method
doesnt seem to make a difference https://docs.blender.org/api/3.2/bmesh.ops.html#bmesh.ops.triangulateClosing since 3D Print Toolbox was removed from Blender, if issue is still present report it in add-on repo issue tracker: https://projects.blender.org/extensions/print3d_toolbox/issues