From 7c091f1a433c7da039fbb43a8274c70e3b9bfe51 Mon Sep 17 00:00:00 2001 From: kennetek Date: Tue, 27 Sep 2022 09:24:03 -0700 Subject: [PATCH] fixed cut_move to actually move to height of internal bin --- gridfinity-rebuilt-base.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gridfinity-rebuilt-base.scad b/gridfinity-rebuilt-base.scad index cb78911..b0f813f 100644 --- a/gridfinity-rebuilt-base.scad +++ b/gridfinity-rebuilt-base.scad @@ -67,7 +67,7 @@ module cut(x=0, y=0, w=1, h=1, t=1, s=true) { // Translates an object from the origin point to the center of the requested compartment block, can be used to add custom cuts in the bin // See cut() module for parameter descriptions module cut_move(x, y, w, h) { - translate([0,0,d_height+h_base]) + translate([0,0,height_internal==0?d_height+h_base:height_internal+h_base]) cut_move_unsafe(clp(x,0,gridx), clp(y,0,gridy), clp(w,0,gridx-x), clp(h,0,gridy-y)) children(); }