Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Search
-
Re: Import sketch/body using FS?
@eric_schimelpfenig Firstly, as Neil said, in your example you should just be able to do: opExtrude(context, id + "extrude", { "entities" : definition.fte, "direction" : vector(0, 0, 1) // You could replace this with evOwnerSketchPlane, or evPlane, but it's only safe to do if you add `&& SketchObject.YES` or `&&… -
Re: Import sketch/body using FS?
Ok, I made a little progress in understanding, but ultimately failed (for now) I think I'm getting the variables a bit more, I'm still fuzzy on some parts though, so this: const sketchstorage = id + "instantiate"; // Store this so you can use it later We're saying here "const sketchstorage..." this is essentially making an… -
Re: Import sketch/body using FS?
I tried fooling around with this code, and it's just not clicking for me.(yet!) Ok, let's back up for a second, I think I get what you're saying here, but I'm realizing now that this is a little too much for me to get my head around right now.. That must be why you were trying to push me to use mate connectors! The mate… -
Re: Import sketch/body using FS?
-
Re: Import sketch/body using FS?

All faces, edges, and vertices MUST exist on a body. There is no way around it. What we nicely abstract as a "sketch" for the end user is actually just a collection of wire bodies (each sketch edge is a wire body that is disconnected from all the other edges in the sketch) and sheet bodies (the sketch regions that you can…
5 results