From fc1e98c927b870da12c864a26910af13f0baee95 Mon Sep 17 00:00:00 2001 From: kennetek <40445044+kennetek@users.noreply.github.com> Date: Sun, 6 Nov 2022 14:56:08 -0700 Subject: [PATCH] small change for when only one hole is desired --- .gitignore | 1 + gridfinity-rebuilt-utility.scad | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index df767b3..c44f259 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ ignore/ gridfinity-rebuilt.json stl/ +batch/ diff --git a/gridfinity-rebuilt-utility.scad b/gridfinity-rebuilt-utility.scad index 8db2132..7cb08e5 100644 --- a/gridfinity-rebuilt-utility.scad +++ b/gridfinity-rebuilt-utility.scad @@ -132,7 +132,7 @@ module block_base_solid(dbnx, dbny, l, o) { module block_base_hole(style_hole, o) { r1 = r_hole1-o/2; r2 = r_hole2-o/2; - pattern_circular(4) + pattern_circular(abs(d_hole)<0.001?1:4) translate([d_hole/2, d_hole/2, 0]) union() { difference() {