From 24c61f008c912f21125d612f4e0761c058ee53ed Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 8 Sep 2024 15:53:08 +0200 Subject: new helper functions --- gridfinity.scad | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gridfinity.scad') diff --git a/gridfinity.scad b/gridfinity.scad index 39a13ec..cb6d8c4 100644 --- a/gridfinity.scad +++ b/gridfinity.scad @@ -17,6 +17,10 @@ function gf_top(units_z) = function gf_top_vec(units_z) = [0,0,gf_top(units_z)]; +function gf_inner_bottom() = (4.75 + minimal_thickness); +function gf_inner_bottom_vec() = [0,0,gf_inner_bottom()]; + + // Get center of GridFinity object function gf_center(units_x, units_y) = [ (units_x * width - 0.5) / 2 - width/2, -- cgit v1.2.3