boolean intersect crashes blender #30100

Closed
opened 2012-02-07 18:03:23 +01:00 by Tobias Krawutschke · 11 comments

Relates to: #29969 #29993
Duplicates: #30392 #30465 #32878

%%%Blender on WinXP 32 Bit, Radeon HD4870

When intersecting a cylinder with a sphere, blender 2.61 crashes, latest build (r43944) files an Error (the report to MIcrosoft question), details s. attached picture. To provoke crash: execute python script and set divs >=74. For divs <74 it works for me, in blender 2.61 it produces wrong ouput until divs=80.

Cylinder with rounded endplate

import bpy
divs=81

bpy.ops.mesh.primitive_cylinder_add(vertices=divs,radius=5.3,depth=3.0,location=(0.0,0.0,0.0))
bpy.ops.mesh.primitive_uv_sphere_add(segments=divs, ring_count=divs, size=69, location=(0.0, 0.0, 67.5))

cy=bpy.data.objects["Cylinder"];
sp=bpy.data.objects["Sphere"];

bpy.context.scene.objects.active=cy
bpy.ops.object.modifier_add(type='BOOLEAN')
cy.modifiers- [x].operation='INTERSECT'
cy.modifiers- [x].object=sp
bpy.ops.object.modifier_apply(apply_as='DATA',modifier='Boolean')

bpy.context.scene.objects.active=sp
bpy.ops.object.delete()
%%%

**Relates to**: #29969 #29993 **Duplicates**: #30392 #30465 #32878 %%%Blender on WinXP 32 Bit, Radeon HD4870 When intersecting a cylinder with a sphere, blender 2.61 crashes, latest build (r43944) files an Error (the report to MIcrosoft question), details s. attached picture. To provoke crash: execute python script and set divs >=74. For divs <74 it works for me, in blender 2.61 it produces wrong ouput until divs=80. # Cylinder with rounded endplate import bpy divs=81 bpy.ops.mesh.primitive_cylinder_add(vertices=divs,radius=5.3,depth=3.0,location=(0.0,0.0,0.0)) bpy.ops.mesh.primitive_uv_sphere_add(segments=divs, ring_count=divs, size=69, location=(0.0, 0.0, 67.5)) cy=bpy.data.objects["Cylinder"]; sp=bpy.data.objects["Sphere"]; bpy.context.scene.objects.active=cy bpy.ops.object.modifier_add(type='BOOLEAN') cy.modifiers- [x].operation='INTERSECT' cy.modifiers- [x].object=sp bpy.ops.object.modifier_apply(apply_as='DATA',modifier='Boolean') bpy.context.scene.objects.active=sp bpy.ops.object.delete() %%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%Issue is caused by duplicated vert in UV sphere which shouldn't happen. Corrected sphere creation in rev43983. It's not actually a bugfix but will resolve possible stoppers.
Anothert this which will he here a lot -- move sphere a bit to the bottom (i.e. by -0.01 in Z direction). It will allow to produce a bit better topology on result.

I've informed Tobias (Carve library developer) so he'll look into this issues, so workaround with moving sphere and duplicated vertices wouldn't be needed.%%%

%%%Issue is caused by duplicated vert in UV sphere which shouldn't happen. Corrected sphere creation in rev43983. It's not actually a bugfix but will resolve possible stoppers. Anothert this which will he here a lot -- move sphere a bit to the bottom (i.e. by -0.01 in Z direction). It will allow to produce a bit better topology on result. I've informed Tobias (Carve library developer) so he'll look into this issues, so workaround with moving sphere and duplicated vertices wouldn't be needed.%%%

%%%I tested with 44001 from builder.blender.org and it now works fine for my script. Thank you%%%

%%%I tested with 44001 from builder.blender.org and it now works fine for my script. Thank you%%%
%%%Closed report which is caused by the same reason: http://projects.blender.org/tracker/index.php?func=detail&aid=30392&group_id=9&atid=498%%%
%%%Closed duplicated report http://projects.blender.org/tracker/?func=detail&atid=498&aid=30465&group_id=9%%%

%%%Found in blender-2.62-r45731-win32 (and earlier official 2.62 builds) in WinXP

Trying to append a 2.61 scene in 2.62 resulted in a crash, so I dissected the scene and found which object led to the crash. Since it involves a boolean modifier, I'm assuming that it is related to this bug.

I marked one spot that seems to cause the crash - straightening that part prevents the crash in 2.62, but at the same time, the intersected part becomes invisible !
If I delete the other part of the mesh that is not connected to the intersected part, the crash is gone as well and everything is visible like it should.

I've attached the file so you can check if it is the same bug. I would hope that this can be fixed before 2.63 so I can import my files again.%%%

%%%Found in blender-2.62-r45731-win32 (and earlier official 2.62 builds) in WinXP Trying to append a 2.61 scene in 2.62 resulted in a crash, so I dissected the scene and found which object led to the crash. Since it involves a boolean modifier, I'm assuming that it is related to this bug. I marked one spot that seems to cause the crash - straightening that part prevents the crash in 2.62, but at the same time, the intersected part becomes invisible ! If I delete the other part of the mesh that is not connected to the intersected part, the crash is gone as well and everything is visible like it should. I've attached the file so you can check if it is the same bug. I would hope that this can be fixed before 2.63 so I can import my files again.%%%

%%%Hello, in the latest build (46804), the boolean modifier crashes blender, everytime and with all methods (intersect, union and difference).
.blend files using boolean modifier cannot be opened because of this bug.
Keep the courage.


Ubuntu 12.04 64bit
AMD 6970m, Catalyst 12.4%%%

%%%Hello, in the latest build (46804), the boolean modifier crashes blender, everytime and with all methods (intersect, union and difference). .blend files using boolean modifier cannot be opened because of this bug. Keep the courage. ---- Ubuntu 12.04 64bit AMD 6970m, Catalyst 12.4%%%
%%%Closed duplicate report http://projects.blender.org/tracker/index.php?func=detail&aid=32878&group_id=9&atid=498%%%

%%%Can´t verify, no crash with all methods tested with 2.64a and r51494.

Opensuse 12.2/64
Nvidia GTX 550Ti
Dr. 310.14

Cheers, mib.

%%%

%%%Can´t verify, no crash with all methods tested with 2.64a and r51494. Opensuse 12.2/64 Nvidia GTX 550Ti Dr. 310.14 Cheers, mib. %%%

%%%Crash should be solved in svn rev51897. Thanks for the report, closing.%%%

%%%Crash should be solved in svn rev51897. Thanks for the report, closing.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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#30100
No description provided.