Merge pull request #120 from rpedde/fix-undefined-length

Fix "unknown variable length" error
This commit is contained in:
Ruud 2023-06-08 21:16:15 +02:00 committed by GitHub
commit d5c582f537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ module gridfinityBase(gx, gy, l, dx, dy, style_hole, off=0, final_cut=true, only
difference(){
pattern_linear(gx/dbnx, gy/dbny, dbnx*l, dbny*l)
block_base(gx, gy, l, dbnx, dbny, 0, off);
pattern_linear(2, 2, (gx-1)*length+d_hole, (gy-1)*length+d_hole)
pattern_linear(2, 2, (gx-1)*l_grid+d_hole, (gy-1)*l_grid+d_hole)
block_base_hole(style_hole, off);
}
}