mirror of
https://github.com/kennetek/gridfinity-rebuilt-openscad.git
synced 2025-01-02 20:19:35 +00:00
Pass style_lip
argument in gridfinityInit
usages
faff922757
migrated `style_lip` from a
global value to be an argument to `gridfinityInit`, but the usages were
not updated.
This commit is contained in:
parent
0b7bf6ee78
commit
0fdb10526f
2 changed files with 5 additions and 5 deletions
|
@ -85,7 +85,7 @@ div_base_y = 0;
|
||||||
// ===== IMPLEMENTATION ===== //
|
// ===== IMPLEMENTATION ===== //
|
||||||
|
|
||||||
color("tomato") {
|
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) {
|
if (divx > 0 && divy > 0) {
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ module gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap
|
||||||
union() {
|
union() {
|
||||||
difference() {
|
difference() {
|
||||||
union() {
|
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();
|
children();
|
||||||
gridfinityBase(gridx, gridy, length, div_base_x, div_base_y, style_hole, only_corners=only_corners);
|
gridfinityBase(gridx, gridy, length, div_base_x, div_base_y, style_hole, only_corners=only_corners);
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,7 @@ module gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap
|
||||||
}
|
}
|
||||||
|
|
||||||
translate([0,0,-4*h_base])
|
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();
|
children();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ module gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap
|
||||||
difference() {
|
difference() {
|
||||||
union() {
|
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();
|
children();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ module gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap
|
||||||
|
|
||||||
|
|
||||||
translate([0,0,-4*h_base])
|
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();
|
children();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue