Command to place object on curve point

Hello!
I am trying to build a curved stairs and started with this ‘rebuild’ curve with points I am trying to figure out how to place these steps or blocks on the curve at the right place. Is there a kind of ‘array’ command that can do this? I’m also not sure how many steps I would need the dimension of 1 step is 0.5ft x 8 ft x 1 ft. stair_curve_0702_rhinoforum.3dm (48.5 KB)

Thank you for your help!

Use Flow command with Roadlike option.

Hello - ArrayCrv is the standard here but it is not ideal for stairs because it does not hold the level orientation as it marches the copies along the curve:

I made a script for this, ArrayCrvFlat which seems to get these cases right, I’ll attach it here

stair_curve_0702_rhinoforum_PG.3dm (79.6 KB) ArrayCrvFlat.py (2.0 KB)

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

-Pascal

2 Likes

This is great. Thank you!