remove need of extra module

This commit is contained in:
Ruud Swinkels 2023-02-13 13:54:56 +01:00
parent 2297e3af36
commit 46feb59b0d

View file

@ -92,8 +92,8 @@ module gridfinityBaseplate(gridx, gridy, length, dix, diy, sp, sm, sh) {
profile_skeleton(); profile_skeleton();
} }
else if (sp == 4) { else if (sp == 4) {
linear_extrude(10*(h_base+off), center = true) translate([0,0,-off - 0.001])
profile_skeleton_minimal(); rounded_square(length-6, off + 0.002, r_fo3);
} }
translate([0,0,-off]) { translate([0,0,-off]) {
@ -165,11 +165,6 @@ module profile_skeleton() {
} }
} }
module profile_skeleton_minimal() {
l = length - 6;
rounded_square(l,r_fo3);
}
module cutter_screw_together(gx, gy, off) { module cutter_screw_together(gx, gy, off) {
screw(gx, gy); screw(gx, gy);