marcomusy / vedo

A python module for scientific analysis of 3D data based on VTK and Numpy
https://vedo.embl.es
MIT License
1.98k stars 257 forks source link

Mesh cut with cut_with_box results in non water tight mesh #1144

Open IsabellaPa opened 1 week ago

IsabellaPa commented 1 week ago

Hello Marco,

I tried to cut a mesh with cut_with_box to create a slit. I set invert to True. The result looks nice, but the mesh is not water tight as there is a really small gap between the original mesh and the new surface created by cutting (the inside of the slid). As I want to convert the mesh to a volume in the end I would need it to be water tight. Fill_hole didn't do the job, I guess the gap is too long. Do you have any tip for me what I can do? image

marcomusy commented 1 week ago

Hi, I would check out this: https://vedo.embl.es/autodocs/content/vedo/vedo/mesh.html#Mesh.cut_closed_surface

IsabellaPa commented 1 week ago

Perfect, thank you! :)