TopoDS_Compound to TopoDS_Shell or _Face??

Hello,

I have a sew face, from a triangulation, that is a TopoDS_Compound type and i want to convert to TopoDS_Shell or TopoDS_Face. How can I do?

Thenks for all advice.
Sandor.

Paul Jimenez's picture

If you have the Shell/Faces already in the Compound and you want to take them out, use TopExp_Explorer.

PG's picture

I have sewed faces - the topology type of the result is Compound.
Using TopExp_Explore 'to find' SHELL' it fails.
Do I need to build a SHELL when sewing, in order to get back my SHELL using Explorer.
thanks in advance
-PG