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
-
Traverse polygon to get projected 2D points of 3D face
I'm attempting to write some FS to extract 2D shapes for laser cutting. I found an Auto Layout feature that gets me most of the way there. Unfortunately I'm stuck on my misunderstanding of seemingly basic FS concepts. This line of code is a good place for me to point to in confusion: var faces = evaluateQuery(context,… -
Re: Traverse polygon to get projected 2D points of 3D face
Answering your questions in order... In your expression, faces is an array of queries each of which resolves to exactly one face. qGeometry is a filter; the way I read that expression is: Construct a query for all faces owned by bodies[i] and then, of those, query for the faces whose geometry is a plane. Evaluate that…
2 results