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.
A "sin" winding on an ellipse, in fact angle equation is "CoeffA*(sin(i)*0.5+0.5)^CoeffB"
Tags:
I had not thought about the implementation of mathematical formulas in this.
Great, a new toy to learn. Thanks!
Dear Daniel,
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.
Regards,
Vinay
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.
Regards,
Vinay
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.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by