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/free_mono_d4.scad | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'designs/free_mono_d4.scad') diff --git a/designs/free_mono_d4.scad b/designs/free_mono_d4.scad index 6ed5dad..9c9826f 100644 --- a/designs/free_mono_d4.scad +++ b/designs/free_mono_d4.scad @@ -6,9 +6,14 @@ size = 14; side = s2s_d4(size); -d4(size) { - digits(side, 1, "free_mono"); - digits(side, 2, "free_mono"); - digits(side, 3, "free_mono"); - digits(side, 4, "free_mono"); +r = sqrt(6)/4*side; + +difference() { + d4(size); + tetrahedron_faces(r) { + digits(side, 1, "free_mono"); + digits(side, 2, "free_mono"); + digits(side, 3, "free_mono"); + digits(side, 4, "free_mono"); + } } -- cgit v1.2.3