Model rotation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
Solved! Go to Solution.
- Labels:
-
Design
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
1. A 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Vladimir,
I did check these links before starting this thread. They are not addressing my issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Mcotora,
Here is the link to download model - https://drive.google.com/file/d/1UOzeq0DKCfc3x-rlp3s0F1Z8FBtgwoI8/view?usp=sharing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
