How to use Grasshopper to transform a plan?


How do I great scripts for transforming any plans as the above? (from left to right)

You can achieve that with a Cage Edit with degree 1 or by splitting geometries and using many box morph.

As suggested by @maje90, the Rhino CageEdit command with degree 1 works well. Could someone share an equivalent example in Grasshopper? I’ve tried Spatial Deform and Spatial Deform (Custom) but haven’t had much success. Any ideas or example definitions would be greatly appreciated.

Look into possibly deforming via options like sporph, MeshMap, or Map curves to surface. Share a file so people can take a look.

@René_Corella Thank you for your time.
I tried Sporph, MeshMap and Map To Surface as you suggested.

Sporph gave the most interesting result.
Still, it’s not as effective as Rhino’s CageEdit, since it breaks the wall and line connections. The outcome is also curved rather than rectilinear—although that could be interesting to experiment with.

Here are my various attempts so far (with the files attached).

This is an interesting problem. I’m open to your ideas and thoughts on how to solve it.

dc_FloorPlanDeformations.gh (39.5 KB)

dc_FloorPlanDeformations.3dm (2.8 MB)

1 Like

@cortes_d,
Thanks for sharing - see attached .gh file below.

I don’t think there’s an answer right away; you could search for the GH cage deform-related discussion(s) on the forum. There’s been interest to mimic Rhino’s cage edit capabilities within grasshopper with some really cool methods:

My thought with Sporph was to form edge surfaces that relate to your point syntax in order to then do a pseudo cage-edit-like deform by displacing points via kangaroo:
dc_FloorPlanDeformations_KangarooSporph.gh (18.5 KB)

It seems to work, though the results aren’t fully consistent with your ideal manual cage-edit one:

Cheers!