aboutsummaryrefslogtreecommitdiff
path: root/designs/free_mono_d12.scad
diff options
context:
space:
mode:
Diffstat (limited to 'designs/free_mono_d12.scad')
-rw-r--r--designs/free_mono_d12.scad31
1 files changed, 18 insertions, 13 deletions
diff --git a/designs/free_mono_d12.scad b/designs/free_mono_d12.scad
index a8168cb..2c9265b 100644
--- a/designs/free_mono_d12.scad
+++ b/designs/free_mono_d12.scad
@@ -6,17 +6,22 @@ size = 14;
side = s2s_d12(size);
-d12(size) {
- digits(side, 1, "free_mono");
- 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");
- digits(side, 7, "free_mono");
- digits(side, 8, "free_mono");
- digits(side, 9, "free_mono");
- digits(side, 10, "free_mono");
- digits(side, 11, "free_mono");
- digits(side, 12, "free_mono");
+r = side*sqrt(3)*(1+sqrt(5))/4;
+
+difference() {
+ d12(size);
+ dodecahedron_faces(r) {
+ digits(side, 1, "free_mono");
+ 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");
+ digits(side, 7, "free_mono");
+ digits(side, 8, "free_mono");
+ digits(side, 9, "free_mono");
+ digits(side, 10, "free_mono");
+ digits(side, 11, "free_mono");
+ digits(side, 12, "free_mono");
+ }
}