aboutsummaryrefslogtreecommitdiff
path: root/lib/utils.scad
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils.scad')
-rw-r--r--lib/utils.scad2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils.scad b/lib/utils.scad
index c1b62dd..7661b2f 100644
--- a/lib/utils.scad
+++ b/lib/utils.scad
@@ -7,3 +7,5 @@ function s2s_d6(size) = size;
function s2s_d8(size) = circ_rad(size)*2/sqrt(2);
+function s2s_d12(size) = circ_rad(size)*4/(sqrt(3)*(1+sqrt(5)));
+