All I want to be able to do is identify each shape (the ones you'd get using maps on the whole compound that makes up your model) with a permanent ID with this in mind.
now how do you do this with OCAF ? I've given up on the idea of doing it without OCAF because i need those IDs to be saved alongside the shapes when dumping onto disk.
i know you can save the compound as a .brep file but how do you save the shapes and the attributes stuff together. How do you actually do the attributes stuff (it looks i need to use TNaming_UsedShapes but after that, i am lost). Can i just generate maps of my solids, faces, edges, etc and assign the IDs and then be able to access the shapes directly from the IDs ?
Is there an example somewhere ? Has somebody done it and is willing to share ?
Again, i don't need anything fancy, just ONE unique integer ID per shape. I mean a shape with forward orient should have same id as shape with reverse sine it's the same physical shape.
I am about to give up on this. it's so damn difficult to do anything with OCC (it's a shame since it looks real powerful but it's about as user friendly as the registry of motor vehicles ... just kidding).
Could someone be kind enough to point me in the right direction ?