I am working with an stl file (faces, vertices, normals, etc) and have been able to establish a plane, find the coordinates of the points where the plane intersects the edges of the 3D objects, but am not able to modify the the stl file in such a way that I keep all the geometry intact below the plane cut but remove the geometry above the plane cut.
More clarification using an analogy: Imagine you had a donut in real life that you sliced using a knife to create 2 crescent shaped halves. Now I am trying to solve the same problem using matlab and an stl file. I have the donut, I have the knife (the plane), I know all the new vertices that should be formed when the knife cuts, I am just not able to cut it in such a way that the solid part of the donut is still present and the hole (well a semicircular hole after cutting) is also present.
Is there someone who has expertise in this area and could help me out please 🙂 Thank you!
Best Answer