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.
ilya_baran 
Reactions
-
Re: question mark meaning
It's a ternary operator: https://en.wikipedia.org/wiki/%3F: Basically, if you type: var x = predicate ? 1 : 2; Then if predicate is true, x is set to 1, if it is false, x is set to 2, and if pre… (View Post)1 -
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… (View Post)1 -
Re: Breaking a loops
Here's a test that compares the result of evaluating a query against an empty array: evaluateQuery(context, query) == [] (View Post)3 -
Re: Querying points on a curve
Are you looking to query the vertices near the curve or are you looking to evaluate (get coordinate vectors) points on the curve? For the latter see https://cad.onshape.com/FsDoc/library.html#evEdgeT… (View Post)1 -
Re: how can i write this in FS
var len is number = 1; (View Post)1


























