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.
How do I use the other faces found with qFaceOrEdgeBoundedFaces
Cache_River_Mill
Member Posts: 225 PRO
Hello,
I have selected my inner face, I also selected a boundary. The query found 3 faces between face 1 and the boundary. How do I know what to call the other faces that the query found so that I can use them? I believe qUnion keeps them in order, but I'm not sure how to use faces 2 & 3 that the query found.
Code:
var allLayers = qFaceOrEdgeBoundedFaces(qUnion([definition.faces1, definition.boundary]));
I have selected my inner face, I also selected a boundary. The query found 3 faces between face 1 and the boundary. How do I know what to call the other faces that the query found so that I can use them? I believe qUnion keeps them in order, but I'm not sure how to use faces 2 & 3 that the query found.
Code:
var allLayers = qFaceOrEdgeBoundedFaces(qUnion([definition.faces1, definition.boundary]));
0
Answers
If you use qAdjacent with AdjacencyType.EDGE, it will only get the closest face.
IR for AS/NZS 1100