犀牛编程高级教程 Rhinoscrip RS Scripts in Rhino RVB.pdf
Scripts in Rhino
What is a script?
A script is a set of instruction that run within a host program.
How is this different than a plug-in?
When we run a script, the program must translate the information as it uses it. Plug-ins
are already compiled when we run them. This means that Plug-ins generally run much
faster than scripts. Plug-ins also need to be installed, while scripts don’t. Plugins often
come with toolbars. Script usually don’t.
As scripts are more basic in nature, they are more accessible. There are many more
people writing scripts than plug-ins, and therefore scripts are much more common.
Also, it is very easy to change a script. Plug-ins, in contrast do not come with the code
that generates them, so they are a “take it or leave it” situation.
Where can I find scripts?
There are many online resources for scripts. Simply type “Rhino script” or something
more descriptive like “Rhino script surfaces” in Google. You will find many people
(bloggers in particular) are sharing their scripts online. If you use the images filter in
Google, you can quickly see it the webpage approximates what you are looking for.
A huge repository for links to scripts can be found here…
/
You can also find some interesting scripts here…
/BLAST/index.php?title=Category:RhinoScript
Where can I get help if I want to create scripts myself?
The scripting language used for Rhino is called RhinoScript. There is an extensive help
menu built into Monkey’s interface. Just go to the Help menu to access all the available
functions, plus there is also a link in the menu to RhinoScript 101, a PDF primer for how
to program in RhinoScript.
You can also ask questions about scripts on the main online forum here…
/scripts/dnewsweb.exe?cmd=xover&group=rhino
Use the Search tool to narrow down what you are looking for.
Script interface
There is no standard user interface for scripts. Some script will create everythi