Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:scriptsamples:batchextractthumbnails [2015/09/14]
127.0.0.1 external edit
developer:scriptsamples:batchextractthumbnails [2016/01/13] (current)
sandy
Line 1: Line 1:
 ====== Extracting Thumbnail Preview Images ====== ====== Extracting Thumbnail Preview Images ======
 > **Developer:​** [[developer:​rhinoscript|RhinoScript]] > **Developer:​** [[developer:​rhinoscript|RhinoScript]]
-> **Summary:​** //​Demonstrates how to extract the thumbnail preview image from .3DM files using RhinoScript.//+> **Summary:​** //​Demonstrates how to extract the thumbnail preview image from .3dm files using RhinoScript//​
  
 =====Question===== =====Question=====
-I would like to be able to view the thumbnail images of Rhino .3DM files on our web site. Is there a way to quickly extract these to .JPG files?+I would like to view the thumbnail images of Rhino .3dm files on our web site. Is there a way to quickly extract these to .JPG files?
  
 =====Answer===== =====Answer=====
-RhinoScript'​s **ExtractPreviewImage** function will extract a preview image from the current document, or from any specified .3DM file.+RhinoScript'​s **ExtractPreviewImage** function will extract a preview image from the current document, or from any specified .3dm file.
  
-The following sample script will process all of of the .3DM files in a selected folder and extract their thumbnail preview images to .JPG files.+The following sample script will process all the .3dm files in a selected folder and extract their thumbnail preview images to .JPG files.
  
 **[[http://​wiki.mcneel.com/​_media/​legacy/​en/​BatchExtractThumbnails.zip|Download the script here!]]** **[[http://​wiki.mcneel.com/​_media/​legacy/​en/​BatchExtractThumbnails.zip|Download the script here!]]**
developer/scriptsamples/batchextractthumbnails.txt ยท Last modified: 2016/01/13 by sandy