Bmesh booleans fail on simple cube array #50165
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
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#50165
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?
This Bmesh based boolean setup brings wrong results compared to Carve. It's a typical use case from a visualization project.
array.blend
Tested with the official Blender release on Windows 7 64
Some background:
I'm doing architectural visualizations so I often use boolean operations to create flexible and changeable setups of facades in case architects change their minds about a design during the project. When using booleans on a regular basis on complex stuff like me then it is inevitable to recognize that the Bmesh booleans are still inferior to those of Carve. Since I assume that Carve is a library you would like to drop at some point in the future, I would like to express my concerns that this must not happen until Bmesh booleans are at least as reliable as Carve is. This should really be a condition from my point of view as a user, some people have to work with it after all.
Anyways, I have great respect for your work and I'm willing to provide more bug reports on the matter until this target is reached. Consider this only being the first one.
Changed status to: 'Open'
Added subscriber: @KaiKostack-3
Added subscriber: @Ko
Do not hope for a quick solution to this problem. Developer of modelling tools and bmesh has withdrew from active blender development. It could take years before bmesh boolean mode will be corrected by someone else
Then I suggest to change the default method back to Carve until someone will take care of the Bmesh method. In the current state and without active development this is an experimental feature at best.
Added subscriber: @VukGardasevic
BMesh Boolean currently has it's own limitations and failure cases.
To check some of them you can look at the task #47030 that tracked related issues.
Added subscriber: @MarcClintDion
Using 'Carve' fixes the issue. Head over to the Modifier stack and use the Drop-down menu for the Boolean Modifier to change the solver from BMesh to Carve.
Using Carve actually doesn't fix the issue in Bmesh but thanks anyway. ;)
Added subscriber: @Prototype-1
Here's what I've found:
bm_face_split_edgenet_find_connection( ) creates edges that are parallel to other edges. This causes face creation to fail when it sorts the edges by angle.
bm_face_split_edgenet_find_loop_pair( ) fails when multiple boundaries and wires are connected as it gives priority to wires, in some cases it selects edges that cannot form a face.
Additionally I get a failed assert on line 560, the stack 'vert_queue' is overflowing, I'm not sure what the reasoning behind it's declared size is so I didn't change it.
This works for the given case:
P434: Possible fix for #50165
Added subscriber: @ian_bruce
For a much simpler testcase, apparently demonstrating a similar problem -- non-solid objects resulting from boolean intersect with BMesh -- see #51236 . Again, "Carve" produces the correct result, "BMesh" doesn't.
Added subscriber: @ideasman42
Changed status from 'Open' to: 'Resolved'
@Prototype-1 - thanks for looking into a fix, however this now works in 2.79.
Although the changes in your patch may still be an improvement on the existing logic.
I've uploaded an updated version of your patch at D2844
I'd be interested to find if this fixed any cases that are broken in master.
Note the
'vert_queue' is overflowing
bug you ran into has been fixed too1247f609d4