Save as PLY?
Hello! How should one go for saving a resulting polygon as PLY, STL or something else? Can that be done from inside csg.js? Or is there another recommended library? thank you!
Csg.js dont have a method for this(it focus on csg operations), but writing one is simples, just access the polygons array in your CSG object, every polygon is made of CSG.Vertex containing a position and a normal of type CSG.Vector.
Csg.js dont have a method for this(it focus on csg operations), but writing one is simples, just access the polygons array in your CSG object, every polygon is made of CSG.Vertex containing a position and a normal of type CSG.Vector.