NOTES
Creating and transforming geometry
Point
Absolute value: (x, y, z)
Vectors
Geometric quantity describing Direction and Magnitude. The represent quantity, not a geometrical element. They look the same as points, but their location is not absolute. They are relative. Vectors are essentially an arrow in space that always starts at the origin.
Planes
Flat and extend infinitely in two directions. Planes are not “genuine” object in Rhino.
Other
Attractors – can be applied to any geometry in rhino or created in grasshopper. Can influence scale, rotation, color, and position. These parameters are changed based on their relationship to the attractor geometry.
Math
Domains – define a range of values
Matrix -array of numbers organized in rows/columns
Operators – perform math operations
Conditional operators –
Polynomials – computer factorials, logarithms, raise a number to nth power.
Scripts – scripting components
Time – allow you to construct instances of dates and times.
Utility – grab bag of useful components (find min/max values between two lists of numbers)
Logical Operators
Not – inverts the value on the right
And – requires both to be true in order to evaluate to be true.
List – a data structure that allows you to an ordered set of elements that represents the resulting data.
List options –
- List Length
- List Item
- Reverse List
- Shift List
- Insert Items
- Split List
- Sub List
Data matching – a rule used when a component has access to differently sized list inputs.
- Shortest list – shrink collection of lists to shortest length among them.
- Longest list – grow a collection of lists to longest length among them.
- Holistic – cross reference data from multiple lists
- Data can be stored in Hierarchical structures, where the lists can have paths describing the position of the data inside the tree.
Data Tree Structure
- Series for both x and y values – input step size (n) and count (c) of points.
- Graft X
- Construct point, simplify.
- View parameters, visualize data tree path (3D text tags in rhino), retrieve one graft point.
Manipulating Data Trees
- Graft – create new branch for every single data item
- Shift paths – remove path levels based on offset value
- Simplify – remove the overlap among all branches
- Flatten – removes all branch information