Random Pipe Grasshopper

Hey, I was follow this tutorial of https://www.youtube.com/watch?v=FfpmsPJnlOs&t=317s and I finish it but I was wondering instead of subtracting the cubes I could do it with the pipes? I’m doing it manually but that’s a waste of time. Thank you for your time.
mass diagram.3dm (16.1 MB)
pipes.gh (9.1 KB)

By changing the parameters of your file. I was able to get this. I did NOT change any code, just hide/unhide some changing sliders.

Is this simular to what you want? I guess it is looking at the dm3 file.
What about:

  • Drawing what you want as big boxes (outlines of what you need).
  • Using the edges, divide them as you want them. (vertical _ horizontal)
  • Then pipe all the edges.
  • Resizing can be done, by resizing the big boxes and changing divisions.

Nice puzzle. Found a solution on the forum. Credits to @Marios Tsiliakos

It is very slow, so be patient, (and better find another way to create the 3D grid.



pipes.gh (11.2 KB)

Build the grid from scratch, Lot of lines, but transparent how it is done.

pipes.gh (27.3 KB)