Skip to content

Instantly share code, notes, and snippets.

@ameliemaia
Last active December 15, 2015 17:29
Show Gist options
  • Save ameliemaia/5297035 to your computer and use it in GitHub Desktop.
Save ameliemaia/5297035 to your computer and use it in GitHub Desktop.
Jerusalem styled cube with Forms in Maya
from forms.geometry import hexahedron
holes = [ 7, 11, 12, 13, 17, 27, 32, 35, 36, 37, 38, 39, 42, 47, 51, 52, 53, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 77, 81, 82, 83, 85, 86, 87, 88, 89, 91, 92, 93, 97, 107, 111, 112, 113, 117 ]
x = hexahedron.Sierpinski().generate( size = 40, iterations = 2, grid = 5, holes = holes )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment