aboutsummaryrefslogtreecommitdiff
path: root/designs/free_mono_d4.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/free_mono_d4.scad
parente394d7acc37a630beab7c65ea9ba0116041cf0c7 (diff)
Split library into polyhedra + faces
Diffstat (limited to 'designs/free_mono_d4.scad')
-rw-r--r--designs/free_mono_d4.scad15
1 files changed, 10 insertions, 5 deletions
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");
+ }
}