Replacing a Graph Mapper object with a Rhino curve:

Create a curve in Rhino within an easy domain (x = 0.0->1.0;  y = 0.0-
>1.0;).
Make sure it only has a single intersection point with every vertical
line.
Generate a bunch of vertical lines, I used the [Range] + [Line SDL]
components.
Intersect the curve with the lines using the [Curve|Line] component
and limit the intersection to the first hit.
If you extract the y-coordinates of those intersection points, you'll
have your 'mapped' values.

http://groups.google.com/group/grasshopper3d/web/CustomGraphCurve.png

--
David Rutten
[email protected]
Robert McNeel & Associates

Reply via email to