algorithmic modeling for Rhino
I made this script for capturing screenshots to files automatically. You can create image file ( bmp, tga, jpg, pcx, png, tif ) from current view with using Rhino -ViewCaptureToFile
I used this for making sequence for animation Alphabetical Echo
Note:
- Write to PathToFile like C:\Users , without final "\"
- Extension can be bmp, tga, jpg, pcx, png or tif
- Don't forget to set Activate to "False" before close the GH file
UserObject: Current View Capture.ghuser | UserObject lies in User/Default menu
Example GH file: Current View Capture.gh
Tags:
It seems the folder is not allowed to be empty. If there is any content it works.
Does it have to do with the extra "\" in the created path maybe?
I've used the function "PathToFile" for detect of existing of path. But it only work when in folder exist at least one any file.
I'll try to search other way for detecting not existing folder.
that's just splendid,
thanks for sharing!
Thanks for this, its been very helpful so far. Right now I'm trying to adapt it to work with Multi View Capture. I don't really know vb script at all so I'm struggling with how to get it to work. I found the line where it says "app.RunScript("-viewcapturetofile" and I changed it to the command _MultiViewCapture but it gets hung up and wont let me continue without pressing enter or clicking Capture.
Does anyone know how to get around this? I'm trying to automate my definition so I won't be able to press enter.
is it possible to add a zoom function?
I mean zoom to a bounding box of specific object, then zoom factor to 1.1 , so the image fills the viewport without any white boarded.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by