Image I would like to ask if anyone knows how to get the intersection points between the plane and the triangle-mesh or change their color (like in the photo). I know that by using this function (clip_plane() frome open3d) the intersection between mesh and plane will produced and a new mesh is saved. but is there any direct methods to get the Points too.
Also, if the mesh was watertight before, how can i close it again afterwards?
I tried the function fill_holes() with hole_size: float = 100000000 but unfortunately the mesh remains open. Are there any other methods ?
clip_plane()
fill_holes()
I expected a watertight mesh with intersection points with the plane like in the image
It is impossible the paint the points in space because your points are not continuous. Instead, you can color the triangles that has distance less than a threshold value. Also you can follow the same approach, iterate through each points and check if its Euclidian distance is less than a value; then you can give it a color as well. Following snippet should give you a direction:
I am not familiar with python API, but you are welcome for further clarification if answer is not clear.