Grasshopper

algorithmic modeling for Rhino

# Tapeworm. A script for creating developable surfaces.

Dear grasshoppers.

Some people have shown interest in my Tapeworm script, so I'm posting it here for anyone to try.

There are some notations inside the VB script explaining what is going on.

Basically, the script deals with the surface as if it were a long series of connected planar quads and then outputs the vertices of those flat surfaces as two lists of points. These points can be made into either polylines or interpolated curves, resulting in either a faceted or a smooth surface.

The two most important inputs for the script are "bend" and "twist". They should be lists of values that determine the curvature for each segment and the direction of this curvature. Please note that both lists should be equal in length. Also, the more values (steps), the more accurate the surface will be. The resulting surface should become single-curved (developable) and unroll to a straight strip.

Some photos and videos.

Good luck! Feedback is welcome.

The Geometry of Bending

Raw grasshoppers should be eaten with caution, as they may contain tapeworms.
http://en.wikipedia.org/wiki/Grasshopper

Views: 4962

Comment

Join Grasshopper

Comment by Richard Schaffranek on January 27, 2017 at 9:54am

Hallo Marten,

thanks for sharing this a while ago, I was wondering if you have any experience with extending your script from deformed rectangles to boxes?

thx Richard

Comment by rik on March 20, 2014 at 7:29am

Hi Mårten and thank you very much for sharing tapeworm and in general your very interesting work about bending.

I have tried to use the definition, but I have had some problems, in particular the surfaces that are coming out of the baking are deformed when i doublecheck them via unroll.

I just need to bend+twist a very simple slender strip so that given a curve A laying on Y axis it gets to a curve B on axis Z without deforming the geometry and the length of the planar surface. It´s very easy with a strip of paper :-)

Thank you in advance and have a nice day!

Comment by g on October 18, 2013 at 4:50am

Hi there!

Does anybody know of a way of closeing the curve as if it were like a rubber band for example?

Cheers!

Comment by Luis Angel on September 2, 2013 at 1:07pm

Raw grasshoppers should be eaten with caution, as they may contain tapeworms. haha I love it!

Comment by Jasmeen on February 18, 2013 at 9:50am

I'm having the same issue I'm not able to open the Tapeworm  v002 so I can not try the definition because it showing me error and completing the definition, I'm trying to input some VB script code. So if anyone knows please provide me with some instructions.

Comment by Maurizio Caudullo on August 20, 2012 at 5:05pm

hi, I downloaded the definition MN-tapeworm-script-v002.ghx, but it got an error. The interpolate command (intcrv) puts "insufficient vertices for a curve". why ? can you help me? thanks and thank you for sharing the definition.

Comment by PaUla on August 18, 2011 at 1:45am
thanks!!
Comment by Mårten Nettelbladt on August 18, 2011 at 1:32am

Dear Paula, the tapeworm definition should work in an empty Rhino file. Unfortunately, there is no easy way to make sure the endpoints meet, you'll have to adjust the bend and twist values until you get it right.

Comment by PaUla on July 20, 2011 at 9:08am

Dear marten, first thanks for share your knowledge with us.

I'm trying to bend a strip of plywood, for now rotating 180 the short edges of the strip. For that i have been looking to your definition Tapeworm v002, hoping that can help me. But as it doens't come with a rhino file i can get the whole idea, which are the inputs in Rhino (points basically) Any advice or lin where I could find more information. thanks!!! I'm an advance beginner

Comment by Marios Tsiliakos on February 14, 2011 at 8:59am
thanks for sharing!

• View All