For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Ask help for the Local coordinate systems

Sparse's picture
Forums: 

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!

Sparse

billyyuzhihua's picture

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.

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.