Skip to content

Instantly share code, notes, and snippets.

@GilesBathgate
Created March 8, 2014 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GilesBathgate/9435270 to your computer and use it in GitHub Desktop.
Save GilesBathgate/9435270 to your computer and use it in GitHub Desktop.
module a()
polyhedron([[-5,5,-5],[-5,-5,-5],[-5,-5,5],[-5,5,5],[5,-5,-5],[5,-5,5],[5,0,5],[0,0,5],[0,5,5],[5,5,-5],[0,5,0],[5,5,0],[5,0,0],[0,0,0]],[[0,1,2,3],[2,1,4,5],[3,2,5,6,7,8],[4,1,0,9],[9,0,3,8,10,11],[5,4,9,11,12,6],[6,12,13,7],[11,10,13,12],[8,7,13,10]]);
module b()
difference() {
cube(10,center=true);
cube(10);
}
difference() { a(); b(); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment