Booleans are completely breaking on my object #95823

Open
opened 2022-02-17 00:21:34 +01:00 by Caden Mitchell · 7 comments

System Information
Operating system: macOS Monterey (ARM64)
Graphics card: Apple Silicon M1

Blender Version
Broken: 3.2.0 Alpha & others
Worked: 2.83.X? (reported in comment)

Short description of error
Booleans can often be very touchy and may require positioning them just right for them to do operations properly. It seems that it really depends on where the vertices line up. I've been cutting window slots out of ridged galvanized steel plates using boolean cubes and it's worked for every other object. However, this one particular piece in my scene has been causing endless trouble for me despite being the exact same procedure. Seems as though I need to put my boolean objects in the EXACT RIGHT place for them to work right. I found that adding a ludicrous number of subdivisions w/ the subsurface modifier can somewhat help, but it greatly depends on whether or not I position my cubes in the right spot. It is preventing me from placing my windows where they need to go on my scale accurate historic building recreation. I don't know why this object is being so temperamental but it is blocking me from making any progress on this side of the building and I'm afraid I'll keep running into the problem later on.

I may post additional demo files that showcase more boolean issues as I frequently run into problems of faces not being filled properly, crappy vertex extrusions, objects being weirdly combined instead of differenced, and many more annoyances. I hope booleans can get a lot more love from the developers so that they work as intended.

Screen Shot 2022-02-16 at 4.21.02 PM.png

Exact steps for others to reproduce the error
I'm not entirely sure how to reproduce an issue like this. It mostly plagues more detailed models but can happen anywhere and depends on object positions, alignment, topology, and so on. Attached is a problematic file.

Attached file information
F12870489 There are several issues present. For one thing, the boolean modifier is struggling to cut a simple rectangle out of a plane. It is adding geometry to certain parts, cutting out geometry that shouldn't be cut out, and is not accurate at all. I've noticed that using the "fast" option usually yields better results than using the "exact" option. However, in the case of this object, it actually breaks it EVEN MORE! Try selecting the "cutoutGalvanizedSteel" (planar object) and setting the booleans to "fast" to see a new problem emerge. Adding a solidify modifier to the very top of the stack will fix the issue. However, booleans should work on planes, too.

F12871474 Many different problems. Boolean objects are displayed as wireframes. If you see a boolean as having geometry, it's because it is being added by the Boolean modifier. The boolean modifier likes to add the boolean's geometry to the source mesh sometimes, even when it is set to difference or intersection. In issue 2, there is a mesh problem in the boolean. If you enter edit mode, you can see that the problematic vertices are selected. They crash the boolean operation altogether. Merging these vertices will solve the issue, but for more complex boolean objects, this may not always be an option.

brokenBooleans.blend.zip
BorkedBooleans.blend.zip

**System Information** Operating system: macOS Monterey (ARM64) Graphics card: Apple Silicon `M1` **Blender Version** Broken: 3.2.0 Alpha & others Worked: *2.83.X*? (reported in comment) **Short description of error** Booleans can often be very touchy and may require positioning them just right for them to do operations properly. It seems that it really depends on where the vertices line up. I've been cutting window slots out of ridged galvanized steel plates using boolean cubes and it's worked for every other object. However, this one particular piece in my scene has been causing endless trouble for me despite being the exact same procedure. Seems as though I need to put my boolean objects in the EXACT RIGHT place for them to work right. I found that adding a ludicrous number of subdivisions w/ the subsurface modifier can somewhat help, but it greatly depends on whether or not I position my cubes in the right spot. It is preventing me from placing my windows where they need to go on my scale accurate historic building recreation. I don't know why this object is being so temperamental but it is blocking me from making any progress on this side of the building and I'm afraid I'll keep running into the problem later on. I may post additional demo files that showcase more boolean issues as I frequently run into problems of faces not being filled properly, crappy vertex extrusions, objects being weirdly combined instead of differenced, and many more annoyances. I hope booleans can get a lot more love from the developers so that they work as intended. ![Screen Shot 2022-02-16 at 4.21.02 PM.png](https://archive.blender.org/developer/F12870499/Screen_Shot_2022-02-16_at_4.21.02_PM.png) **Exact steps for others to reproduce the error** I'm not entirely sure how to reproduce an issue like this. It mostly plagues more detailed models but can happen anywhere and depends on object positions, alignment, topology, and so on. Attached is a problematic file. **Attached file information** [F12870489](https://archive.blender.org/developer/F12870489/brokenBooleans.blend.zip) There are several issues present. For one thing, the boolean modifier is struggling to cut a simple rectangle out of a plane. It is adding geometry to certain parts, cutting out geometry that shouldn't be cut out, and is not accurate at all. I've noticed that using the "fast" option usually yields better results than using the "exact" option. However, in the case of this object, it actually breaks it EVEN MORE! Try selecting the "cutoutGalvanizedSteel" (planar object) and setting the booleans to "fast" to see a new problem emerge. Adding a solidify modifier to the very top of the stack will fix the issue. However, booleans should work on planes, too. [F12871474](https://archive.blender.org/developer/F12871474/BorkedBooleans.blend.zip) Many different problems. Boolean objects are displayed as wireframes. If you see a boolean as having geometry, it's because it is being added by the Boolean modifier. The boolean modifier likes to add the boolean's geometry to the source mesh sometimes, even when it is set to difference or intersection. In issue 2, there is a mesh problem in the boolean. If you enter edit mode, you can see that the problematic vertices are selected. They crash the boolean operation altogether. Merging these vertices will solve the issue, but for more complex boolean objects, this may not always be an option. [brokenBooleans.blend.zip](https://archive.blender.org/developer/F12870489/brokenBooleans.blend.zip) [BorkedBooleans.blend.zip](https://archive.blender.org/developer/F12871474/BorkedBooleans.blend.zip)
Author

Added subscriber: @Caden-Mitchell

Added subscriber: @Caden-Mitchell
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

Thanks for the report. Works weill if self-intersection enabled.
Also behaves correctly on version 2.83.17.
I don't have code insights of boolean modifier so will leave this for developers to answer

Thanks for the report. Works weill if self-intersection enabled. Also behaves correctly on version 2.83.17. I don't have code insights of boolean modifier so will leave this for developers to answer
Author

In #95823#1309011, @PratikPB2123 wrote:
Thanks for the report. Works weill if self-intersection enabled.
Also behaves correctly on version 2.83.17.
I don't have code insights of boolean modifier so will leave this for developers to answer

When I enable self intersection on the boolean modifiers, I get even worse results:
Screen Shot 2022-02-17 at 10.02.26 AM.png
The windows should be cut out but, it's weirdly adding the boolean cube objects to the geometry in places and removing in others.

> In #95823#1309011, @PratikPB2123 wrote: > Thanks for the report. Works weill if self-intersection enabled. > Also behaves correctly on version 2.83.17. > I don't have code insights of boolean modifier so will leave this for developers to answer When I enable self intersection on the boolean modifiers, I get even worse results: ![Screen Shot 2022-02-17 at 10.02.26 AM.png](https://archive.blender.org/developer/F12871445/Screen_Shot_2022-02-17_at_10.02.26_AM.png) The windows should be cut out but, it's weirdly adding the boolean cube objects to the geometry in places and removing in others.
Author

Here's another example file with simpler geometry and more instances of issues. Everything is annotated in the file. Seems like mesh issues, topology, object positions, solid/planar, and so on can really affect the accuracy of the operations.
Screen Shot 2022-02-17 at 10.31.55 AM.png
The booleans are all displayed as wireframes so you can easily see the boolean problems. To turn off wireframes for these objects, select them and change Object > Viewport Display > Display As to "textured".
BorkedBooleans.blend.zip

Here's another example file with simpler geometry and more instances of issues. Everything is annotated in the file. Seems like mesh issues, topology, object positions, solid/planar, and so on can really affect the accuracy of the operations. ![Screen Shot 2022-02-17 at 10.31.55 AM.png](https://archive.blender.org/developer/F12871475/Screen_Shot_2022-02-17_at_10.31.55_AM.png) The booleans are all displayed as wireframes so you can easily see the boolean problems. To turn off wireframes for these objects, select them and change `Object > Viewport Display > Display As` to "textured". [BorkedBooleans.blend.zip](https://archive.blender.org/developer/F12871474/BorkedBooleans.blend.zip)
Contributor

Added subscriber: @RedMser

Added subscriber: @RedMser
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:27:59 +01:00
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#95823
No description provided.