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.

[UPDATED LINK]

MN-tapeworm-script-2020.ghx

Or try this one

OLD LINK:

Download Tapeworm v002

 

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.

 

Mårten Nettelbladt

martennettelbladt.se

The Geometry of Bending

 

 

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

  • taz

    Wowser! Thanks for sharing. Are you going to try and build a tapeworm?
  • Hrvoje Petrovic

    Thanks for this one!
  • paloma

    Thanks!
  • Marios Tsiliakos

    thanks for sharing!
  • 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

     

     


  • 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.

  • PaUla

    thanks!!
  • 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.

  • 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. 

  • Luis Angel

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

  • g

    Hi there!

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

    Cheers!

  • 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!
     

  • 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

  • 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