aboutsummaryrefslogtreecommitdiff
path: root/designs/pips_d6.scad
diff options
context:
space:
mode:
authorElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-11-10 22:08:37 +0100
committerElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-11-10 22:08:37 +0100
commitd408a63fcfcffce4a9f29d51156dfeea6c9eee12 (patch)
treece34e12074539d9aa6a5964629c01e5e0b317f1c /designs/pips_d6.scad
parente394d7acc37a630beab7c65ea9ba0116041cf0c7 (diff)
Split library into polyhedra + faces
Diffstat (limited to 'designs/pips_d6.scad')
-rw-r--r--designs/pips_d6.scad17
1 files changed, 10 insertions, 7 deletions
diff --git a/designs/pips_d6.scad b/designs/pips_d6.scad
index 8a5fe16..24a0c8b 100644
--- a/designs/pips_d6.scad
+++ b/designs/pips_d6.scad
@@ -6,11 +6,14 @@ size = 16;
side = s2s_d6(size);
-rotate([180, 0, 0]) d6(size) {
- pips_1(side);
- pips_2(side);
- pips_3(side);
- pips_4(side);
- pips_5(side);
- pips_6(side);
+rotate([180, 0, 0]) difference() {
+ d6(size);
+ cube_faces(size) {
+ pips_1(side);
+ pips_2(side);
+ pips_3(side);
+ pips_4(side);
+ pips_5(side);
+ pips_6(side);
+ }
}