I've created a plugin (hurrah for Monkey!) from the most useful of the scripts that I've written, and a toolbar to go with it. The download link is at the bottom of the page. If you'd like a copy of the original scripts, just email me!
Commands
The commands currently available in the PetersTools plug-in are as follows:
BOM and object properties tools:
BOM - Calculates object weights based on density and exports object notes and other attributes to an excel spreadsheet. (note: objects need to have a 'real material' assigned in order to do the weight calculations.)
SetRealMaterial - Allows you to assign a material to objects (includes a way to create custom materials!)
SetObjectNote - Lets you add text to an object. This info is also output when using the "BOM" command
SelObjectsWithNoObjectNote - Select objects that don't have any object notes associated with them.
SelObjectsWithNoRealMaterial - Select objects that don't have any real material assigned to them.
SelUnnamed - Selects all unnamed objects.
MatchObjectNote - Matches object notes.
MatchRealMaterial - Matches object real materials.
NameObjects - Lets you name a bunch of objects in serial fashion (brings up a box for each object one by one.)
Geometry-creating or editing tools:
MagicCap - Creates a planar surface from any selection of curves and/or surface edges. Click to see how it works!
JoinCurvesByClosestEnds - Joins two curves by closest ends by adding two straight lines.
QuickCage - Click one of 15 numbers (1 through 16) on the command line, and the tool creates a bounding-box cage around your object with that many points in each direction. Great for quick edits.
SplitBoth - Splits two sets of surfaces with each other.
SplitWithEdgesAndCurves - Script that basically automates typing in 'crv' after picking the split command.
TrimAtLine - Prompts you to draw a line to use as a trim line, pick whatever you want to trim, then right-click to delete the line.
TrimAtZero - Same, but starts line at 0,0
SetX - Flattens an object in the X direction.
SetX_To_0 - Flattens an object in the X direction to 0.
SetY - Flattens an object in the Y direction.
SetY_To_0 - Flattens an object in the Y direction to 0.
SetZ - Flattens an object in the Z direction.
SetZ_To_0 - Flattens an object in the Z direction to 0.
File utilities:
BatchSaveSmall - Lets you automate saving a folder of Rhino files small (including subfolders, optionally)
Open3dmFileInNewWorkspace - Opens a Rhino file without closing the currently open rhino file.
OpenSelectedInNewWorkspace - Opens the currently selected objects in a new Rhino window.
PickScriptFromFolder - This script creates a list of the scripts that are on your computer (well, in your search paths)
Project timer tools:
SetProjectNumber - Allows you to enter a project number as a bit of document data.
TimerOpen - Opens file with the data about when you started & stopped your projects.
TimerStart - Starts a timer (based on the project number & your computer's clock.)
TimerStop - Stops the timer. (thanks to David Rutten for help on these timer scripts.)
Misc tools:
DotWithData - Adds annotation dots with part names or real materials or object volumes to all parts. (Thanks to David Rutten for a function that I used in this script to find the 'middle' of the objects.)
HideCurves - Hides all visible curves.
HidePoints - Hides all visible points.
ZoomToUnlocked - Zooms to all unlocked objects ('normal' objects)
ZoomToUnlockedAll - Same as zoom to unlocked, but all views
Installation
Copy the "PetersTools.rhp" file to your "Rhinoceros 4.0\Plug-ins" folder.
Copy the "PetersTools.tb" file to wherever you like to keep toolbars.
Start Rhino.
Run "PluginManager" and press the install button. Browse to your "Rhinoceros 4.0\Plug-ins" directory and select "PetersTools.rhp".
Load the toolbar that you saved.
Please note: there is an issue when running scripts that are compiled with Monkey when you are also running the T-splines plugin. I have not heard of any crashes related to this, just failure of tools to work, but be cautious and save often.