Hi everyone !
I am making an import STEP module via OCC (my software don't uses OCC). Import is working perfectly with nearly all test files, but some have some shapes put on wrong locations. Not every shapes, but two similar shapes will be placed on the same spot.
Here is the general algorithm:
1. Get free shapes
2. Recursively explore nodes with TDF_ChildIDIterator
3. Get info from label (name,color...) & shape of each leaf with GetShape(label, shape)
4. Build a mesh with BRepMesh_IncrementalMesh
5. Get faces and edge with TopExp_Explorer then build the item in my soft.
What could I possibly forget ? Where can be the missing translation ? As I am quite new to OCC maybe I forgot a basic thing ...
Any help would be very appreciated.
Thanks in advance !