Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save as PLY? #25

Open
r03ert0 opened this issue Sep 10, 2019 · 2 comments
Open

Save as PLY? #25

r03ert0 opened this issue Sep 10, 2019 · 2 comments

Comments

@r03ert0
Copy link

r03ert0 commented Sep 10, 2019

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!

@correaelias
Copy link

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.

@Sintay1994
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants