Experimenting With Grasshopper: Generated Pattern
473 Views, 0 Favorites, 0 Comments
Experimenting With Grasshopper: Generated Pattern
This is a first attempt at using Rhino with grasshopper to create computational designs. The main method used is using 2 input points to generate a cloud of points that are then connected by lines and extruded.
Connecting Inputs in Grasshopper
Started out by trying to connect Rhino points and integer slider as input into Grasshopper. Apparently input from integer sliders' type hint has to be explicitly set to integer in order for Python component to treat the input as an integer. Otherwise, we can get errors like these where range() doesn't like the input because the program considers it to be a float.
Tweaking Parameters
After setting the type hint for the integer slider, we are able to start getting some generated pattern of points. The first one that was produced seems too simple with just a few grids. So by playing with the parameters, we are able to get more interesting patterns with more intricacies.
Connecting the Dots
Adding a distance function to connect points beyond a certain threshold to start shaping the pattern more with lines.
Extruding
Extruding the pattern shows that some of the intersections will have a gap in them because those lines don't extend all the way to account for the thickness.
Slicing
Exported the pattern as an .stl and sliced it in Ultimaker Cura. It seems like the design is way too tiny so went back into Rhino, undid the bake, and moved the original input points to cover a larger area.