Updated offset to account for screw hole diameter
This commit is contained in:
parent
e2e9ad536c
commit
997d2d545b
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ module gridfinityBaseplate(gridx, gridy, length, dix, diy, sp, sm, sh) {
|
||||||
gy = gridy == 0 ? floor(diy/length) : gridy;
|
gy = gridy == 0 ? floor(diy/length) : gridy;
|
||||||
dx = max(gx*length-0.5, dix);
|
dx = max(gx*length-0.5, dix);
|
||||||
dy = max(gy*length-0.5, diy);
|
dy = max(gy*length-0.5, diy);
|
||||||
off = (sp==0?0:sp==1?bp_h_bot:h_skel+(sm?h_hole:0)+(sh==0?0:sh==1?d_cs:h_cb));
|
off = (sp==0?0:sp==1?bp_h_bot:h_skel+(sm?h_hole:0)+(sh==0?d_screw:sh==1?d_cs:h_cb));
|
||||||
|
|
||||||
|
|
||||||
difference() {
|
difference() {
|
||||||
|
|
Loading…
Reference in a new issue