Exact boolean diff does not work for particular case #90109

Closed
opened 2021-07-24 23:44:44 +02:00 by Liviu Grigorescu · 11 comments

System Information
Operating system: Linux-5.4.0-77-generic-x86_64-with-glibc2.27 64 Bits
Graphics card: GeForce GTX 850M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.80

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: 84da05a8b8
Worked: (newest version of Blender that worked as expected)

Short description of error
Boolean difference is not working for one particular case when using Exact solver.

Exact steps for others to reproduce the error

  • Load the attached blender file.
  • Select Obj1. You should see something like
    image.png
  • Go to modifiers and check Fast solver. Now it starts working
    image.png

I tried selecting Self and Hole tolerant options and it does not work.
I also checked with other objects (ie. cilinders, ...) and the boolean operation is correctly applied with Exact solver. It seems the issue can be reproduced only when I try to diff Obj2.

issue_boolean_exact.blend

**System Information** Operating system: Linux-5.4.0-77-generic-x86_64-with-glibc2.27 64 Bits Graphics card: GeForce GTX 850M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.80 **Blender Version** Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: `84da05a8b8` Worked: (newest version of Blender that worked as expected) **Short description of error** Boolean difference is not working for one particular case when using `Exact` solver. **Exact steps for others to reproduce the error** * Load the attached blender file. * Select `Obj1`. You should see something like ![image.png](https://archive.blender.org/developer/F10236296/image.png) * Go to modifiers and check `Fast` solver. Now it starts working ![image.png](https://archive.blender.org/developer/F10236291/image.png) I tried selecting `Self` and `Hole tolerant` options and it does not work. I also checked with other objects (ie. cilinders, ...) and the boolean operation is correctly applied with `Exact` solver. It seems the issue can be reproduced only when I try to diff `Obj2`. [issue_boolean_exact.blend](https://archive.blender.org/developer/F10236279/issue_boolean_exact.blend)

Added subscriber: @Liviu-Grigorescu

Added subscriber: @Liviu-Grigorescu

I attached a new file where I simplified Obj2 by dissolving unnecessary edges. Problem still persists.issue_boolean_exact_simplified.blend

I attached a new file where I simplified `Obj2` by dissolving unnecessary edges. Problem still persists.[issue_boolean_exact_simplified.blend](https://archive.blender.org/developer/F10236320/issue_boolean_exact_simplified.blend)

Added subscriber: @erik85

Added subscriber: @erik85

Hi, if you recalculate the normals on your cutting object it works fine. (edit mode ctrl-shift-N)

Hi, if you recalculate the normals on your cutting object it works fine. (edit mode ctrl-shift-N)
Member

Added subscriber: @howardt

Added subscriber: @howardt
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Howard Trickey self-assigned this 2021-07-25 19:57:48 +02:00
Member

This was fixed by commit 0aad8100ae You still have to use the Self option to make it work in Exact mode.

This was fixed by commit 0aad8100ae5cfb You still have to use the Self option to make it work in Exact mode.

Thank you @howardt for the quick resolution.
Until the new commit gets into next build I'll use the normals recalculation suggested by @erik85.

Thank you @howardt for the quick resolution. Until the new commit gets into next build I'll use the normals recalculation suggested by @erik85.

Can I find this commit in daily build Blender 2.93.2 - Candidate so I can give it a try?

Can I find this commit in [daily build ](https://builder.blender.org/download/daily/) Blender 2.93.2 - Candidate so I can give it a try?
Member

I did not back port this fix to 2.93.2. Not clear whether I should or not. It will be in the master daily build however.

I did not back port this fix to 2.93.2. Not clear whether I should or not. It will be in the master daily build however.

No need to back port. I switched to 3.0 and it works fine.

No need to back port. I switched to 3.0 and it works fine.
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#90109
No description provided.