Hi there, i am trying to find a way how to get contour lines from a closed mesh.
i was thinking to use the CSG class, but i just dont really find a way to do that.
so ultimatively i would like to generate contour lines of a 3D object, for example every 1 unit and return a polyline.
how would i do that?
thanks a lot!
Typing this from memory:
mesh.edgesColor = new Babylon.Color4(r, g, b, a);
mesh.edgesWidth = Number;
I suppose you could give it a try using greasedLines for mesh with the predicate function.
Hi there, since i am doing some pre-calculation of the mesh i need in an other envorinment, i dont really need the contourlines anymore. i am using cgal (cgal for that task and export all the contourlines i need. Sorry for not solving my problem here in a babylonjs matter
If it solves your problem then all good