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 specific edges
shawn_crocker
Member, OS Professional Posts: 860 PRO
I'm looking for a way to query all the edges of a surface body. I'm hoping there is a way to filter only for edges that have two faces attached. I'm sure I read this somewhere but I am not able to find where it was.
Tagged:
0
Best Answers
-
Alex_Kempen Member Posts: 247 EDUqOwnedByBody can give you everything owned by a body. The aptly named function edgeIsTwoSided will then let you filter for the edges you want.CS Student at UT DallasAlex.Kempen@utdallas.eduCheck out my FeatureScripts here:2
-
konstantin_shiriazdanov Member Posts: 1,221 ✭✭✭✭✭isEdgeTwoSided() is a test if you already have an individual edge, to query two sided edges you may use qEdgeTopologyFilter()
2
Answers
@Alex_Kempen
Thanks again. I haven't had time to implement them yet but now I know what I should be using.