wiki:sns:snsscript:getting_started
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:sns:snsscript:getting_started [2017/07/14 09:02] – created zach | wiki:sns:snsscript:getting_started [2017/07/14 14:03] (current) – claire | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Getting Started===== | + | ~~NOTOC~~ |
+ | ======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]]\\ | ||
[[Convergence Study]]\\ | [[Convergence Study]]\\ |
wiki/sns/snsscript/getting_started.1500044571.txt.gz · Last modified: 2017/07/14 09:02 by zach