Automating Grasshopper Part 5
Unrolling Surfaces and Nesting them with python. In this tutorial we start with the tower that we were working on before and discretize it into quad panels. We automate the nesting of the panels based on their bounding polygons. This isn't super sophisticated nesting but it gets the job done. It's similar to these tutorials Quad Panel Fabrication and Laser Cutter Workflow but way faster. We actually don't do tabbing in this defintion, maybe in the next one. You can get the code for this and all the other lessons on our github.
Normalizing Uneven Isospans
This video looks at how to extract relatively evenly space isocurves from a surface despite the surface having irregular (or "stretched") parametric spans - otherwise known as normalizing isocurve spans. The tutorial covers critical Grasshopper skills like data manipulation (shifting indices, flipping matrices, list simplification, etc.) as well as sorting geometry lists using sortable keys (e.g. reordering a list of curves by ascending length). The resulting normalized isocurve extractions provide a more consistent pattern finish in a CAM process.
Intro to Python Scripting: 21 Polygon Class Pt2
In this tutorial we clean up our polygon python class a bit and make it a little more user friendly by changing the initialization/constructor method to include a user provided centerpoint. This means we need to rewrite the code a bit and we also need to pass a new origin parameter when we instantiate our class.
Intro to Python Scripting: 19 Simple Class
This is a very simple and somewhat useless class definition to create a line from two points. It does cover some basics of class creation in Python and is a stepping stone to some more interesting classes we will create later. You can find more info about classes in the Python documentation.
Swapping Geometry Using Thresholds
Using Grasshopper to mask surface morphed geometry once it hits a threshold and replacing it with another system. Topics covered include using the expression component, testing data against a number with the greater-than component, and dispatching geometry based upon a Boolean masking pattern.
Gradating Transformations Across Components
Using Grasshopper to gradate a basic transformation across a system of components to create variety. Topics covered include distance-based attraction and repulsion, remapping effect with simple multipliers, and controlling falloff using the graph mapper component.
Want to contribute to Designalyze?
Drop us a line and we'll work out all the details from there.