Rhino script tutorial pdf


















First, we are going to model the base surface and then we will divide it into two series of strips and make the panels from scratch. Concrete Planter. Weaverbird Sub-D. Rotating Spikes. Twisted Box. Rotating Boxes. Rhino 7 Multipipe.

Trefoil Knot. Circular Loft. Donut Fabrication. Parametric Stair. Parametric Building. Radial Mechanism. Parametric Fields. Mechanism Panels. Kinetic Stingray. Parametric Bench. Jewel Changi Airport. Load More. My Profile. Free Tutorials. What is Paracourse? Example Files. Course Plans.

PDF Library. ParaCourse Categories. What is ParaCourse? Now, try it with two closed curves. You will have a problem. For closed curves, Loft needs another input from you — the seam location. This is something that needs to be specified in the macro in the right sequence. So, you can either choose from various automatic seam options which are on a sub-option level or you can adjust it on screen.

Either way, you need to modify the macro. Unfortunately, the same macro will not work correctly for both open and closed curves because of the extra seam option required. This is one of the limitations of the macro system and the way some Rhino commands have been written.

Macros can also be used to set various GUI and Document Properties options automatically without having to go wading into the Options dialog. You need one Enter to exit the sublevel and go back to the main level, and one more to exit the command. Some scripts might even require three enters. The following is from Jeff LaSor, for turning on or off the crosshair cursor:. Notice the reference to each individual command option name. Specifying them inside the script is like clicking on them with the mouse.

Also note the 3 'enter' entries. Since each command option in this case takes you down into a new set of sub-level command options, an 'enter' is required to take you back up. Since this script went down 3 levels, it needs to specify 3 enters to get all the way out of the command. OR, if you just use an exclamation point '! Note — if you want to continue your macro with something else, do not use!

The script above simply toggles the crosshairs ON and OFF, but let's say you wanted a script that always turned them ON and another that always turned them OFF…here's what they would look like:. Note the use of the '! There are some handy tricks for doing more complex macros. There are also possibilities to name objects, group them and name the group and then recall them later by that object name or group name. See if you can follow the logical sequence. Beware, if you terminate the command before Setredrawon, you will think Rhino is dead, as the screen no longer updates.

As a final example, the following macro creates a point centered on a 2D planar or text object and grouped with it. It pre-supposes that you're in the same view the text was created in, and that the object is really 2D and planar otherwise it will likely fail.

Note the use of a named group and various selection commands. It will run without those as well, though. McNeel Wiki. Site Tools Search. Sidebar Sitemap. Rhino pour Windows. Rhino pour Mac. Cloud Zoo.



0コメント

  • 1000 / 1000