I am writing a program, which reads STEP and I need to get the individual elements in the assembly.
I'm using STEPCAFControl_Reader and XCAFApp_Application, get a root and analize a structure by my own recuration function:
void WcdIt(Handle (XCAFDoc_ShapeTool) l_ShapeTool ,TDF_Label label)
TopoDS_Shape l_Shape = l_ShapeTool->GetShape(label);
for (int i=0;i
So MyShapeAnalize analize a last childs in the tree. At MyShapeAnalize I'm looking for edges by aEdgeExplorer.
In many cases I have more call MyShapeAnalize like shoud be: I found that this additional shapes are same from real model, but in another position.
I think that I should find unnecessary branches. But I do not know how to identify them.
Thanks for any suggestions
Thnx in advance