algorithmic modeling for Rhino

Grasshopper by default allows you to save individual components and clusters as "user objects," which can be re-used over and over again. However, sometimes you want to save a group of components without clustering them - like a component with pre-defined value lists or sliders attached, or special configurations with plugins like kangaroo, honeybee, or anemone.

The attached script lets you do just that - create a user object that can automatically place multiple components at a time. Place the "Create Snippet" component in a group with a set of other components, and set the input toggle to "true." It will create a new, disabled "Place Snippet" component over the top of it. This component automatically transforms into your snippet as soon as it is enabled - so there's a bit of a trick in order to save it as a user object. First, disable the solver. Then enable the Place Snippet component, highlight it, and save it as a user object. Then, any time you place the user object, it will automatically reinstantiate the group of components you saved. 

Click here to download the script

Views: 2283


You need to be a member of Grasshopper to add comments!

Join Grasshopper

Comment by Siemen on October 16, 2015 at 4:52am


Comment by Daniel González Abalde on October 16, 2015 at 3:23am

Wow, very elegant! thank you Andrew!

Comment by Samuel Dell'Anna on October 16, 2015 at 1:08am

Very useful! This somewhat relates to a request I made yesterday:

Comment by nardo chai on October 16, 2015 at 12:02am

Looks good! Thanks for sharing!





  • Add Photos
  • View All

© 2019   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service