0 Replies Latest reply on Dec 11, 2013 1:19 PM by Saif Warsi

    Need to traverse the BREP in C++

    Saif Warsi

      i am looking into how to traverse the BREP in a part.

       

      each Solid points to any number of SHELLS and then each shell points to any number of

      trimmed surfaces which points to loops and the actual underlying geometry

      and the loops point to coedges which point to underlying curves as geometry.

       

      i am trying to traverse a solid to get each shell in that solid and then

      traverse the shell to obtain the surfaces, etc. anyone have an idea how to traverse the

      BREP of a solid to get this information?

       

      the IBody2 interface gives pointers to ISurface2 but i don't see how to access

      the shells in that body.

       

      thanks for any help.