Grasshopper 101: Data Filtering | #08 Labeling Planar Geometry | EXERCISE
In this exercise, we are going to practice working with indices in Grasshopper. We are going to create text tags for a set of circles using their indices and identify the largest circle on the list by displaying its radius. And we will do that by applying custom mathematical expressions.
Have fun!
This video is an introductory tutorial for beginners.
CHAPTERS:
00:00 Intro
00:23 Reference geometry into Grasshopper
00:40 Text Tag 3D component
01:06 Finding center points of planar closed curves
01:55 Using the Item Index component for text input
02:39 Scaling objects uniformly with the Scale component
03:02 Scaling objects individually in Grasshopper
03:42 Point On Curve component
04:57 Introduction to the Expression component
05:38 The list of available functions in the Expression component
05:54 Calculating the radius with the Expression component
07:25 Finding the largest value on a list with Deconstruct Domain
07:54 Extracting an index of a specific member in a list
08:34 Extracting an object from a list matching a specific value
09:16 Combine text fragments for labels
10:16 Extracting more than one object matching a specific value
10:32 Labels for fabrication, text for engraving with Open Nest
10:55 Rounding numbers, text format options, dimensions
COMPONENTS:
The Area component
Text Tag 3D component
The Scale component
The Point On Curve component
The Item Index component
The Expression component
The Bounds component
The Deconstruct Domain component
The Member Index component
The List Item component
The Concatenate component
The Text component for engraving from OpenNest
HOMEWORK MATERIAL
Text Format:
https://discourse.mcneel.com/t/grasshopper-format-component/96951/6
Rounding numbers:
https://discourse.mcneel.com/t/how-to-format-numbers-text-to-2-decimal-places/60086/10
Finding Radius:
You can find the radius of a circle with the "Deconstruct Arc" component, or create a line between the centroid and "Point on Curve" on the circle and measure the length of that line with the "Length" component.
RECOMMENDED TUTORIALS
Member Index and Item Index in detail here: https://youtu.be/BcZsZYdeBdw
OpenNest intro: https://youtu.be/3u3rXvBOgJs
LINKS
Add-ons: https://www.food4rhino.com/
Forum: https://discourse.mcneel.com/
Grasshopper component library: http://grasshopperdocs.com/
CONTACT US AT:
https://www.learn-visual-programming.com
Narrated by: Lina Vestarte
_
Click LIKE, if you find the tutorial useful.
Have a question or suggestion? Leave a comment below!
Never miss a new tutorial - SUBSCRIBE :)