937df00a78e5b96271b8d2ea378f08348a10f328
8 [h
,h
,0], [h
,-h
,0], [-h
,-h
,0], [-h
,h
,0], [0,0,h
]
11 [1,4,0], [2,4,1], [2,3,4], [4,3,0],
17 module
quarter_pyramid() {
20 rotate([0,0,45]) translate([-2*h
, 0, -h
]) cube([h
*4,h
*4,h
*4]);
21 rotate([0,0,-45]) translate([-2*h
, -4*h
, -h
]) cube([h
*4,h
*4,h
*4]);
22 rotate([0,0,-45]) translate([0, -4*h
, -h
]) cube([h
*4,h
*4,h
*4]);
26 // [0,0,0], [h,h,0], [h,-h,0], [0,0,h]
41 translate([0,0,2*h
]) rotate([180,0,0])
46 translate([0,h
,h
]) rotate([90,90,0])
51 rotate([0,0,180]) north()
56 translate([h
,0,h
]) rotate([90,0,0]) rotate([0,-90,0])
61 rotate([0,0,180]) east()
66 translate([0,0,-2*h
]) top() pyramid();
71 translate([0,-h
,-h
]) rotate([180,-90,90]) quarter_pyramid();
76 translate([0,-h
,-h
]) rotate([180,-90,-90]) quarter_pyramid();
120 translate([-h
,h
,-h
]) rotate([0,180,90]) {
126 //bottom() pyramid();
135 translate([0,h
,-h
]) rotate([90, 0, 0]) partC();
139 rotate([0,0,180]) partD();
142 module
puzzle_piece() {
152 rotate([0,45,0]) puzzle_piece();
154 //bottom() puzzle_piece();
155 //top() puzzle_piece();
156 //north() puzzle_piece();
157 //south() puzzle_piece();
158 //east() puzzle_piece();
159 //west() puzzle_piece();