vedo icon indicating copy to clipboard operation
vedo copied to clipboard

Reusing intersection points

Open IsabellaPa opened this issue 1 year ago • 2 comments
trafficstars

Hello, I have a 3D mesh and a plane. I can draw the intersection line by using the contour returned by intersect_with and it works lovely. But I want to reuse the contour for further calculations. When I try to turn the contour into a Tube(contour.vertices) the sequence of points is not always correct and I tend to get a spiderweb like Tube instead of a circle. I could alternatively use a Mesh version but mesh= Mesh([contour.vertices, contour.lines]) obviously doesn't draw any triangles.

In this specific case I want to layer different closed intersection lines and determine their common area.

Any help is appreciated!

IsabellaPa avatar Apr 15 '24 12:04 IsabellaPa

Hello, have a look at the methods .join() https://vedo.embl.es/autodocs/content/vedo/vedo.html?search=join

marcomusy avatar Apr 15 '24 12:04 marcomusy

Thank you, that was exactly was I was searching for!

IsabellaPa avatar Apr 15 '24 13:04 IsabellaPa