Hierarchical Scene Tree

Hi, how can we export in brep format two or more object (i.e. face, edge .....) together in the same space ? We need to know how embed different objects in the same scene. Cordially A. G.

P.s.: sorry for our no good english :-)

S. Routelous's picture

You can make a compound:

TopodS_Compound Com; BRep_Builder B; B.MakeCompound(Com); B.Add(Com,Shape1); B.Add(Com,Shape2);

BRepTools::Write(Com,"compound.brep");

Stephane