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
Mårten Nettelbladt
There is an updated version here: https://www.dropbox.com/s/qsqbq59cupua53u/MN-tapeworm-script-2020.g...
Feb 15, 2021
Peter Wimmesberger
Hello Marten,
thanks for sharing, I'm looking for a definition like yours, but which is controlled by a guide curve like sweep1 in grasshopper. The difference to sweep1 is, that I need a straight line when I unroll the surface .. I would be very happy about your help. thanks
Oct 4, 2021
Sebastien Perrault
Hi Peter, same need here !
Oct 6, 2021