aboutsummaryrefslogtreecommitdiff
path: root/lib/utils.scad
blob: c1b62dd9941750a01692b4a2d3ed874d7305e05c (plain)
1
2
3
4
5
6
7
8
9
function circ_rad(size) = size * sqrt(3) / 2;

function s2s_d4(size) = circ_rad(size)*4/sqrt(6);

function s2s_d6(size) = size;

function s2s_d8(size) = circ_rad(size)*2/sqrt(2);