Hello all,
I have been working on this project for my uni where my plan is to generate a volume of non-intersecting cubes with varying sizes, connecting these downwards to other cubes and a grounded surface.
I got the generation of cubes down quickly, however the vertical connections are giving me a headache. I basically want from vertical extensions from each of the lower vertices of the cubes going downwards until they hit another cube or end up getting to the bottom surfaces. I have tried a few things however my attempts with using brep/curve, curve/surface, and surface/line intersections don’t get me what I need. One idea I had which hasn’t worked out yet was to
One of my more confident attempts included cutting holes into the lower surface so that lines passing through cubes wouldn’t intersect with the lower surface however this is a faulty solution. Cube_generation.gh (21.6 KB)
To create the data sets I often first use the paths or a series of integers instead of an undistiguishable list of geometries so I see the right items are in each list… Something like this here: