dfma.tools

Squirrel

A grab-bag of eight free Rhino quality-of-life commands. Find/replace names, 3D dimensions, lay-flat, select-by-user-text, Pillbug-ready sheet metal sublayer scaffolding, and more.

Eight daily-use commands that have been squirreled away in a personal scripts folder for too long. Bundled, named, and shipped as one yak install so they show up properly in the Rhino command line.

Free, MIT, no telemetry, no phone-home. The plugin that registers them is a thin C# wrapper around small Python scripts -- you can read every line of source.

What it does

  • _SquirrelFindReplaceNames -- find/replace strings across selected object names. The reason this exists: mirroring a port-side assembly to starboard and changing every "port" in the names to "stbd" without clicking through one object at a time.
  • _SquirrelDim3D -- 3D linear dimension between any two picked points, with dynamic preview as you place the third point.
  • _SquirrelLayFlat -- pick a face, the object orients so that face sits on the cplane, face up. Useful for fab-orientation views.
  • _SquirrelSelectByUserText -- SelName-style picker but against user-text key/value pairs, not object names.
  • _SquirrelMakeFabSublayers -- creates the layer scaffolding Pillbug writes its flat patterns into: Inside cut (magenta), Mark (dark green), Outside cut (blue) sublayers under a chosen layer. Run this on the layer where you want flat patterns to land, then run Pillbug -- your sublayers are already in place.
  • _SquirrelExpandLayers / _SquirrelCollapseLayers -- expand or collapse every layer in the layers panel in one shot.
  • _SquirrelLengthAttribute -- compute curve length, write it back as a user-text attribute. Handy for cut-list workflows (and feeds Retriever's stick-nesting input).

What it isn't

  • Not a parametric design plugin. No Grasshopper components, no geometry generators. These are all small, focused commands.
  • Not an alternative to Pillbug or Elephant. If you need sheet metal unfolding or durable object identity through destructive operations, those are separate products in this catalog.
  • Not a script editor or runner. Squirrel commands run their scripts for you; if you want to edit them, the source is in the package's scripts/ directory and on GitHub.

Why it exists

The Rhino plugin ecosystem has a missing middle: lots of small, useful commands that sit in personal c:\scripts\ folders and never get shared, because shipping a single 30-line script as a yak package is overkill, and food4rhino's listing UX punishes anything without a proper plugin chrome.

Squirrel is what happens when you batch eight of those scripts into one package, give each a real Rhino command name, and ship it. Roughly the same time investment as one product, eight times the daily-use surface area.

Install

  1. In Rhino 8, type _PackageManager.
  2. Search squirrel and install.
  3. Restart Rhino. Run _Squirrel to see the command list.

License

MIT. Modify, redistribute, fork. Source on github.com/travw/squirrel.

Support

Use the support form for bugs or feature ideas. If a script needs to do one more thing to be useful to you, that's exactly the right kind of feature request.

System requirements

  • Rhino 8 (Windows or Mac)