add baseplate screw together minimal

This commit is contained in:
Ruud Swinkels 2023-01-11 21:44:13 +01:00
parent 8d8827de6c
commit 7ec3f30ffe

View file

@ -42,7 +42,7 @@ distancey = 0;
/* [Styles] */
// baseplate styles
style_plate = 3; // [0: thin, 1:weighted, 2:skeletonized, 3: screw together]
style_plate = 3; // [0: thin, 1:weighted, 2:skeletonized, 3: screw together, 4: screw together minimal]
// enable magnet hole
enable_magnet = true;
@ -91,6 +91,10 @@ module gridfinityBaseplate(gridx, gridy, length, dix, diy, sp, sm, sh) {
linear_extrude(10*(h_base+off), center = true)
profile_skeleton();
}
else if (sp == 4) {
linear_extrude(10*(h_base+off), center = true)
profile_skeleton_minimal();
}
translate([0,0,-off]) {
if (sh == 1) cutter_countersink();
@ -163,9 +167,7 @@ module profile_skeleton() {
module profile_skeleton_minimal() {
l = length - 6;
offset(r_fo3)
offset(-r_fo3)
square([l,l], center = true);
rounded_square(l,r_fo3);
}
module cutter_screw_together(gx, gy, off) {