PDA

View Full Version : parametric spiral question


extragrey
08-01-2009, 09:52 PM
hello everyone,

trying to figure out how to create parametric shapes, and first seemingly simple spiral - completely failed me after lots of ineffectual experiments...

here is guideline, created in Rhino, which I try to follow
http://www.designalyze.com/2008/07/07/generating-a-spiral-in-rhinos-grasshopper-plugin/

Sure enough static version isn't so complicated:

for ($i=0;$i<20;$i++)
{
float $x=$i*sin(5*$i);
float $y=$i*cos(5*$i);
spaceLocator -p $x $y $i;
}

and that's it. but more adjustable version of spiral (for example, with possibility to change number of locators) unfortunately, isn't so unmistakable for me.
_____________________________________
please any ideas or thoughts in this direction.

extragrey
08-03-2009, 09:38 PM
fellows, isn't there is no solution ??? :surprised

JoshM
08-04-2009, 02:18 PM
Hi,
What sort of geometry are you applying this expression to (NURBS, NURBS Curve, Poly mesh, etc)? Also, you may want to convert the expression you are using within the sin and cos functions to radians. I believe parametric helices are only defined when using radians, but I maybe wrong.

Josh

extragrey
08-06-2009, 09:17 AM
JoshM, thanks for reply
I need Nurbs curve, and I think that I'm getting closer to something , but not exactly to what I've been looking for...

CGTalk Moderation
08-06-2009, 09:17 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.