How to move GEOMETRY (Shelter) to coincide with MESH (Contours)

Dear all,

How to move GEOMETRY (Shelter) to coincide with MESH (Contour).gh (8.4 KB)
How to move GEOMETRY (Shelter) to coincide with MESH (Contour).3dm (113.0 KB)

I need help solving a problem in grasshopper! I have a series of shelters on a flat ground (z=0), but I have since created contours on which these shelters should sit on. Because there are too many shelters to work with, it is nearly impossible to do it one by one.

I am trying to use grasshopper to move the shelters along the z-axis, usually upwards, so as to coincide and sit on the contours (mesh). The mesh was developed from Delaunay Mesh operation.

Thanks for your help!

Check if this is what you want. You referenced geometries were internalised, so no need your 3dm.

How to move GEOMETRY (Shelter) to coincide with MESH (Contour)_re.gh (92.2 KB)

3 Likes

Thanks!

The mesh shadow was a very interesting touch to this solution! I was trying to figure out how to find the lowest point of each object.

Again, thanks for your help!