algorithmic modeling for Rhino
Tags:
There's a simple parametric form for this:
x=u
y=v
z=log(cos(u)/cos(v))
You create an Expression component with 2 inputs (call them u and v to keep things simple). Then the expression would be:
{u, v, Log(Cos(u)/Cos(v))}
the curly brackets mean you're defining a point with x, y and z coordinates. U becomes X, v becomes Y and the equation becomes Z.
since U and V translate directly to X and Y, you could also just generate the elevation with the expression and then plug the three numbers into a XYZ component.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
David,
Thanks for the description! Very helpful. I did a little further digging on the forum and found some other very helpful descriptions;
http://www.grasshopper3d.com/forum/topics/function-gets-its-math-wrong
I have to admit, I am more than a little rusty on my trig and need to brush up! With that said, i was able to piece together a reasonable facsimile. One thing I am not sure of is how the domain is defined. Why do the start and end intervals need to be run through a pi component? (sorry for the dumb question...).
Here is the file if anyone is interested but a much better one is available at the link above!
hi chris,
thank u for the link and the definition. that was amazing and very helpful. i think the answer is when we want to define a "continuous function" we should have a domain by pi components.
hi david,
thx for the description
Hey,
here is a modelling version :-) I am sure Daniel has got a smarter version
by the way, moving the PoinCurve component results cool pattern
Best Regards
Dedackel
@dedackelzucht: thank u so much. ;) that was awesome.
Hi Behnood,
Here is a old one I updated a bit with several common parametric surfaces. You may have to trim and post process the Scherk surface a bit but it is parametrically generated in this definition.
Cheers,
Chris K. Palmer
hi chris,
thank u so much for helping me. that's what i need. ;)
© 2019 Created by Scott Davidson. Powered by