gridfinity-rebuilt-lite.scad: Fixup indenting and whitespace

This commit is contained in:
Sam Reed 2024-10-21 14:56:38 +01:00 committed by GitHub
parent 55fc273ddc
commit 185d9bf845
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -106,20 +106,17 @@ module gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap
gridfinityInit(gridx, gridy, height(20,0), 0, length, sl=style_lip) gridfinityInit(gridx, gridy, height(20,0), 0, length, sl=style_lip)
children(); children();
} }
} }
difference() { difference() {
translate([0,0,-1.6]) translate([0,0,-1.6])
difference() { difference() {
difference() { difference() {
union() { union() {
gridfinityInit(gridx, gridy, height_mm, 0, length, sl=style_lip) gridfinityInit(gridx, gridy, height_mm, 0, length, sl=style_lip)
children(); children();
} }
difference() { difference() {
intersection() { intersection() {
difference() { difference() {
gridfinityBase([gridx, gridy], [length, length], hole_options=style_hole, -d_wall*2, false, only_corners=only_corners); gridfinityBase([gridx, gridy], [length, length], hole_options=style_hole, -d_wall*2, false, only_corners=only_corners);
@ -132,7 +129,6 @@ module gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap
rounded_rectangle(gridx*1000, gridy*1000, 1000, r_f2); rounded_rectangle(gridx*1000, gridy*1000, 1000, r_f2);
} }
translate([0,0,-4*h_base]) translate([0,0,-4*h_base])
gridfinityInit(gridx, gridy, height(20,0), 0, length, sl=style_lip) gridfinityInit(gridx, gridy, height(20,0), 0, length, sl=style_lip)
children(); children();