Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mesh.boolean failed #1214

Open
zhang-qiang-github opened this issue Dec 30, 2024 · 3 comments
Open

Mesh.boolean failed #1214

zhang-qiang-github opened this issue Dec 30, 2024 · 3 comments

Comments

@zhang-qiang-github
Copy link

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~~~

@marcomusy
Copy link
Owner

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..

@zhang-qiang-github
Copy link
Author

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.

1 similar comment
@zhang-qiang-github
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants