Boolean operator creates non-manifold meshes when the input meshes contain some vertices with the same coordinates. #53784

Closed
opened 2018-01-15 00:21:48 +01:00 by Peter Houlihan · 11 comments

System Information
Windows 10, n/a

Blender Version
Broken: 2.79

Short description of error
When two meshes are joined with a union boolean modifier and both meshes share at least one vertex with the same coordinates, the resulting mesh will contain non-manifold vertices. Some of these can be repaired by removing doubles, some can't.

Exact steps for others to reproduce the error
Open the mesh where the boolean modifier has been applied in edit mode, then select non-manifold, several vertices will be selected. Then select all and remove doubles. Some vertices will be removed (I think 6), but non-manifold geometry remains.

However, if the two meshes are moved apart slightly before applying the boolean modifier (this can be done with the middle mesh, where the modifier is still unapplied) so that no vertices share the same coordinates, the problem disappears. There are no double vertices and no non-manifold geometry.

.blend upload:
boolean_bug.blend

**System Information** Windows 10, n/a **Blender Version** Broken: 2.79 **Short description of error** When two meshes are joined with a union boolean modifier and both meshes share at least one vertex with the same coordinates, the resulting mesh will contain non-manifold vertices. Some of these can be repaired by removing doubles, some can't. **Exact steps for others to reproduce the error** Open the mesh where the boolean modifier has been applied in edit mode, then select non-manifold, several vertices will be selected. Then select all and remove doubles. Some vertices will be removed (I think 6), but non-manifold geometry remains. However, if the two meshes are moved apart slightly before applying the boolean modifier (this can be done with the middle mesh, where the modifier is still unapplied) so that no vertices share the same coordinates, the problem disappears. There are no double vertices and no non-manifold geometry. .blend upload: [boolean_bug.blend](https://archive.blender.org/developer/F1845856/boolean_bug.blend)
Author

Added subscriber: @Peter_Rabbit

Added subscriber: @Peter_Rabbit

Added subscriber: @zeauro

Added subscriber: @zeauro

Boolean modifier is described into manual as a geometry modifier with known limitations.
https://docs.blender.org/manual/en/dev/modeling/modifiers/generate/booleans.html#known-limitations

Mentionned issue seems to correspond to the point Overlapping Geometry.

Known limitations are not considered as bugs to report. Bugtracker is focusing on supported features that does not work as expected.

I marked this report as incomplete to let you the opportunity to attach a .blend and develop explanations if you still think this report is valid.

Boolean modifier is described into manual as a geometry modifier with known limitations. https://docs.blender.org/manual/en/dev/modeling/modifiers/generate/booleans.html#known-limitations Mentionned issue seems to correspond to the point Overlapping Geometry. Known limitations are not considered as bugs to report. Bugtracker is focusing on supported features that does not work as expected. I marked this report as incomplete to let you the opportunity to attach a .blend and develop explanations if you still think this report is valid.
Author

I thought overlapping geometry meant within the same mesh, rather than between the two meshes (surely they have to overlap to boolean at all?) but if that's what it means and developers are aware of it then I'm fine with it being marked incomplete.

I thought I had uploaded the .blend, but apparently it didn't work. I've reuploaded it now. It contains two meshes in three stages (separate, boolean created, boolean applied) and clearly labels all three. If it would be useful you can take a look, it might illustrate the problem more clearly.

I thought overlapping geometry meant within the same mesh, rather than between the two meshes (surely they have to overlap to boolean at all?) but if that's what it means and developers are aware of it then I'm fine with it being marked incomplete. I thought I had uploaded the .blend, but apparently it didn't work. I've reuploaded it now. It contains two meshes in three stages (separate, boolean created, boolean applied) and clearly labels all three. If it would be useful you can take a look, it might illustrate the problem more clearly.

It looks like Carve Boolean handles this case pretty well.

You can switch Solver of Boolean modifier to Carve.
Bmesh solver is in development. It does not seem to be able to produce appropriate N-gons as Carve solver does.

I let choïce to close or archive report to developer in charge of Bmesh solver.

It looks like Carve Boolean handles this case pretty well. You can switch Solver of Boolean modifier to Carve. Bmesh solver is in development. It does not seem to be able to produce appropriate N-gons as Carve solver does. I let choïce to close or archive report to developer in charge of Bmesh solver.
Author

Sorry, yes, you're correct, in the file I provided the carve solver does indeed work. It doesn't work consistantly however, I was able to produce this error using bmesh, carve and the intersect modifier.

Sorry, yes, you're correct, in the file I provided the carve solver does indeed work. It doesn't work consistantly however, I was able to produce this error using bmesh, carve and the intersect modifier.

Added subscriber: @CareAgain

Added subscriber: @CareAgain

Added subscriber: @iss

Added subscriber: @iss

This is indeed working as expected and documented.

Though there is room for improvement so I will keep this report open.

This is indeed working as expected and documented. Though there is room for improvement so I will keep this report open.
Howard Trickey self-assigned this 2020-09-04 16:15:36 +02:00
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Member

The Exact solver of new booleans produces a good result, so closing this now.

The Exact solver of new booleans produces a good result, so closing this now.
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
5 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#53784
No description provided.