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.
Query for edges parallel to the vector or line
konstantin_shiriazdanov
Member Posts: 1,221 ✭✭✭✭✭
Is there a common way to query edges parallel to the specific direction? As workaround I had to use qIntersectsPlane
with the direction vector i need and origin specifically chosen, but it isn't very flexible solution.
0
Comments
-
I couldn't find an easy way to query this either. You could write your own function that iterates over all linear edges ( qGeometry(qEverything(),GeometryType.LINE) ). It could identify parallel edges by using evTangentLine() to extract a direction vector and then compare that to your input edge using parallelVectors().1
-
@mahir thanks, it looks like more appropriate solution
0
