UPDATE: this script generates inaccurately spaced teeth. sorry! fixes in new version coming soon. (6.25.09)
Here’s some basic rhinoscript code to draw your own sprockets based on the number of desired teeth, chain pitch and roller diameter. It’s very basic, but enough to draw what you want and get some custom sprockets lasercut. Draw a circle that’s larger than what you think it’s going to be in top view, then run the code.
The following rhinoscript code calculates and draws a series of sun angles based on the time, day and latitude.
NOTE: in my test there’s something happening to the angles around noon causing them to be inaccurate because the calculations are based on cos values. All other times besides noon should be fine.
Updated version with nicer UI from Ezio. Thank you!
Rhino loves to crash when it attempts to mesh a large set of surfaces in one shot. This often happens when you go to render and Rhino has to mesh all the objects in the scene. The MultiMesh plugin meshes multiple objects one at a time. By meshing your enormous elaborately detailed scene before you render, you save time and your sanity.
Make your scripts beep at you when they’re done.
add the following code at the end of “sub main”, right before “end sub”
Here’s a Rhino plugin that automates the task of rendering multiple views objects within a single Rhino file.
Example Rhinoscript to import excel files into variables.
A basic Rhinoscript to rotate surfaces to align their normal to a point.
MultiPipe is a simple plugin for Rhino 4.0 to pipe multiple curves at once with start and end diameter options and cap type options. Unzip and install by dragging the plugin into Rhino. The command line for the tool is “MultiPipe’.