NI Home > Community > NI Discussion Forums

LabVIEW

Showing results for 
Search instead for 
Do you mean 
Reply
Member
gokul2013
Posts: 14
0 Kudos

creating flexible object in 3d picture control toolkit

How to create a flexible 3d object using 3d picture control tool kit. I can rotate, translate and scale a object but i cannot make to bend it... Help me ?

Proven Zealot
mikeporter
Posts: 5,075
0 Kudos

Re: creating flexible object in 3d picture control toolkit

There is no such thing as a flexible object. If you want the object shaped differently, draw it differently.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."
Member
alexderjuengere
Posts: 183
0 Kudos

Re: creating flexible object in 3d picture control toolkit

hi gokul2013,

 

with "bending" you mean to interacte with a 3d object e.g. a surface? This reminds me of an submission from the 2010's code contest:

 

https://decibel.ni.com/content/docs/DOC-13861

 

 

 

Regards,
Alex

~~~~~~~~~~~~~~~~
Labview 8.6 - Labview 2013
~~~~~~~~~~~~~~~~
Member
gokul2013
Posts: 14
0 Kudos

Re: creating flexible object in 3d picture control toolkit

Thank you for your kind reply Mr.Alex.

 

You reply was very helpfull to me.. I can do bending movement with what you had proposed in early reply.. For my application i need to make my object as flexible. Here i have attached my object file. Just i created a two box Objects. In that , I need to bend green coloured object as like in attached Picture file..

For this purpose what i need to do and how can i code the program..

Looking for your reply...

 

Regards

 

Gokul

Member
alexderjuengere
Posts: 183
0 Kudos

Re: creating flexible object in 3d picture control toolkit

[ Edited ]

Sorry, I don't know, because I haven't written the .vi which I linked in my earlier post.

 

My intention was to show, that Labview is capable of this task.

 

Regards,
Alex

 

 

~~~~~~~~~~~~~~~~
Labview 8.6 - Labview 2013
~~~~~~~~~~~~~~~~
Member
JKMM
Posts: 72
0 Kudos

Re: creating flexible object in 3d picture control toolkit

You can't do it with the 3D picture control unless you make your bending object out of a bunch of discrete shapes that you calculate the new positions of with each change in angle.  You'd essentially be building a low res rendering engine.  If you are looking for a way to do this, and are not tied to LabVIEW, you may want to look at something like Blender3D, an open source animation and game engine software package, where you can dynamically adjust shapes like this. 

 

You could make an animation in Blender to account for a bunch of discrete bend positions and export them as seperate STL files.   Then you could load the STL files into memory (or one at a time), and display the correct one based on the rotation value in a LabVIEW control.

 

Active Participant
Todd_Lesher
Posts: 383
0 Kudos

Re: creating flexible object in 3d picture control toolkit

Did you try vugie's example? It seems quite possible to redraw the green object with a different shape based on the mouse drag.

Member
mihir5293
Posts: 3
0 Kudos

Re: creating flexible object in 3d picture control toolkit

Any one tell me how to create 3d robotic arm using labview?

Proven Zealot
mikeporter
Posts: 5,075
0 Kudos

Re: creating flexible object in 3d picture control toolkit

You appended onto the end of a thread that is more than a year old. You need to post a new question -- and when you do you need to add some more detail.

For instance, I assume you are wanting to create the picture of a 3D robot arm. You need to say exactly what is is that you need and what it is that you are trying to do.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."