I'm trying to find a way to slice a 3D polyhedral that has defined positions in the polyhedra JSON, the idea is to give a point A and point B that are going to work as cutting points.
Is there any way to do that with JavaScript like an algorithm? Is there any library that can help doing that?
I'm using Babylon.js as the 3D library, tried with CSG calculations with results that doesn't work as expected so I'm trying to find a solution that works on JavaScript and not in Babylon.js.