wiki:sns:snsscript:getting_started
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:sns:snsscript:getting_started [2017/07/14 13:47] – claire | wiki:sns:snsscript:getting_started [2017/07/14 14:03] (current) – claire | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ~~NOTOC~~ | ||
| ======Getting Started====== | ======Getting Started====== | ||
| - | The easiest way to learn SnSScript is to jump right in and try it in the RhinoScript editor in Rhino: | + | The easiest way to learn SnSScript is to jump right in and try it in the [[https:// |
| + | |||
| + | ====Editing a script==== | ||
| + | A script can be edited by running the **EditScript** command in Rhino. | ||
| + | |||
| + | The left menu contains all of the Rhino methods that can be called from RhinoScript. | ||
| + | |||
| + | ====Running a script==== | ||
| + | Scripts can be executed within the editing interface (**EditScript**) by pressing **F5**; selecting **Source** > **Run**; or by clicking the **Run this script** icon. | ||
| + | |||
| + | In the Rhino interface itself, the scripts can be loaded from the file system by selecting **Tools** > **Rhinoscript** > **Load...**. | ||
| + | |||
| + | A script can then be opened and executed. | ||
| + | |||
| + | ====Tips==== | ||
| + | While all of the geometry methods are available in RhinoScript, | ||
| + | |||
| + | If a Rhino solid already has loads and restraints set up, SnSScript will use that scenario when it is called to run on that solid. | ||
| - | **Tools > RhinoScript > Edit...** | ||
| Run the following examples by cutting and pasting the code from your browser into the RhinoScript editor. | Run the following examples by cutting and pasting the code from your browser into the RhinoScript editor. | ||
| - | ----- | + | |
| ====Basic Examples==== | ====Basic Examples==== | ||
| [[Short Example]]\\ | [[Short Example]]\\ | ||
wiki/sns/snsscript/getting_started.1500061637.txt.gz · Last modified: 2017/07/14 13:47 by claire