vedo icon indicating copy to clipboard operation
vedo copied to clipboard

Mesh.boolean failed

Open zhang-qiang-github opened this issue 11 months ago • 3 comments

mesh.boolean failed in my project. My code is:

import vedo

surf = vedo.Mesh('Segment_1.obj').alpha(0.3).triangulate().clean().c('r').alpha(0.3)

needle = [
    [
        71.7868279300105,
        -79.29847659204141,
        21.499966374538133
    ],
    [
        72.20861068323809,
        -77.35013987619823,
        20.556566158983834
    ]
]

tube = vedo.Tube(points=needle, r=3).triangulate().clean().c('g').alpha(0.3)

# vedo.show(surf, tube)
surf.boolean('minus', tube)

The used data is:

Segment_1.zip

Finally: Process finished with exit code -1073741819 (0xC0000005)

My environment is:

python 3.10
vedo 2024.5.2
win10

How to correct my code? Any suggestion is apprecated~~~

zhang-qiang-github avatar Dec 30 '24 09:12 zhang-qiang-github

hi, sorry for the late reply... I also tried but could not find a way to make it work.. unfortunately the boolean operations in vtk are a weak point of the library..

marcomusy avatar Jan 17 '25 00:01 marcomusy

hi, sorry for the late reply... I also tried but could not find a way to make it work.. unfortunately the boolean operations in vtk are a weak point of the library..

Also thanks for your kindly reply. If I have a solution, I will post it here.

zhang-qiang-github avatar Jan 21 '25 02:01 zhang-qiang-github

hi, sorry for the late reply... I also tried but could not find a way to make it work.. unfortunately the boolean operations in vtk are a weak point of the library..

Also thanks for your kindly reply. If I have a solution, I will post it here.

zhang-qiang-github avatar Jan 21 '25 02:01 zhang-qiang-github