Boolean Modifier doesn't detect meshes. #87706

Closed
opened 2021-04-22 12:02:39 +02:00 by Alireza · 7 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.72

Blender Version
Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-04-16 16:41, hash: b2a0f69275
Worked: (newest version of Blender that worked as expected)

Short description of error
Boolean operation in Exact Mode can't detect meshes inside a mesh.

Exact steps for others to reproduce the error
In an object containing multiple meshes, If meshes have intersection or a mesh is inside another mesh boolean modifier doesn't detect the inner meshes in Exact mode.
Also boolean doesn't create required geometry for the inner meshes in Fast mode.
Also boolean modifier Only uses first Material for New geometries.
Boolean_Mesh_Inside.blend

What I expect blender to do.png

what blender does.png

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.72 **Blender Version** Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-04-16 16:41, hash: `b2a0f69275` Worked: (newest version of Blender that worked as expected) **Short description of error** Boolean operation in Exact Mode can't detect meshes inside a mesh. **Exact steps for others to reproduce the error** In an object containing multiple meshes, If meshes have intersection or a mesh is inside another mesh boolean modifier doesn't detect the inner meshes in Exact mode. Also boolean doesn't create required geometry for the inner meshes in Fast mode. Also boolean modifier Only uses first Material for New geometries. [Boolean_Mesh_Inside.blend](https://archive.blender.org/developer/F10032327/Boolean_Mesh_Inside.blend) ![What I expect blender to do.png](https://archive.blender.org/developer/F10032326/What_I_expect_blender_to_do.png) ![what blender does.png](https://archive.blender.org/developer/F10032325/what_blender_does.png)
Author

Added subscriber: @Radical

Added subscriber: @Radical
Author
Video [Blender_Boolean.mp4](https://archive.blender.org/developer/F10032357/Blender_Boolean.mp4)

Added subscribers: @howardt, @mano-wii

Added subscribers: @howardt, @mano-wii

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

I don't think it's a bug.
The spheres inside are not inverted, so they are not technically "holes".
They become closed volumes like the larger sphere.
But it is a little strange that they disappear (I don't know what to expect in this case. @howardt must understand better).


See the operator to Flip Normals:
https://docs.blender.org/manual/en/dev/modeling/meshes/editing/mesh/normals.html#bpy-ops-mesh-flip-normals

I don't think it's a bug. The spheres inside are not inverted, so they are not technically "holes". They become closed volumes like the larger sphere. But it is a little strange that they disappear (I don't know what to expect in this case. @howardt must understand better). --- See the operator to Flip Normals: https://docs.blender.org/manual/en/dev/modeling/meshes/editing/mesh/normals.html#bpy-ops-mesh-flip-normals
Member

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Howard Trickey self-assigned this 2021-04-24 21:24:05 +02:00
Member

The Exact Boolean is operating as expected here, so there is no bug here, except that the Fast boolean is not really doing the right thing.

A Boolean operation is an operation on volumes: the result of a difference should be the volume of space that is enclosed in the main and also not enclosed in the second object. Here the first object is the big blue sphere and 4 contained smaller red spheres. The space enclosed is the same volume as if those smaller red spheres were not there. Those inner spheres are not needed to define the volume and are therefore not included in the boolean output. As Germano hinted, if you select only those inner spheres' faces and flip their normals then the enclosed space does not include the volume inside those smaller spheres, so you will get the effect you want in that case.

The materials thing is a known issue. It is tricky to create new materials on an object in a modifier. In the example file, you will get the new material on the faces from the subracted BOOL object if you go into the 'Meshes Inside Meshes' object's material panel and add Material.3 (the green material) in another slot of the materials.

The Exact Boolean is operating as expected here, so there is no bug here, except that the Fast boolean is not really doing the right thing. A Boolean operation is an operation on volumes: the result of a difference should be the volume of space that is enclosed in the main and also not enclosed in the second object. Here the first object is the big blue sphere and 4 contained smaller red spheres. The space enclosed is the same volume as if those smaller red spheres were not there. Those inner spheres are not needed to define the volume and are therefore not included in the boolean output. As Germano hinted, if you select only those inner spheres' faces and flip their normals then the enclosed space does not include the volume inside those smaller spheres, so you will get the effect you want in that case. The materials thing is a known issue. It is tricky to create new materials on an object in a modifier. In the example file, you will get the new material on the faces from the subracted BOOL object if you go into the 'Meshes Inside Meshes' object's material panel and add Material.3 (the green material) in another slot of the materials.
Sign in to join this conversation.
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
3 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#87706
No description provided.