CODE GRASSHOPPER FOR Ørsted Gardens Apartments / Tegnestuen LOKAL

I’m having trouble with a cube like this. Can you help me? or a sample project that has been done in the past. Thank you very much.
Link: