cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Model rotation

MSD2
11-Garnet

Model rotation

Hi,

 

How to rotate a model along the Z axis like in CAD applications? Model created is having axis of rotation outside the model. I am using slider to rotate the model. 

 

--

Dhinesh

1 ACCEPTED SOLUTION

Accepted Solutions
Suraj_Patil
15-Moonstone
(To:MSD2)

i got this issue.

what u can do is u can change the axis of model in creo or in any CAD modelling software and shift the axis to centre of model and import in vuforia studio.

By doing above changes in modelling software it will suffice your requirement.

View solution in original post

6 REPLIES 6
VladimirN
24-Ruby II
(To:MSD2)

1A similar question was recently - "Is it possible to rotate a 3d object with your finger?": https://community.ptc.com/t5/Vuforia-Studio/Is-it-possible-to-rotate-a-3d-object-with-your-finger/m-p/757157#M10321 

2. Another one - "Rotating the 3d model": https://developer.vuforia.com/forum/ios/rotating-3d-model 

MSD2
11-Garnet
(To:VladimirN)

Hi Vladimir,

 

I did check these links before starting this thread. They are not addressing my issue. 

mcotora
10-Marble
(To:MSD2)

Hi @MSD2 ,

 

The behaviour shown in the video is strange, as in my quick test, my model rotates from the center. 

Would it be possible to share with us the model? I currently don't have a clue, what the issue might be. 

 

Thank you for your understanding.

Mcotora

MSD2
11-Garnet
(To:mcotora)

Hi Mcotora,

 

Here is the link to download model - https://drive.google.com/file/d/1UOzeq0DKCfc3x-rlp3s0F1Z8FBtgwoI8/view?usp=sharing

 

Suraj_Patil
15-Moonstone
(To:MSD2)

i got this issue.

what u can do is u can change the axis of model in creo or in any CAD modelling software and shift the axis to centre of model and import in vuforia studio.

By doing above changes in modelling software it will suffice your requirement.

Hello @MSD2 ,

the problem is based on the model root coordinate system.  IN your case the root assembly coordinate system is not defined on the location where you want to rotate. So to solve this problem you have the following options:

  • As already mentioned by  @Suraj_Patil  you can change the Root coordinate system. For example you can create in source CAD system  a new assembly and insert your model into it and place on the desired location – so that it will match the correct rotation axis.
  • User Euler calculate to transform the axis. In this case you will have a set of values  x,y,z, rx ,ry,  rz – combination of space shift and rotation which will result the desired rotation. If this option is interesting of you then, please , let me know I will check if I have some sample code for this calculus
Top Tags