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 to query the side of a part?
cory_isaacson
Member, Developers Posts: 43 PRO
I have a part that is flat (a shape with some curves and straight lines), and it is thin (1/4" thick). I need to query the side edges of the part (the faces of the edges only). I have a query that results in a line normal to the flat sides, running up the thin edge. How can I take that and use something like qTangentConnectedFaces? It's not working now because I am using qIntersectsLine, and the line intersections the flat parts as well as the thin sides. So how can I limit the query to just the face of the thin edge?
0
Best Answer
-
cory_isaacson Member, Developers Posts: 43 PROI figured it out, I just needed to use qContainsPoint with a point in the middle of the thin face, then it was easy to get the face that contains that point, then use qTangentConnectedFaces to get the remaining faces. I'm getting the idea now of how the queries work, qContainsPoint is very useful if you need to be specific on a part.
0
Answers
Could you post an annotated screenshot of what you are trying to query for? Often that's the best way to express this geometric stuff.