Maybe you can try in another way. Every single operation is based on the default system coordinate, and to set some shapes with a TopLoc_Location, like
TopLoc_Location Loc(trsf);
shape1.Location(Loc);
shape2.Location(Loc);
...
Then the shape1, shape2,...belong to the some local coordinate system. But I don't know how to get the coordinate for every shape under the local coordinate system.
Archived discussion
Ask help for the Local coordinate systems
How can I create a local coordinate system for some faces or some lines? For example I want to set up a local coordinate system on a box and after the coordinate system has been setted up, the following location information is based on that, but not the default one. What should I do if I want to achieve this? Can someone give me a hint or some kinds of advices please?
Regards!
Author
Discussion
1 archived reply
Posts are displayed in their archived order.