Twisted Cube

A Grasshopper definition I created while learning Grasshopper. It creates a 3D shape by connecting the divided faces of two intersecting cubes.

 

Sample shapes generated with this definition: