algorithmic modeling for Rhino
Here is a small script for wrapping/winding a polyline/filament around a mesh. This script is derived from Daniel González Abalde script "http://www.grasshopper3d.com/forum/topics/searching-for-code-to-ge..., it add an angular variation in direction of polyline.
Above to pattern generated on Stanford Bunny.
I had not thought about the implementation of mathematical formulas in this.
Great, a new toy to learn. Thanks!
Can you tell me where exactly to add expression "CoeffA*(sin(i)*0.5+0.5)^CoeffB" . I tried adding but its not working. Thanks in advance.
Thanks for sharing!
Thank you very much for sharing.
But can you please tell me where exactly to add expression "CoeffA*(sin(i)*0.5+0.5)^CoeffB" . I tried adding but its not working. Thanks in advance.
Thanks for the reply. But I could not find the equation. I am very new to Grasshopper, sorry. Can you please help. Thanks.
Here is a screen shot
The equation is "maxx*(sin(x)*0.5+0.5)^y" its results feeds AngleDeviation list of angles. Imagine you are walking on this mesh, at each step "i" you change your direction depending of AngleDeviation(i). With this equation angle is always positive between 0 and maxx, and with y=1 it is a sinusoid.
Thank you very much for the elaborate explanation, I understood neatly and it helped me.