#1
|
|||
|
|||
trouble loading vrml files generated by ProE
Hello,
I can't seem to load vrml files generated by ProEngineer into Vizard. What I normally have to do is save ProE .prt file as vrml 2.0. Then I open that vrml file in 3d Max and export it as vrml97. And only then it works. Do you, by any chance, know why Vizard will not load vrml files generated by ProE? Max |
#2
|
|||
|
|||
Hi Max,
Would you mind sending me a sample VRML file generated by ProE? My email address is lashkari@worldviz.com. I'll only use it to troubleshoot this problem. |
#3
|
|||
|
|||
Hi Max,
It seems as though ProE outputs some extraneous information with their vrml exporter, which is causing our vrml loader to fail. I opened up the vrml file in a text editor and hand edited out this information, which fixed the problem. I've never used ProE before, do they have any options in their vrml exporter that prevents it from outputing the extra information? If there is no option then the easiest thing is probably what you are already doing, import into 3dmax and export to vrml. |
#4
|
|||
|
|||
Thanks for the help.
|
#5
|
|||
|
|||
what information did you exactly removed from the file?
I am also trying to export some ProE parts |
#6
|
|||
|
|||
I actually don't remember, it was too long ago. Try opening the file in a text editor and removing all lines that don't belong to a node definition. Or post a small sample to the forum and I might be able to tell you.
|
#7
|
|||
|
|||
farshizzo,
here is a test part that i was going to try importing. I greatly appreciate any help |
#8
|
|||
|
|||
When I remove all the sections that begin with node_info, model_info, and geom_type, it seems to work. Can you export the wrl file without all this meta data?
|
#9
|
|||
|
|||
I will check the exporting options from Pro/E but removing the parts that you mentioned is not really working. Would you mind taking a look at the file I uploaded.
thanx in advance |
#10
|
|||
|
|||
At the beginning of the file there are a few PROTO definitions. You need to remove these and all instances of them from the rest of the file. For example, the node_info occurs many times, so you need to search the file for all occurrences and remove the definition. Once I did this the model loaded fine. Here is a screenshot of it in Vizard.
|
#11
|
|||
|
|||
If you have access to Autodesk 3DS Max, I've found it does a good job cleaning VRML. Import your .wrl file into Max, then re-export it as VRML97. This almost always imports nicely into Vizard.
|
#12
|
|||
|
|||
Trouble opening wrl from Pro/E
Can anybody show me which lines of the code need to be removed? Please show how you do it in the attached file. Thanks a lot!
Last edited by sooloo1; 12-08-2008 at 09:16 PM. |
#13
|
|||
|
|||
I removed all the PROTO sections and Node_Info instances, as mentioned above and it loads fine for me.
|
|
|