Adding two planes != separating two faces of a cube? (boolean modifier) #38797

Closed
opened 2014-02-24 09:29:36 +01:00 by gandalf3 · 11 comments
Member

System Information
Archlinux
Nvidia GTX 460

Blender Version
Broken: 10f4c26 (2.7 RC)

Short description of error
Creating a boolean modifier setup with two planes boolean joined subtracting from a cylinder (see http://blender.stackexchange.com/a/7285/599 for context) does not give the same result when created different ways. Using a cube gives the expected result, while directly adding planes does not.

Exact steps for others to reproduce the error
In the attached .blend boolean_plane_v_cube.blend:

  • layer 1: Boolean operation set up by adding planes
  • layer 2: Boolean operation set up by adding a cube

Exact setup steps:

For planes:

  1. Add plane
  2. R+X+90
  3. G+X+1
  4. Add plane
  5. R+Y+90
  6. G+Y+1
  7. Add boolean join modifier to plane 1 with plane 2 as target
  8. Add cylinder
  9. Add boolean difference modifier to cylinder with plane 1 as target

For cube:

  1. Add cube
  2. Move cube with snapping so one edge is in the world center
  3. Delete top and bottom vertices on the edge opposite edge in the world center
  4. Select one of the remaining two faces and separate by selection
  5. Add boolean join modifier from separated face to other face
  6. Add cylinder
  7. Add boolean difference modifier to cylinder with separated face as target.
**System Information** Archlinux Nvidia GTX 460 **Blender Version** Broken: 10f4c26 (2.7 RC) **Short description of error** Creating a boolean modifier setup with two planes boolean joined subtracting from a cylinder (see http://blender.stackexchange.com/a/7285/599 for context) does not give the same result when created different ways. Using a cube gives the expected result, while directly adding planes does not. **Exact steps for others to reproduce the error** In the attached .blend [boolean_plane_v_cube.blend](https://archive.blender.org/developer/F78711/boolean_plane_v_cube.blend): * layer 1: Boolean operation set up by adding planes * layer 2: Boolean operation set up by adding a cube **Exact setup steps:** For planes: 1. Add plane 2. R+X+90 3. G+X+1 4. Add plane 5. R+Y+90 6. G+Y+1 7. Add boolean join modifier to plane 1 with plane 2 as target 8. Add cylinder 9. Add boolean difference modifier to cylinder with plane 1 as target For cube: 1. Add cube 2. Move cube with snapping so one edge is in the world center 3. Delete top and bottom vertices on the edge opposite edge in the world center 4. Select one of the remaining two faces and separate by selection 5. Add boolean join modifier from separated face to other face 6. Add cylinder 7. Add boolean difference modifier to cylinder with separated face as target.
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @gandalf3

Added subscriber: @gandalf3

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2014-02-24 12:51:00 +01:00

In this case face normals matter to determine what is inside or outside, since that cannot be determined automatically from a non-closed mesh.

In this case face normals matter to determine what is inside or outside, since that cannot be determined automatically from a non-closed mesh.
Author
Member

Added subscriber: @brecht

Added subscriber: @brecht
Author
Member

@brecht But the shouldn't the result be the same? I don't understand how the method used to create the planes could affect it, as the objects/normals seem identical in the end (to me, anyway)..

@brecht But the shouldn't the result be the same? I don't understand how the method used to create the planes could affect it, as the objects/normals seem identical in the end (to me, anyway)..

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

Added subscriber: @Sergey

Added subscriber: @Sergey

I closed this one too fast, will let @Sergey have a look.

I closed this one too fast, will let @Sergey have a look.
Brecht Van Lommel removed their assignment 2014-02-24 14:50:07 +01:00
Sergey Sharybin was assigned by Brecht Van Lommel 2014-02-24 14:50:07 +01:00

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Your two ways of creating the operand doesn't match really. You're adding rotation to the planes which gives a bit of float precision issues, resulting in different location of vertices in the corner which might look being at the same exact point.

Root of the issues goes to the fact that Blender uses floats and Carve uses double, which results in different epsilons being considered all over..

Doesn't consider a bug, just a specific work.

Your two ways of creating the operand doesn't match really. You're adding rotation to the planes which gives a bit of float precision issues, resulting in different location of vertices in the corner which might look being at the same exact point. Root of the issues goes to the fact that Blender uses floats and Carve uses double, which results in different epsilons being considered all over.. Doesn't consider a bug, just a specific work.
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#38797
No description provided.