LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Questions on 3D picture control and STL file

Hi,

 

I am currently working on a project in which I load an STL file to vizualise a 3D object (see attachment). I have several problems and questions.

 

1) I would like to execute rotations (X,Y,Z) on this 3D object. Unfortunately, Labview executes only one rotation and I don't know why

2) If I load several objects, is it possible to create links/joints between them? I saw the example with the robot arm provided in the Labview examples, but I don't understand where and how the joints are defined.

3) Is it possible to import an image (png, jpeg,..) on a scene display? I would like to visualize a graduation to see the number of degrees of rotation of my object.

 

Thank you for your answers

 

Message Edited by kastillio on 10-23-2009 04:24 AM
0 Kudos
Message 1 of 6
(3,642 Views)
Message 2 of 6
(3,636 Views)

Thank you so much for your post on our forum.

 

I created an example based on the VI You send Fact is that we need to use relative rotation. With absolute the previous rotation is cleared and the new rotation is done from the zero point. With your example this means that you first do the Y rotation and immediately the X rotation is done resetting the previous Y rotation. If you swap these two rotations you will notice that only the Y rotations works because the previous X will be reset.
As said I made an example based on relative rotation so the rotation will be done from the current position. I used the rotate object.vi and used a event structure looking at the value change from the x or y control. The function will be executed when these value changes occur.

 

Best regards,

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 3 of 6
(3,613 Views)

Could you save this file in a lower version (8.5)?

 

Regards

 

Kito

0 Kudos
Message 4 of 6
(3,557 Views)

Dear Kito,

 

here the 8.5 version (don't look at the name),

 

Many greetings,

Martijn S
Applications Engineer
NI Netherlands
Message 5 of 6
(3,541 Views)
Thanks ninlmartijn!!!!!
0 Kudos
Message 6 of 6
(3,536 Views)