Skip to main content
13-Aquamarine
December 14, 2010
Question

compressed 3d thumbnails in productview????

  • December 14, 2010
  • 0 replies
  • 529 views
I've been trying to find out how to create the compressed Productview thumbnails shown in PTC's Productview demo. The ship demo.


3. In the Parameters|Miscellaneous tab in the recipe editor specify the level of thumbnail creation. This is the level within the hierarchy where the thumbnails that are shown in the movie are created. Level 1 means : create a thumbnail for all sub-assemblies at level one in the hierarchy. Level 2 means second level , etc. The choice of level depends on how the data is structured. An assembly with lots of sub-assemblies of the root node, for example, would work well with "level 1". If the structure is more evenly distributed you may want to add the thumbnails at level 2. Currently, you can only specify that assembly thumbnails get published for a single level (whether it is 1, 2, etc.)

4. Save the recipe file

5. Run the pvsthumb executable (it's in the bin folder under (typically) c:\ptc\productview_adapters ) with the recipe file just created as follows:

pvsthumb <recipe file="> <pvs file="> -o <new pvs=" file=" name=">

e.g. pvsthumb thumb.rcp mypvs.pvs -o mypvswiththumbnails.pvs



This can take some time for huge assemblies (maybe an hour or more). It will create a bunch of .pvt files (3D thumbnails - they're actually .ol files renamed) and a new pvs file.


Load the pvs file into ProductView. If it's 9.1. I believe you should see the 3D thunbnails load automatically. You can drill down by double clicking on the 3D thumbnails.

My results are:
Only three new files are created. A .pvs file, a .jpg file, and a .pvt file.

No new .pvs's got created for the existing .ol files.

I tried this with the recipe file set for level 1 and level 2. Same results.
file=pvsthumb-rcp
ver=5
lastp=spec
adapter/createSubModel=1


The command to create the 3d-thumbnails

C:\ptc\cad_viewables\thumb_test\level_1>C:\ptc\productview_adapters\bin\pvsthumb.exe C:\ptc\productview_adapters\bin\3d_thumb_level_1.rcp dah-tps-plumbing-fit-layout_asm.pvs -o thumbnail_level_1.pvs


Last few lines of output:

Loading dah-tps-plumbing-fit-layout_asm_306.ol : COMPLETE

Loading dah-tps-plumbing-fit-layout_asm_304.ol : COMPLETE

Loading dah-tps-plumbing-fit-layout_asm_288.ol : COMPLETE

Loading dah-tps-plumbing-fit-layout_asm_307.ol : COMPLETE

Loading dah-tps-plumbing-fit-layout_asm_291.ol : COMPLETE

Writing Image : COMPLETE

Generating Output : COMPLETE



My model structure looks like this. Which I think should give me at least 8 compressed thumbnails.



[cid:image001.png@01CB9B7A.6DB9CE40]



Anyone know what I'm doing wrong?

David Haigh
Phone: 925-424-3931
Fax: 925-423-7496
Lawrence Livermore National Lab
7000 East Ave, L-362
Livermore, CA 94550


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.