aboutsummaryrefslogtreecommitdiff
path: root/lib/utils.scad
diff options
context:
space:
mode:
authorElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-06-22 17:24:50 +0200
committerElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-06-22 17:24:50 +0200
commite96a2cdf57e0d576b3ca4d7d9186ae879a677c36 (patch)
treef5e2f70a31dbfe6f89b372834c5aa099bcf378d5 /lib/utils.scad
parentf6877939ff386a340acea456b6e731bfe63abc68 (diff)
d12: new die
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)));
+