aboutsummaryrefslogtreecommitdiff
path: root/lib/utils.scad
diff options
context:
space:
mode:
authorElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-06-28 22:38:17 +0200
committerElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-06-29 10:50:36 +0200
commit6e4f99f514806fccef1e7073080e4f769011d8be (patch)
treec88822c24c9a81adec91f6534fd10df67aabcc79 /lib/utils.scad
parente96a2cdf57e0d576b3ca4d7d9186ae879a677c36 (diff)
New die: d20
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 7661b2f..6241712 100644
--- a/lib/utils.scad
+++ b/lib/utils.scad
@@ -9,3 +9,5 @@ function s2s_d8(size) = circ_rad(size)*2/sqrt(2);
function s2s_d12(size) = circ_rad(size)*4/(sqrt(3)*(1+sqrt(5)));
+function s2s_d20(size) = circ_rad(size)*4/(sqrt(10+2*sqrt(5)));
+