Grasshopper

algorithmic modeling for Rhino

Add Attributes to Geometry directly in Grasshoper without Baking?

Hi,

does anyone know if there is a way to add attributes to geometry directly in Grasshopper? The only way I figured out so far is to bake the geometry with its attributes into Rhino and then reference it back into Grasshopper.

I am aware of the BIG concept using multiple Grasshoper scripts and Rhino files as data exchange platforms. But for not-so-complex projects, I feel a component that takes geometry&attributes as inputs and gives extended geometry as output could be useful.

Or am I missing something here?

I attach a file with an attempt to model reinforcement bars for concrete structures. The idea is to create one single rebar, and then aggregate a number of them into a "compound" object.

Best regards

Stefan

Views: 3253

Attachments:

Replies to This Discussion

Hi Stefan,

The problem with assigning attributes to grasshopper geometry is that object attributes are not consistently preserved while passing through grasshopper components. Also, any modifications made to these attributes are applied upstream, which goes against grasshopper logic.
To mitigate this, the latest EleFront has a full suite of components to create and modify attributes independent from host geometry.
You can filter these attributes by certain values, while filtering the geometry in parallel.
All you need to do is maintain the attributes in parallel to the geometry. This approach will give you full control over which attributes to inherit from which objects at any geometric operation.

Hi Ramon,

thanks a lot for the reply!

I think I'm getting the hang of it :)

Once more: thanks a lot for the powerful tool! At the moment, I can only imagine what could be done with this concept.

Best regards,

Stefan

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service