How to make a 'stair like' or 'road like' curve array in Grasshopper?

As shown in the image, I would like to achieve a result similar to the right one, where my object arrays along the spiral but does not rotate. The result I have right now is shown on the left. In rhino, I can choose different forms for curve array, for example, there is ‘road like’ or ‘stair like’. How do I achieve this in grasshopper?

Here is my gh file.


spiral + array along crv.gh (12.1 KB)

Your file came without geometry:

Maybe try orienting orienting objects to planes on the curve.

Sorry about that, I didn’t put a geometry because any geometry would work for this, I’m trying to get the object arrayed without rotating it. I did try using perp frame, but I think I’m stuck on getting the frames/planes horizontal, the frame would also rotate with the curve, which is essentially the same problem as the rotating object.

Sure but having your actual curve/objects helps with clarity :wink:

You can use horizontal frames instead of perpendicular ones, then you rotate or align those planes while staying horizontal along the curve.

1 Like

HFrames?


spiral_2024Aug6a.gh (10.8 KB)

hframe did work but the objects are still rotating around.

HFrames planes are aligned with the curve tangent at each point? Do you prefer ‘World XY’ planes? Basic and boring. :zzz:


spiral_2024Aug6b.gh (11.3 KB)

btw here is the object!
Nevo NE04-1_3D.3dm (5.9 MB)

could you try inserting the object I just uploaded?

Something is up with the scale of the model so when I orient they’re huge compared to the curve - might be an easy fix for you - in the meantime I used Orient Direction as it can help with scaling to test:
spiral + array along crv.gh (55.6 KB)

sorry about the scaling issue, it’s a metric to imperial problem…
but WOW this is super helpful, thank you soooo much!

I could but if you can’t, given the XY planes, you probably are in too deep.