Rhinoscript main page
From ksteinfeWiki
Contents |
Getting Started
Quickstart Guide
Information on how to download and install what you need to get started in rhinoscript.
Rhinoscript Development Models
Macro Development
The most basic way to automate processes in Rhino, macros allow you to automate things you might otherwise do by hand.
Pseudocode
Rhinoscript is based on a programming syntax designed to be somewhat close to English vocabulary.
Simple Rhinoscript Development
Information about how to start writing and running rhinoscripts in the simplest and nerdiest way possible
Rhinoscript Development in Monkey
How to get around in rhino's handy Monkey development environment.
Basic Scripting Concepts
Variables
Variables are just that – a placeholder for information which may vary. Any time we wish to store information for use later in a script, for example, remembering the results of a calculation or the choice that a user makes, we must use a variable.
Primitive Data Types
Data types define the types of objects which can populate the rhinoscript world. These are the most basic.
Operators
Special symbols are used to describe and query relationships between objects.
Local Control Flow
Once you've learned how to perform basic data creation and manipulation, it's time to orchestrate those moves into larger pieces of code which perform more useful actions.
Global Control Flow
When developing a large or complex script, it's often useful to break off a discrete set of actions into it's own separate process. Using this technique, it's possible to generalize routines such that they can be used over and over again, without cluttering up your code.
Arrays
When data gets lumped together and can be manipulated as a group, we refer to this as a new type of object - the array. Arrays are a powerful and necessary tool when working in rhinoscript, but they can be a source of frustration as well if you don't have a good grasp of how they work.
Creating Geometry
Points
Lines
Curves
Surfaces
Meshes
Vector Mathematics
Vector Basics
Manipulating Vectors
Points and Vectors
Planes
User Input
Simple User Input
TODO: describe
Selecting Objects
TODO: describe
Advanced User Input Structures
TODO: describe
Exercises
Mathematic Alchemy
an introductory exercise which demonstrates how to plot points in rhino based on simple equations.
Multidim Mathematic Alchemy
extends the mathematic alchemy exercise so that we may plot lines rather than points. this requires knowledge of one-dimensional arrays.
Pseudoparametric Objects
restructures the mathematic alchemy exercise to take advantage of subroutine structures
Pseudoparametric Object Rewind
extends the pseudoparametric objects exercise as to take advantage of function structures and two-dimensional array structures.
