From d408a63fcfcffce4a9f29d51156dfeea6c9eee12 Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Mon, 10 Nov 2014 22:08:37 +0100 Subject: Split library into polyhedra + faces --- designs/zampa_d6.scad | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'designs/zampa_d6.scad') diff --git a/designs/zampa_d6.scad b/designs/zampa_d6.scad index f2e10cf..2d486df 100644 --- a/designs/zampa_d6.scad +++ b/designs/zampa_d6.scad @@ -7,11 +7,14 @@ size = 14; side = s2s_d6(size); -rotate([0, 0, 0]) d6(size) { - gfx(side, "zampa"); - digits(side, 2, "free_mono"); - digits(side, 3, "free_mono"); - digits(side, 4, "free_mono"); - digits(side, 5, "free_mono"); - digits(side, 6, "free_mono"); +difference() { + d6(size); + cube_faces(side) { + gfx(side, "zampa"); + digits(side, 2, "free_mono"); + digits(side, 3, "free_mono"); + digits(side, 4, "free_mono"); + digits(side, 5, "free_mono"); + digits(side, 6, "free_mono"); + } } -- cgit v1.2.3