Dear grasshoppers.
Some people have shown interest in my Tapeworm script, so I'm posting it here for anyone to try.
[UPDATED LINK]
OLD LINK:
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.
Good luck! Feedback is welcome.
Mårten Nettelbladt
Raw grasshoppers should be eaten with caution, as they may contain tapeworms.
http://en.wikipedia.org/wiki/Grasshopper
taz
Feb 13, 2011
Hrvoje Petrovic
Feb 14, 2011
paloma
Feb 14, 2011
Marios Tsiliakos
Feb 14, 2011
PaUla
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
Jul 20, 2011
Mårten Nettelbladt
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.
Aug 18, 2011
PaUla
Aug 18, 2011
Maurizio Caudullo
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.
Aug 20, 2012
Jasmeen
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.
Feb 18, 2013
Luis Angel
Raw grasshoppers should be eaten with caution, as they may contain tapeworms. haha I love it!
Sep 2, 2013
g
Hi there!
Does anybody know of a way of closeing the curve as if it were like a rubber band for example?
Cheers!
Oct 18, 2013
rik
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!
Mar 20, 2014
Richard Schaffranek
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
Jan 27, 2017
bill cao
Hello Marten ,
thanks for sharing ,i am working on a paper now ,i want to do an investigation about the how many times this script have been download by people could you please tell how many user have download the script thanks
Mar 28, 2020