From d9d92db54413a621951000955bdf4c042ad6c3aa Mon Sep 17 00:00:00 2001 From: Tracy Ward Date: Mon, 4 Mar 2024 22:13:17 -0500 Subject: [PATCH] Don't add holes if style_hole is 0 even if only_corners is set --- gridfinity-rebuilt-utility.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gridfinity-rebuilt-utility.scad b/gridfinity-rebuilt-utility.scad index b74779b..09a2506 100644 --- a/gridfinity-rebuilt-utility.scad +++ b/gridfinity-rebuilt-utility.scad @@ -227,7 +227,7 @@ module gridfinityBase(gx, gy, l, dx, dy, style_hole, off=0, final_cut=true, only translate([0,0,-1]) rounded_rectangle(xx+0.005, yy+0.005, h_base+h_bot/2*10, r_fo1+0.001); - if(only_corners) { + if((style_hole != 0) && (only_corners)) { difference(){ pattern_linear(gx/dbnx, gy/dbny, dbnx*l, dbny*l) block_base(gx, gy, l, dbnx, dbny, 0, off);