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] */ /* [Styles] */
// baseplate 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 hole
enable_magnet = true; 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) linear_extrude(10*(h_base+off), center = true)
profile_skeleton(); profile_skeleton();
} }
else if (sp == 4) {
linear_extrude(10*(h_base+off), center = true)
profile_skeleton_minimal();
}
translate([0,0,-off]) { translate([0,0,-off]) {
if (sh == 1) cutter_countersink(); if (sh == 1) cutter_countersink();
@ -163,9 +167,7 @@ module profile_skeleton() {
module profile_skeleton_minimal() { module profile_skeleton_minimal() {
l = length - 6; l = length - 6;
offset(r_fo3) rounded_square(l,r_fo3);
offset(-r_fo3)
square([l,l], center = true);
} }
module cutter_screw_together(gx, gy, off) { module cutter_screw_together(gx, gy, off) {