Geometry Nodes: Mesh Boolean-Union node anamoly when boolean does not alter input mesh #107969
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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#107969
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?
Blender Version
Broken: Current main.
Worked: Never.
Short description of error
I was trying to see if the simulation node group would get rid of internal geometry by incrementally using the Mesh Boolean-Union node in the Simulation node group but it seems to delete some outer geometry instead.
Without Simulation Nodes:
With Simulation Nodes:
The reason I'm trying to use the boolean mesh-union node within the simulation node group is because on some large meshes the boolean mesh-union node will fail or crash blender.
#105652 (comment)
My logic is if you have to finish an entire pie in one sitting (think of a pie eating contest) it's easier to cut them up into little pieces and eat them one at a time. So I'm incrementally running the boolean mesh-union node on smaller pieces in the simulation node group to get rid of internal geometry therefore it's less likely to crash / fail like it does trying to do this all at once on larger meshes.
Exact steps for others to reproduce the error
See attached blend file: cube repeat.blend
Can confirm the behaviour.
What I found out is if you set the X translation increment to >0.9 mm, then it works. This looks to me like it's that the boolean node outputs an unmodified mesh when the mesh isn't altered, because if you set the x too small, initially there are cubes that are fully enclosed inside the geometry, and once that happens, subsequent steps would all fail, and if each boolean step has some modification to the original mesh, it will work normally.
@HooglyBoogly @JacquesLucke may want to check this out.
Mesh Boolean-Union node is deleting geometry when used within the Simulation node group.to Mesh Boolean-Union node anamoly inside simulation block when boolean does not alter input mesh.Mesh Boolean-Union node anamoly inside simulation block when boolean does not alter input mesh.to Geometry Nodes: Mesh Boolean-Union node anamoly inside simulation block when boolean does not alter input mesh.Geometry Nodes: Mesh Boolean-Union node anamoly inside simulation block when boolean does not alter input mesh.to Geometry Nodes: Mesh Boolean-Union node anamoly when boolean does not alter input meshProblem is not related with simulations.
If your mesh has self intersections (as these do, after joining), you need to tick the "self intersection" box on the Boolean node.
Alternatively, you could just replace the "Join Geometry" node in the first example with a "Boolean union" node with two arguments. In you more complicated example with simulation nodes, you would need a new Boolean union everywhere you want to join two cube-like things that overlap (if you don't want to use the self-intersection flag; but I don't know why you'd want to avoid that).
I am assuming that in your complicated "doesn't work" case, the input to the boolean is still a mesh that is only a collection of intersecting stretched cubes or other mesh primitives that have a watertight outer shell with no internal geometry.
I have tried your suggestion and the issue still occurs
#107969 (comment)
What I have found out is if there's any one step that doesn't alter the mesh (like when object being booleaned is completely inside the other one), subsequent booleans will all fail, to me it looks like that the "result" being returned from that boolean node is wrong and leading to later nodes operating on a different mesh.