Parametric retaining wall

Hi,

I’ve started grasshopper recently and started to read a lot of topics around here but quiet new to make script by my own.

I’m currently developing some different option for a project that has a lot of retaining wall and by looking at some reference I found this project in Tokyo, for the french embassy.


I found it interesting as it seem randomized but I can tell that there’s some repetitive pattern in order to create a more natural shape along the path. There’s also the construction aspect to make the bottom thicker than the top part.

So I’m currently stuck at this point where my boxes are randomized in it’s dimension but it looks very un-natural and pretty flat compared to the original concept. (purple is the result, green is the target curves of the site)

If anyone can help I’d be very thankful.

擁壁工.gh (15.8 KB)
test.3dm (8.5 MB)

I was unable to open your 3dm file as I am on Rhino 6 and it was saved as Rhino 7.

I also decided to work in Feet units, so you may need to adjust the ranges to meet your needs.

Take a look at this re-work of your script. Hopefully it solves your problem. The key here is to partition the list of isotrimmed surfaces where N = V-Count. Then create a list of random numbers equal to the total number of trimmed surfaces, this will create the randomized box heights. Finally, a second list of random numbers with list length of N = V-Count will create randomized offsets, which are then sorted in descending order. These are repeated N = U-count number of times added to the list of box heights.


Random Offset Brick Wall.gh (13.2 KB)

Also note that if you plan to map this to a curved surface the IsoTrim + BoxRectangle approach will not work and need some proper adjustment.

Thank you Bailey! I just dowloaded your script, I’ll have a look and get back to you. Thank you for your explanation. In the meantime I’m sharing the compatible file for rhino 6.

The critical part of the project are these curves so I might get back with other questions… Thank you again!

test R6.3dm (8.5 MB)

I’ve been playing and trying other thing with your script a little bit and it’s very interesting thanks!

I was just wondering if instead a defined surface it would follow the same pattern along a curve like Sweep in rhino. I know that this is a repeated data but maybe construct domain for a given height and then flow along the curve or something. (in order to avoid the weird extension on corners or when the planar surface gets curved.)

Thank you in advance for your response

update, I managed to get that slanted stone alinement but only in one direction. I’m looking to achieve a natural curve with the graph mapper component. Sharing a screen of the script (and script included of course).

Current:

Goal:


Random Offset Brick Wall.gh (14.9 KB)

@Nausicaä The file you shared appears to be the same version as the one I originally shared. Please share your modified script with internalized geometry.

As mentioned,

Also note that if you plan to map this to a curved surface the IsoTrim + BoxRectangle approach will not work and need some proper adjustment.

There are many different approaches to UV divisions of curved surfaces, but the isocurves depend greatly on the nature of the geometry to map. See for example; 2d staggering circle pattern - #7 by Joseph_Oster

Without your target geometry, I can not help much in that regard.

This modification is not quite perfect, but almost there. The tricky part is getting the correct coursing based on the module size. In this attempt the linearly projected distances between courses varies, when it should be constant based on the module size itself, not the other way around as I have done here.

Although not perfect, hopefully this gets you going in the right direction.

Best,
Bailey

Random Offset Brick Wall - Curved Modification.gh (22.6 KB)

Had to get fancy in order to create a matrix of units that;

  1. Have a width that varies based on the segment lengths
  2. Can have branches of varying lengths, if the surface to map to has variable heights.

This script can be plugged into the “Random Offset Brick Wall” with some additional modifications to get the proper boxes.

Variable Height Segmented UV surface.gh (27.0 KB)

Thank you so much for taking time Bailey, I will definitely take time to study your script today and that makes me even more eager to learn how to use Grasshopper.
Wish you the best.

Have a good day.

1 Like