Skip to content

Mesh.boolean failed #1214

Open
Open
@zhang-qiang-github

Description

@zhang-qiang-github

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

Activity

marcomusy

marcomusy commented on Jan 17, 2025

@marcomusy
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

zhang-qiang-github commented on Jan 21, 2025

@zhang-qiang-github
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.

zhang-qiang-github

zhang-qiang-github commented on Jan 21, 2025

@zhang-qiang-github
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Mesh.boolean failed · Issue #1214 · marcomusy/vedo