Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69113

Rotations in 3D picture control

$
0
0

Hi,

 

I have a question regarding 3D picture control.

 

I would like to rotate an object (say a cylinder) around the X-axis by 20 degrees and Y-axis by 45 degrees and Z-axis by 10 degrees at once. 

Suppose I should use a single "Set rotation.vi" to do the job, but I wonder how to calculate the axis of rotation and the angle of rotation, please?

 

 

I am using Labview 2013. I've tried to include two "Set rotation.vi" which were connected together. One rotate in X (Axis:[1,0,0], Angle 20) and the other in Y (Axis:[0,1,0], Angle 45), similar for Z-axis. However, having two or three of the same VI at once doesn't work. I've tried the "Rotate X-axis.vi" and "Rotate Y-axis.vi" as well, but no luck neither. 

 

Thank you

 

 

 


Viewing all articles
Browse latest Browse all 69113

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>