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

Why shape itself rotation cannot?

Seung-Hyun Lee's picture
Forums: 

Dear Sir!

In shape object , I would like to do local rotation.

why In opencascade, only support world base roation.

Then, I have to implement local rotation.

that is : i have to move object to world coordinate (0,0,0) and i have to do local roation.

and i have to move object 0,0,0 to local coorinate.

I would like to solve this problem..

why not support local roation?..

thanks..

Kar Heng Chan's picture

try looking at one of the samples... i think it was called SampleTopologyTransformation

a matrix for 3D is used to alter orientation, position and scale of shapes and objects. you need to generate gp_Trnsf (or was it gp_Trnf) objects for these.

don't know of any alternatives yet for now.

don't know if rounding off errors in the matrices might accumulate and distort your shape ultimately too.

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.