Skip to content

Commit

Permalink
Merge pull request kennetek#48 from Ruudjhuu/feature/screw_together_m…
Browse files Browse the repository at this point in the history
…inimal

Feature/screw together minimal
  • Loading branch information
kennetek authored Feb 15, 2023
2 parents ba3c3e1 + 19a1504 commit 80540b3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions gridfinity-rebuilt-baseplate.scad
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fity = 0; // [-1:0.1:1]
/* [Styles] */

// baseplate styles
style_plate = 3; // [0: thin, 1:weighted, 2:skeletonized, 3: screw together]
style_plate = 0; // [0: thin, 1:weighted, 2:skeletonized, 3: screw together, 4: screw together minimal]

// enable magnet hole
enable_magnet = true;
Expand Down Expand Up @@ -95,17 +95,19 @@ module gridfinityBaseplate(gridx, gridy, length, dix, diy, sp, sm, sh, fitx, fit
if (sp == 1)
translate([0,0,-off])
cutter_weight();
else if (sp == 2 || sp == 3) {
else if (sp == 2 || sp == 3)
linear_extrude(10*(h_base+off), center = true)
profile_skeleton();
}
else if (sp == 4)
translate([0,0,-5*(h_base+off)])
rounded_square(length-2*r_c2-2*r_c1, 10*(h_base+off), r_fo3);

translate([0,0,-off]) {
if (sh == 1) cutter_countersink();
else if (sh == 2) cutter_counterbore();
}
}
if (sp == 3) cutter_screw_together(gx, gy, off);
if (sp == 3 || sp ==4) cutter_screw_together(gx, gy, off);
}

}
Expand Down

0 comments on commit 80540b3

Please sign in to comment.