Project, break and reconstruct projected lines

Hello! I have a bunch of simple STL files to rebuild, and I would like to create a definition to project a line into STL, identify the sharp corners, break the lines, and rebuild the pieces with grade 3 smoothness … is that possible?

Thanks in advance1.3dm|attachment (53.7 KB)

I’ve knocked up the attached script which uses contour to generate the intersection curves, then breaks up the curves according to a specified vertex sharpness, rebuilds the curves then puts all the geometry back together. Your file didn’t upload correctly so I used a test mesh of my own.

200116_Reconstruct_Mesh_Int_Crvs.gh (51.2 KB)

thanks my friend!!! I will test…

9 DAYS LATER

Guess you weren’t in any hurry about it? :neutral_face: