mirror of
https://github.com/kennetek/gridfinity-rebuilt-openscad.git
synced 2024-11-26 02:08:01 +00:00
small change for when only one hole is desired
This commit is contained in:
parent
492f4664c0
commit
fc1e98c927
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
ignore/
|
||||
gridfinity-rebuilt.json
|
||||
stl/
|
||||
batch/
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue