I was using your application and I loaded a STEP file that contained a set of shapes. When the file was displayed in the viewer I had the overall assembly represented as a single shape and not as an assembly of elementary SOLID shapes (for example).
So I tryed to change the code of the plug-in DXSTEP in order to break down
the shape into sub shapes before to give them back as Entities collextion.
That was fine, but the tree structure provided by the application becam a flat
structure. The reason is related with the fact that in the first case the DXSTEP plug-in
returned a TopoDS_Compond, meanwhile in the second case my code returned a list of TopoDS_Solid.
I was wandering if there is a way to show the assembly as a set of elements in the viewer and at the same time to have a correct three representation for the assembly
Beside, is there a way to attach information to shapes?
I'm thinking about something like
the mechanism provided by the OCAF document class that is based
on the use of TDF_Labels.