algorithmic modeling for Rhino
Hi to everyone!
I am trying to make a curve,using the cosx function,but want it to start and end from two specific points.I am attaching the script but I do not know if I am in the right direction...If anyone has any suggestion,it would be helpful..
Thanks!
Tags:
Two points aren't enough to define a cosine in 3D. If you only care about 2D then it becomes somewhat simpler. However making a cosine with a fixed frequency and amplitude terminate at a specific point is in fact quite tricky.
You're going to have to make the cosine first, then trim it to the exact length and finally rotate it so that it terminates at the end-point. I attached a file that does it with a simple Cosine(x) expression, though it should work on all continuous functions.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
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
© 2024 Created by Scott Davidson. Powered by