Intro to Python Scripting: 24 Recursion Cracking
In this tutorial we create a cracking algorithm using recursion in python. This tutorial is inspired by the Aranda/Lasch Pamphlet Architecture 27 : Tooling. It's an awesome book, I highly reccommend. Anyway, we start with a polygon and find it's area centroid. We then explode the polygon and extract each of the line segements. For each line segment we get the start and endpoints of the line and create a new polygon from those points and the centroid. We then add all of those new polygons to the polygon list and repeat until the count gets to zero.
Intro to Python Scripting: 23 Recursion Koch Curve
In this tutorial we once again take a look at recursion. This time we look at creating the Koch Curve using recursion. This is similar to the C# version I did for the Advanced GH Scripting. In this case we only do it for a line, instead of a polyline but for the most part the logic is similar.
Normalizing Isospans Pt2: Localization
This short video continues to look at the normalization of uneven isocurve spans, this time using a single opposing isocurve extraction to localize the normalizing effect. This video also covers the construction of a parametric UVW location on the surface, which can be achieved using the Construct XYZ Point component.
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.
Want to contribute to Designalyze?
Drop us a line and we'll work out all the details from there.