Mar 26, 2015
-
Alejandro Silvestri
I'm amazed with openJSCAD!
I hope I'm not annoying anybody with my questions:1- A way to copy/clone a body?
2- Is there a simple way to intersect a body with a plane and get the 2D path footprint?
3- Which method on a body get the surface polygons?Thank you very much.
3 comments
3
one plus one
1
no shares
Shared publicly•View activityAlejandro Silvestri +Anthony Liekens , thank you for the response. Please give me an example, let's say: var cube = CSG.cube({ center: [0, 0, 0], radius: [1, 1, 1] }); var cube2 = ? How to define cube as its own function?Mar 30, 2015
Alejandro Silvestri
Found some of it, didn't try them yet:
2) solid.sectionCut()
3) solid.polygons , gives an array of polygonsMar 30, 2015
Alejandro Silvestri
+Anthony Liekens , ok, thank you for the explanation.
Unfortunately I was looking for some way to clone an existing solid. But I understand there is no simple way for this, so I'll keep in mind your solution.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register Login