small change for when only one hole is desired

This commit is contained in:
kennetek 2022-11-06 14:56:08 -07:00
parent 492f4664c0
commit fc1e98c927
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
ignore/
gridfinity-rebuilt.json
stl/
batch/

View file

@ -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() {