Hereís a list of links for learning more about Rhino and Python. Please let me know about any valuable resources that you may find and Iíll add them to this list.
There is a wealth of information on Python at http://www.python.org/
OnlineThe Python Tutorial - http://docs.python.org/tutorial/
Python Docs - http://docs.python.org/
BooksPython Essential Reference by David Beazley - http://www.amazon.com/exec/obidos/ISBN=0672329786
The python scripting languages contains a large set of features which you can find documentation on at http://docs.python.org/tutorial/. Iím going to just focus on a few keywords and concepts that may be helpful to get you up and running.
Concept 1: Space is Important
For people who have written code or scripts in other languages, this is one of the most unusual concepts when transitioning to Python. Python uses indentation to define "blocks" of code. The script is
Updated 04-07-2010 at 08:22 PM by Steve Baer
So you want to start playing with Python and see how you can use it to automate all of your Rhino tasks.
First off you are going to need either the latest Rhino 5 for Windows WIP or the latest Rhino for OSX WIP. These can be found at:
Once youíve got everything installed Rhino will have some new commands:
EditPythonScript - This is currently only available
Updated 04-07-2010 at 08:19 PM by Steve Baer
If you are coming here from our Ning site, thanks for transferring over and sorry about the switch. Ning was having problems dealing with formatted code in forum and blog posts which is somewhat bad for a site devoted to scripting
Youíve probably already figured out that this site is all about using the Python scripting language inside of Rhino (hopefully it wasnít too difficult to figure out.) Python embedded in Rhino is a new feature that we are actively working on in both our Windows