Creating algorithmic fence

I am attempting to create an algorithmic fence like the one in the picture below.

I have created 2 curves, one on top of another and divided these curves into points. I am having trouble figuring out a way to get the posts onto these points!!

Was that fence created by an algorithm or a tsunami?

All I’ve been told is that it’s an algorithmic fence! Do you know how i would go about creating this through grasshopper? (14.8 KB)

1 Like

Wow thankyou! Very complicated! Do you have any suggestions to create this in a more simpler way?

thanks for your help!

Ethan actually has come up with a good method, you might want to take the time to understand it.

1 Like

It might seem complicated because I tried to replicate its ugliness in its entirety, but I supplied a number of sliders that give you a lot of latitude. If you play with them and settle on some, then you don’t need the sliders anymore and can just plug those values directly into the components.

1 Like


// Rolf

I got sth like this, but I don’t know how to rotate the solids
Fence-G.3dm (695.0 KB) (13.3 KB)

So glad to see what I did earlier was entirely disregarded!
Here, I defined an axis of rotation by taking the average height of all the slats, though you could just take the centroid of each if you prefer. I also added some more sliders to play with because I know how much you like them. One difference between this approach and the first is that the bases here don’t sit level. If you’re ok with that, then fine. You can always trim the breps with a plane near the bottom. (19.9 KB)

This is a park in Portland, Oregon and the installation is more “art” than “fence”. It’s constructed from reclaimed railroad tracks.

Nice Done!
Good to see this, thanks!

you don’t need rotation
two curves and random heights (10.3 KB)

1 Like

I actually like it. cortain steel is a great material for open spaces, Its strong but warm and detailed material.A great alternative to any of those concrete walls or cheap wooden fences you usually see.
Its just not seem to fit well to its sorrounding elements in my oppinion. But the shape itself is a great alternative to this brutality of raster cities.

I also like corten steel but this design is a little too haphazard for my tastes.

1 Like

It’s not weathering steel, it’s old railroad tracks (see me above).

1 Like