Skip to content

Commit

Permalink
Pass style_lip argument in gridfinityInit usages
Browse files Browse the repository at this point in the history
faff922 migrated `style_lip` from a
global value to be an argument to `gridfinityInit`, but the usages were
not updated.
  • Loading branch information
smkent authored and Ruudjhuu committed Feb 15, 2024
1 parent 0b7bf6e commit 0fdb105
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gridfinity-rebuilt-bins.scad
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ div_base_y = 0;
// ===== IMPLEMENTATION ===== //

color("tomato") {
gridfinityInit(gridx, gridy, height(gridz, gridz_define, style_lip, enable_zsnap), height_internal) {
gridfinityInit(gridx, gridy, height(gridz, gridz_define, style_lip, enable_zsnap), height_internal, sl=style_lip) {

if (divx > 0 && divy > 0) {

Expand Down
8 changes: 4 additions & 4 deletions gridfinity-rebuilt-lite.scad
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap
union() {
difference() {
union() {
gridfinityInit(gridx, gridy, height(gridz, gridz_define, style_lip, enable_zsnap), 0, length)
gridfinityInit(gridx, gridy, height(gridz, gridz_define, style_lip, enable_zsnap), 0, length, sl=style_lip)
children();
gridfinityBase(gridx, gridy, length, div_base_x, div_base_y, style_hole, only_corners=only_corners);
}
Expand All @@ -89,7 +89,7 @@ module gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap
}

translate([0,0,-4*h_base])
gridfinityInit(gridx, gridy, height(20,0), 0, length)
gridfinityInit(gridx, gridy, height(20,0), 0, length, sl=style_lip)
children();
}

Expand All @@ -100,7 +100,7 @@ module gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap
difference() {
union() {

gridfinityInit(gridx, gridy, height(gridz, gridz_define, style_lip, enable_zsnap), 0, length)
gridfinityInit(gridx, gridy, height(gridz, gridz_define, style_lip, enable_zsnap), 0, length, sl=style_lip)
children();
}

Expand All @@ -120,7 +120,7 @@ module gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap


translate([0,0,-4*h_base])
gridfinityInit(gridx, gridy, height(20,0), 0, length)
gridfinityInit(gridx, gridy, height(20,0), 0, length, sl=style_lip)
children();
}

Expand Down

0 comments on commit 0fdb105

Please sign in to comment.