Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello
ThingWorx Studio seems to use the pvz file as a resource.
ThingWorx Studio seems to need a pvz file to show animation.
Can you get other stl files or other animations (created in 3d max or Maya) in ThingWorx Studio?
Do you have any other good ideas?
thank
Solved! Go to Solution.
Hi,
may be here to clarify first -actually pvz is a zip file which contains the Creo View format : -extension .pvs - for assembly structure and .ol for model part geometry. When we embed such file then in Creo Iustrate .c3di then we can create animation and publish the Creo Illustrate file again to .pvz format . In this case the .pvz file will contain all models which are embed (imported into illustrate) but additionally it will contains for every animation a text file with extension .pvi.
This file is as mention contains the animation and is text file and could be extracted from the pvz file (simple copy it as zip and extract it)
The format defines for the entities of different components change of the properties and movements ( translation and rotation based on euler transform)
But back to the question- The current tool where you can create such pvi file is Creo Illustrate. So means having the Creo Illustrate license you can import also stl,sla, dwg, dxf, step, iges, vrml and other which are supported by the most CAD System tools. And then you can create you animation in the Creo Illustrate tool
Currently is not supported the import of animation from othere tools.
The pvi file syntax is internal PTC syntax and is not documented for external usage. But actually it is TEXT format if you are able to create it otherwise (mains by some not Creo related tool) it may work . Of course of this you need a structure of the assembly so I believe it supports only the pvs assembly.
When for example your export form non- PTC CAD tool an assembly to step and then in Thingworx Studio internally the STEP file (containing assembly) will be converted to pvz format.
You can find this pvz file in the ..ThingWorxStudio\Projects\<YourProjectName>\src\phone\resources\Uploaded” directory. So now for this file a pvi animation file could be applicable
An other approach of animation will be to create for a different components of you assembly model (let say was imported from a step file) a different 3d modelitems. You can change the color , transparence, scale factor , x, y,z , x-rotation , y- rotation and z-rotation by java script inside studio (default in Home.js) and so create some animation behavior.
I think there was in some of the forms an article hwo to create an animation of model items via java script - which will be an addtional questions
Regards
Hi,
may be here to clarify first -actually pvz is a zip file which contains the Creo View format : -extension .pvs - for assembly structure and .ol for model part geometry. When we embed such file then in Creo Iustrate .c3di then we can create animation and publish the Creo Illustrate file again to .pvz format . In this case the .pvz file will contain all models which are embed (imported into illustrate) but additionally it will contains for every animation a text file with extension .pvi.
This file is as mention contains the animation and is text file and could be extracted from the pvz file (simple copy it as zip and extract it)
The format defines for the entities of different components change of the properties and movements ( translation and rotation based on euler transform)
But back to the question- The current tool where you can create such pvi file is Creo Illustrate. So means having the Creo Illustrate license you can import also stl,sla, dwg, dxf, step, iges, vrml and other which are supported by the most CAD System tools. And then you can create you animation in the Creo Illustrate tool
Currently is not supported the import of animation from othere tools.
The pvi file syntax is internal PTC syntax and is not documented for external usage. But actually it is TEXT format if you are able to create it otherwise (mains by some not Creo related tool) it may work . Of course of this you need a structure of the assembly so I believe it supports only the pvs assembly.
When for example your export form non- PTC CAD tool an assembly to step and then in Thingworx Studio internally the STEP file (containing assembly) will be converted to pvz format.
You can find this pvz file in the ..ThingWorxStudio\Projects\<YourProjectName>\src\phone\resources\Uploaded” directory. So now for this file a pvi animation file could be applicable
An other approach of animation will be to create for a different components of you assembly model (let say was imported from a step file) a different 3d modelitems. You can change the color , transparence, scale factor , x, y,z , x-rotation , y- rotation and z-rotation by java script inside studio (default in Home.js) and so create some animation behavior.
I think there was in some of the forms an article hwo to create an animation of model items via java script - which will be an addtional questions
Regards