How to model this mechanical metamaterial?

It involves converting a surface into grids.
Followed by flattening/ projecting it.
Finally filling it up with a unit.

I tried Morph 3D list command from the Paneling tools plugin but I was unable to execute the first 2 steps accurately.

Any help with the complete workflow is highly appreciated!

1 Like