Query specific edges

shawn_crocker
shawn_crocker Member, OS Professional Posts: 1,053 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_Kempen
    Alex_Kempen Member Posts: 258 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_shiriazdanov
    konstantin_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_Kempen
    Alex_Kempen Member Posts: 258 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_shiriazdanov
    konstantin_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_crocker
    shawn_crocker Member, OS Professional Posts: 1,053 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.