From the course: Grasshopper: Tips, Tricks, and Techniques

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Scripting your own unroller

Scripting your own unroller

- [Instructor] So in the last video, we were talking about unrolling and using unrolling in a workflow within Grasshopper. And we look at how there are lots of plug-ins that include unrolling components, but it's actually pretty easy to implement your own custom unrolling component so you don't ask your users to install additional plug-ins just to get that one piece of functionality. In this video I want to look at exactly how we can copy code from a sample published by Rhino, place it into a custom C# component and use it within Grasshopper. So here I have a version of this custom component that's working already. Here I have a version that I have just pasted the code in. So we're going to make this work like this. So if I look in this component, you can see what I've copied in, are just the basics, the essential steps, that were in that link describing how to unroll geometry with C#. So first line I'm creating the…

Contents