Asymmetrical scaling of curve lattice geometry

Hey everyone,

I am searching for a solution to scale a curve BCC lattice geometry asymmetrical in Grasshopper.
Lets say i start with a 5x5x5 mm block of a BCC structure with a unit cell size of 1 mm. I want to stretch these curves in a way that I end up with a pyramid frustum with a 7x7 mm base, 5 mm height and a 5x5 mm top. Can anyone provide me a way to perform these asymmetric stretching operations?

Thank you very much in advance and Greetings

Felix

GH file?

Help Us Help You - Grasshopper - McNeel Forum