Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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_crockershawn_crocker Member, OS Professional Posts: 884 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.

Best Answers

  • Alex_KempenAlex_Kempen Member Posts: 248 EDU
    Answer ✓
    qOwnedByBody can give you everything owned by a body. The aptly named function edgeIsTwoSided will then let you filter for the edges you want.
    Software Developer at Epic Systems
    FRC Design Mentor - Team 1306 BadgerBots


  • konstantin_shiriazdanovkonstantin_shiriazdanov Member Posts: 1,221 ✭✭✭✭✭
    Answer ✓
    isEdgeTwoSided() is a test if you already have an individual edge, to query two sided edges you may use qEdgeTopologyFilter()

Answers

  • Alex_KempenAlex_Kempen Member Posts: 248 EDU
    Answer ✓
    qOwnedByBody can give you everything owned by a body. The aptly named function edgeIsTwoSided will then let you filter for the edges you want.
    Software Developer at Epic Systems
    FRC Design Mentor - Team 1306 BadgerBots


  • konstantin_shiriazdanovkonstantin_shiriazdanov Member Posts: 1,221 ✭✭✭✭✭
    Answer ✓
    isEdgeTwoSided() is a test if you already have an individual edge, to query two sided edges you may use qEdgeTopologyFilter()
  • shawn_crockershawn_crocker Member, OS Professional Posts: 884 PRO
    @konstantin_shiriazdanov
    @Alex_Kempen
    Thanks again.  I haven't had time to implement them yet but now I know what I should be using.
Sign In or Register to comment.