I am working on an architecture project that has a long and winding ramp. The ramp needs to have a 1 / 12 slope and a 5’ landing every 30’. I am trying to make a grasshopper script that will take any flat crv, divide it up, and add the slope in the z direction. My problems:
-
The curve doesn’t match exactly in plan when it’s remade. (Red is the new curve)
-
For some reason the individual segments aren’t even close to the correct length. I’m not sure what the flaw in my logic is, but the way I’m dividing it up doesn’t seem to work.
-
The slope is inconsistent because the control points of the curves aren’t equally spaced.
I feel like this should be a simple exercise and a lot easier than what I’m doing, but I’m not sure what to do.
Ramp.gh (21.0 KB)