Grasshopper

algorithmic modeling for Rhino

Is there a way to have a recursive user component?

Hi... I have created a user component with several inputs and outputs that generates a structure.  To generate the next structure in the sequence there is a dependence on one of the output from the first instance.

 

For example a user-component is given a starting location.  It creates its structure and then provides an ending location as one of the outputs.  That ending location is then fed into another instance of the user-component as the next starting location and the process repeats.

 

Is there any trick to making this have the ability to be recursive so that I don't have to put multiples of the user-component on the design?  I would rather just provide the number of recursions of the user-component I want and have it generate that many iterations of the structure.

 

 

Views: 122

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2026   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service