Boolean modifier: Self Intersection fails when mesh object is same for both operand types #93568

Open
opened 2021-12-02 13:55:41 +01:00 by Roman Shulga · 6 comments

System Information
Operating system: Win10 (21H1 19043.1348)
Graphics card: GeForce 1080Ti (496.76)

Blender Version
Latest 3.0 (December 02, 02:20:21 - 9cec9b4d6e)

Short description of error
Operand type collection did not consider self intersection with certain condition.
It fails when mesh object is same for both operand types

Exact steps for others to reproduce the error

  • Open .blend file
  • Change operand type to Object
  • Uncheck Self Intersection
  • Switch back to `Collection

Test File:
boolean.blend
2021-12-03 13-50-41.mp4

**System Information** Operating system: Win10 (21H1 19043.1348) Graphics card: GeForce 1080Ti (496.76) **Blender Version** Latest 3.0 (December 02, 02:20:21 - 9cec9b4d6e33) **Short description of error** Operand type `collection` did not consider `self intersection` with certain condition. It fails when mesh object is same for both operand types **Exact steps for others to reproduce the error** - Open .blend file - Change operand type to `Object` - Uncheck `Self Intersection` - Switch back to `Collection Test File: [boolean.blend](https://archive.blender.org/developer/F12685929/boolean.blend) [2021-12-03 13-50-41.mp4](https://archive.blender.org/developer/F12685686/2021-12-03_13-50-41.mp4)
Author

Added subscriber: @rainbro

Added subscriber: @rainbro
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Boolean, Exact algorithm, the checkmark "Self Intersections" disappears when object cutter in "Collection"

Hi, thanks for the report. From code side this has been excluded intentionally.

(Looking at the one liner comment, I think self intersection is always available when operand type is Collection)

/* When operand is collection, we always use_self. */
if (RNA_enum_get(ptr, "operand_type") == eBooleanModifierFlag_Object) {
uiItemR(col, ptr, "use_self", 0, nullptr, ICON_NONE);
}
uiItemR(col, ptr, "use_hole_tolerant", 0, nullptr, ICON_NONE);
}```

(see: https://developer.blender.org/diffusion/B/browse/master/source/blender/modifiers/intern/MOD_boolean.cc$601)
> Boolean, Exact algorithm, the checkmark "Self Intersections" disappears when object cutter in "Collection" Hi, thanks for the report. From code side this has been excluded intentionally. (Looking at the one liner comment, I think self intersection is always available when operand type is `Collection`) ``` if (use_exact) { ``` /* When operand is collection, we always use_self. */ if (RNA_enum_get(ptr, "operand_type") == eBooleanModifierFlag_Object) { uiItemR(col, ptr, "use_self", 0, nullptr, ICON_NONE); } uiItemR(col, ptr, "use_hole_tolerant", 0, nullptr, ICON_NONE); }``` ``` (see: https://developer.blender.org/diffusion/B/browse/master/source/blender/modifiers/intern/MOD_boolean.cc$601)
Author

Yes, I thought so too. At first. And then I selected the object, disabled Self Intersections and selected Collections again. In my file, you can do this in two clicks and see the result, or rather its absence, namely, Self Intersections is not enabled when selecting Collections.

2021-12-03 13-50-41.mp4

Yes, I thought so too. At first. And then I selected the object, disabled Self Intersections and selected Collections again. In my file, you can do this in two clicks and see the result, or rather its absence, namely, Self Intersections is not enabled when selecting Collections. [2021-12-03 13-50-41.mp4](https://archive.blender.org/developer/F12685686/2021-12-03_13-50-41.mp4)
Member

Hi, described case (in video) is probably a bug. Will confirm.
Happens only when object is same for both operand types.

(Will search if this has been reported before or not)

Hi, described case (in video) is probably a bug. Will confirm. Happens only when object is same for both operand types. (Will search if this has been reported before or not)
Pratik Borhade changed title from The checkmark "Self Intersections" disappears when object cutter in "Collection" to Boolean modifier: Self Intersection fails when mesh object is same for both operand types 2021-12-03 12:57:52 +01:00
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:28:14 +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
2 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#93568
No description provided.