Grasshopper

algorithmic modeling for Rhino

Views: 139

Comment

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

Comment by Ortler Mark on August 14, 2017 at 7:12am

Ur rgiht with the grammar... 
There are

  • Operators{...}
  • $Keywords
  • Locals
  • Iterators{[Merger] ...}

Have a look at QEDS...

There each node (vertex/face) has Properties/Operators/Iterators seen in the picture above. 
Beside there is a local Key-Value-Database (Key=string, Value=GH_Variant) assigned to them prior. 

Getting them is as simple as using the key as a variable in an expression. 
The locals are going to be parsed (finaly) by the gh-internal parser and set as variables.

Have a look at this example.

Comment by Daniel González Abalde on August 14, 2017 at 5:43am

Can you explain what is behind this? It seems to assign behavioral instructions to mesh vertices using your own grammar, is that correct? In that case, it would be good to include custom attributes to the vertices, like $Attribute[index] or $Attribute["name"].

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service