
|
Pure Code |
|
|
|
|
|
|||
|
The second part is new, what happens here? Before the script calculates
the scaling factor I added With the Of course you could do the scaling also with RhinoScript methods, but the native Rhino command handles a lot of error checking for us. But how to use such a RhinoScript if we don't want to run it from the _EditScript window each time? Well there are many ways to implement scripts and each has its pros and contras. For now we simply attach it to the _RunScript command, which you can put into a button, alias or shortcut: |
|||
|
|
|||