LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

add a dot to a 3d object

Solved!
Go to solution

hello,

 

I'm using the create cube vi and create object vi's of the 3d picture control library to create a cube.  Is there a way I could append a dot onto a face on the cube?  I would just like to select some point on the cube and have a dot there that I can see and that will rotate with the cube.

 

also, does anyone know any good references or sites for information on drawing with labview?  I'm having a hard time finding info on the 3d picture control tool-kit.. the stuff I've found on the NI site seems very limited

 

thanks!

0 Kudos
Message 1 of 7
(3,564 Views)
Solution
Accepted by topic author Fibo

I created a cylinder with a very small height. See the attached VI.

Andy Chang
National Instruments
0 Kudos
Message 2 of 7
(3,548 Views)

One problem with that example is that you are constantly adding new objects, so the memory is going to grow until you crash.

0 Kudos
Message 3 of 7
(3,542 Views)

Good catch! My mistake....

 

19767i64F28A3494BB922F

Andy Chang
National Instruments
0 Kudos
Message 4 of 7
(3,540 Views)

thanks!

 

what's the mistake? I gotta take something out of the while loop? works with everything in, what should be out?

0 Kudos
Message 5 of 7
(3,527 Views)

The add objects should not be in a while loop.  Otherwise you are adding new blocks and new cylinders over and over and over again.  Show the performance monitor in task manager and you'll see your LabVIEW memory growing continually.

0 Kudos
Message 6 of 7
(3,524 Views)

Hello,

 

I'm following up on this post, because I'm trying to figure out what I need to take out of my while loop, I know it was mentioned that I need to take out the add object, but I'm having a hard time figuring out how to remove the things from the while loop thats causing my memory to fill up.  I'm including my code

 

much thanks

0 Kudos
Message 7 of 7
(3,476 Views)