SnippetManager
(by Boudewijn Thomas)
Tool for quick importing and exporting of Grasshopper snippets
Downloads:
330
Support Email

SnippetManager is a plug-in for Grasshopper offering import and export functions. You can find these functions under the File toolstrip menu in Grasshopper.

I often encounter larger and smaller scripts containing useful snippets. Finding, extracting and re-using these snippets is a tedious process and more often results in re-making them. Therefor I developed two functions for Grasshopper that aid in the creation and use of snippets: import and export for .gh files.

For support installing this plugin, please do not use the comments below, but use the grasshopper and rhino forum at discourse.mcneel.com with the tag snippetmanager.

How to use

Exporting

  1. Select some component(s) on the Grasshopper canvas
  2. Navigate to the File toolstrip menu
  3. Click on “Export selected as snippet…”
  4. Choose a destination to save the snippet

The snippet will be saved as a new .gh file in the chosen destination and the selection will be automatically placed in the positive quadrant near the origin of the Grasshopper canvas.

Importing

  1. Navigate to the File toolstrip menu
  2. Click on “Place”
  3. Navigate to the the .gh file you wish to import and Open

Any components in the positive domain of the Grasshopper canvas in the selected file will be now be placed in the center of your screen in your current Grasshopper canvas. The imported snippet will be automatically grouped and named according to your file name, as well as selected so it is easy to reposition.

Installation

Package manager: Using rhino 6+'s experimental package manager/yak (from version 0.3.0): using the command TestPackageManager (needs to be implemented)

Manual installation: Download the .zip file, and place in grasshopper component folder.

The plugin has not been tested on Mac OSX.

Version

2020-09-28: Version 1.0.1: Initial Release

API's may change, components may change, and things may stop working in the way they do now in the future.

TODO

  • Snippet importing currently does not appear in the history, therefor the importing action cannot be undone or redone.
  • CTRL+E shortcut currently conflicts with GH enable/disable

Credits

Arend van Waart for major help in coding and distribution.
Thanks to my colleagues at MVRDV NEXT (Sanne van der Burgh, Leo Stuckardt, Yayun Liu) for support, testing and thoughts.

Contact

Boudewijn.thomas@gmail.com

License Cost:
Downloads
For instructions on installing Grasshopper Add-Ons, please see FAQ for details.
Title
Description
Platform
 
Manual Install (1.0.1)
2020-09-28
Grasshopper for Rhino 4 & 5 for Win
Grasshopper for Rhino 6 for Win
Grasshopper for Rhino 7 for Win
Reviews