2013 update: this is probably a better way to go.
------------------------------------
Cross posted here.
UPDATED TO WORK WITH VERSION 0.8.0010
Lately, in some of my work I have been investigating unfolding complex forms with Grasshopper. The newest release of Grasshopper enables the use of Compound Transformations, which makes it possible to quite efficiently unfold strips of planar surfaces. In the past I have had to use pepakura or other similar utilities to perform the unfolding outside of Rhino, or alternately a slow faux-recursive method where I essentially unfold one segment of the polysurface at a time.
Below are a few definitions making use of this new capability.
The first, here (unfold_surface_strips.ghx), simply takes a list of surfaces that adjoin each other at an edge and unfolds them flat.
The second (triangulated_surface_strip_tool.ghx) utilizes the same processes in the first to unfold a triangulated version of an input surface. Strips can be evaluated in the U or V direction.
Finally, with the right settings on the same definition (setting V divisions to 1 and U divisions to some high number) it can be used to substitute for the UnrollSrf command in Rhino with a high degree of accuracy. This is an improvement in efficiency and accuracy over my earlier Unroll definition.
kleerkoat
Mar 29, 2011
Archieboy
May 29, 2011
Andrew Heumann
May 29, 2011
Archieboy
Hi Andrew, this window pops up when I tired to open your first unroll polysurface script. And I can open your second script perfectly. I'm using Rhino 4 sr9 and GH 0.8.0010. And for the second question, is this a joined polysurf or a series of srfs which you have to select them one by one in sequence? All I want to do is to unroll a polysrf, say a tetrahedron, if I use unroll command in rhino, it will unroll every single srf, however, I want to do something similar to your first post, linking adjacent srf together and then I can fold them later on.
May 29, 2011
Archieboy
May 29, 2011
Andrew Heumann
May 29, 2011
RWNB
May 30, 2011
Ken Sit
hi andrew,
thanks for the script. I'm a little lost as to how you operate the script. I've been trying to unfold a surface that's already separated into different strips like pepakura but having no results out of it. could you please give some direction has to how to operate the script?
thanks.
Nov 21, 2011
Derenik Baghramian
Feb 3, 2012
Derenik Baghramian
I have some surface like this.i want to unfold it ho i can do it?
Feb 3, 2012
tiqué
Andrew can you please also tell how to put name tags and angle tags on the same unfold pattern.
Jun 17, 2012
Arthur Mamou-Mani
Thanks a lot Andrew. Have you tried doing the unfold_surface_strips.ghx using several strips as input? I am struggling to find where to adjust the definition to make it branched-list friendly (file here).
Nov 25, 2013
Andrew Heumann
Hi arthur - this post is very old. Much better ways to do things now - see this script
Nov 27, 2013
Arthur Mamou-Mani
That's brilliant Andrew! thanks so much.
Nov 27, 2013
Carina Carmo
Hi Andrew,
It really seems brilliant! But unfortunately It is not working.
The script that i downloaded was the last one (November 27, 2013)
There are 3 errors:
1. Before solution exception: access denied
2. solution exception: access denied
3. After solution exception:access denied
I hope you can help,
many thanks,
Carina
Oct 8, 2014
Nathan Melenbrink
Hi Andrew and All,
Unrolling for fabrication has been a recurring issue for me in both my teaching and professional work. I'm posting here because Andrew's definitions are the best I've found yet (other than using Pepakura). First, does anyone know of any reliable add-on or custom component that does this within GH? I tried FabTools and some others than claim to do this, but without much success.
If it seems that indeed there isn't a suitable alternative to Pepakura, I'm comfortable enough with C# to give it a shot with a custom component. I would hope to include the functionality of Andrew's definition, and could replicate more Pepakura features such as tabs for gluing, and ridge/valley fold lines separated by layer. Of course I don't have access to Pepakura's source code, but I assume they're using some kind of greedy algorithm to split the mesh into as few contiguous parts as possible, which would also be helpful. A tool like that would be really helpful for me, and I assume others might find it useful as well. What do you think?
Jan 7, 2015
Andrew Heumann
Hi Nathan -
Glad these definitions have proven useful - but it's been a long time since the developers exposed rhino's native "unroll" functionality into rhinocommon, so many plug-ins and scripts exist to do the same thing as this. You can try this simple script: UnrollBrep.gh and I also hear good things about the unfold script in TT Toolbox.
Jan 7, 2015
Nathan Melenbrink
Hi Andrew,
Thanks for the quick reply. Yes, I've seen the Rhinocommon wiki on the unroll function. It's a good start but lacks the functionality I'm looking for. TT Toolbox is great but also doesn't offer any more functionality in terms of unrolling. But thank you for the suggestion. I'll give it a shot on my own and post back here when I get something...
Jan 7, 2015