LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D picture control importing objects

Hi,
I'm having problem with importing round objects, from Solidworks (*.wrl files) to labview 3d picture control, like sphere or cylindar with extruded cut.
Does anyone experienced this problem or knows solution?
thanks.

Ivan

0 Kudos
Message 1 of 13
(5,301 Views)


@mak007 wrote:
Hi,
I'm having problem with importing round objects, from Solidworks (*.wrl files) to labview 3d picture control, like sphere or cylindar with extruded cut.
Does anyone experienced this problem or knows solution?
thanks.

Ivan



wrl files are really VRML text files. I do not think the 3D picture control has any functionality to support wrl files. It is basically just an OpenGL based control and any import from a specific format would need to be coded somehow.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 13
(5,303 Views)
Rolf,
As a matter of fact, the LV 8.20 release has dedicated functions to import WRML (and other formats) files, in the Graphic & Sound/3D Picture Control/File Loading subpalette.

Message Edité par chilly charly le 10-02-2006 01:26 PM

Chilly Charly    (aka CC)
0 Kudos
Message 3 of 13
(5,279 Views)
I know the are blocks for importing files, but they're not funcional. there is a picture in attachment so you can see result of importing file from Solidworks 2004 to Labview 8.2.
Ivan
0 Kudos
Message 4 of 13
(5,272 Views)


@chilly charly wrote:
Rolf,
As a matter of fact, the LV 8.20 release has dedicated functions to import WRML (and other formats) files, in the Graphic & Sound/3D Picture Control/File Loading subpalette.

Message Edité par chilly charly le 10-02-2006 01:26 PM


Hmmm, that is pretty interesting. I wonder which free Open Source VRML library they use for that. It seems very unlikely to me that they might have developed their own and buying it seems a little like overkill to me unless they are planning on extending LabVIEW into 3D VRML authoring.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 5 of 13
(5,253 Views)


mak007 a écrit:
I know the are blocks for importing files, but they're not funcional. there is a picture in attachment so you can see result of importing file from Solidworks 2004 to Labview 8.2.
Ivan



I also tried to import a few wrml files picked up on the internet. No succes yet. Anybody with more luck ?
Chilly Charly    (aka CC)
0 Kudos
Message 6 of 13
(5,227 Views)


@chilly charly wrote:


mak007 a écrit:
I know the are blocks for importing files, but they're not funcional. there is a picture in attachment so you can see result of importing file from Solidworks 2004 to Labview 8.2.
Ivan



I also tried to import a few wrml files picked up on the internet. No succes yet. Anybody with more luck ?

Well, WRL is not always the same. There are many varients and complexities and some will only work with certain VRML Players. If the function however fails to even import simple static WRL files then there is something bad. Under http://cnx.org/content/m12977/latest/ however is a description of a Solidworks project to import into LabVIEW 8.20 so I would assume this to work. The inverted pendulum visualization which is supposedly a Solidworks animation looks quite nice.

Rolf Kalbermatter


Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 7 of 13
(5,215 Views)
I saw that example earlier, and I don't have any problems with importing rectangles or cubes from solid (wrl must be VRML 97) just round objects.
Ivan
0 Kudos
Message 8 of 13
(5,189 Views)
Hello Charly,

When i try to import an Vrml object from an exported part from IronCad, i only get to see it if i remove the last object ?
I don't know why but i think it has to do with the light sources.

It's difficult to debug for me because, i don't understand the all the relations of objects and licht sources etc.

Is there a tutorial somewhere ?

John
0 Kudos
Message 9 of 13
(4,893 Views)
Hi Wazig,

Here is a tutorial on Creating Advanced User Interfaces with OpenGL Based 3D Visualization with a section showing how to import a VRML file:

http://zone.ni.com/devzone/cda/tut/p/id/3170

Is this the tutorial you were looking for? Please let me know. Thanks!

Best regards,

Steven
0 Kudos
Message 10 of 13
(4,871 Views)