Fix "unknown variable length" error

The "only corners" option didn't get the message about the move of
length to l_grid in 99100b66
This commit is contained in:
rpedde 2023-06-08 12:01:29 -05:00
parent 2fef9f6d70
commit 4ae0a87793

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);
}
}