aboutsummaryrefslogtreecommitdiff
path: root/designs/free_mono_d8.scad
diff options
context:
space:
mode:
Diffstat (limited to 'designs/free_mono_d8.scad')
-rw-r--r--designs/free_mono_d8.scad23
1 files changed, 14 insertions, 9 deletions
diff --git a/designs/free_mono_d8.scad b/designs/free_mono_d8.scad
index 8fc17ad..7e82169 100644
--- a/designs/free_mono_d8.scad
+++ b/designs/free_mono_d8.scad
@@ -6,13 +6,18 @@ size = 14;
side = s2s_d8(size);
-d8(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");
+r = sqrt(2)/2*side;
+
+difference() {
+ d8(size);
+ octahedron_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");
+ }
}