Z level tags and length between two points

Hello all,

I want to create a universal ramp but want to try Grasshopper to test out optimal options. I attached a sketch. There’s a Start (A) and an End (F) and some other points in between where bends on the ramp for now (B,C,D,E… some points may need to be added with the bends). From start (A ) to (B) there’s an inclination based on (B) z value, I want to display that Z value as a slope percentage on the center of the A and B and the length in-between. same as B to C, C to D so on. How I can make this, I know how to display Z value tag. but seeking some expert opinion. (This is a one polyline, when I need to add points I use the insert control point command.) I need Grasshopper as the visual display of this exercise, I manually change point locations in Rhino.

Maybe this will help you:
elevations.gh (12.4 KB)

1 Like

Thank you very much @Kirill_Goloviznin :heart_eyes:, This is the result I was looking for. But maybe it wasn’t very clear in my description, that I have the line already drawn in Rhino with points.
Ramp Line.3dm (146.7 KB)
I’ll share the file with you.

well, some points / input polyline are needed if you want to even just test a definition :slight_smile: not having provided those initially, some random ones were generated

you can input your own curve into Kirill’s nice definition by referencing your curve in the red marked Curve parameter, and use the vertexes of your exploded polyline by rewiring those from the Point XYZ component:

1 Like

Thank you very much @inno & @Kirill_Goloviznin , for your time and consideration, This works perfectly!! :heart_eyes: :heart_eyes: :heart_eyes:

1 Like