From c6b16f80c6158c4ec07ca30be5ca87cd8d7b326c Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Sun, 22 Jun 2014 12:33:55 +0200 Subject: Add d4 and size to side util functions --- lib/utils.scad | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lib/utils.scad (limited to 'lib/utils.scad') diff --git a/lib/utils.scad b/lib/utils.scad new file mode 100644 index 0000000..d849636 --- /dev/null +++ b/lib/utils.scad @@ -0,0 +1,7 @@ + +function circ_rad(size) = size / sqrt(2); + +function s2s_d4(size) = circ_rad(size)*2/sqrt(6); + +function s2s_d6(size) = size; + -- cgit v1.2.3