In this tutorial, we modify the Grasshopper plugin template to add additional parameters to the spiral component. We begin by investigating how the current spiral code works and test how we might make the spiral go in the opposite direction. It turns out that flipping the spiral is a pretty easy thing to accomplish, we just need to change some plane/vector directions and we can do this by switching the plus (+) and minus (-) signs in the CreateSpiral() method. Because we would like to be able to control this flip we need to handle two separate cases--flipped and un-flipped.
↧