Rename 2020_profile module to 2020_tslot

This commit is contained in:
mmcwilliams 2023-04-24 23:28:38 -04:00
parent 1c8c5f070e
commit 3c7470c843
1 changed files with 6 additions and 6 deletions

View File

@ -20,7 +20,7 @@ minkR_PF = 0.05 * 20; // Minkowski radius for the profile corners.
//CUSTOMIZER VARIABLES END
module 2020_profile(height, core = ProfileCore) {
module 2020_tslot(height, core = ProfileCore) {
linear_extrude(height = height, center = true)
union() {
difference() {
@ -29,10 +29,10 @@ module 2020_profile(height, core = ProfileCore) {
square([1 * 20 - 2 * minkR_PF, 1 * 20 - 2 * minkR_PF], center = true);
}
translate([0, 0, 0]) circle(r = core / 2, $fn = 24);
translate([-0.5 * 20 + 0.087 * 20, 0, 0]) 2020_tslot();
rotate([0, 0, 180]) translate([-0.5 * 20 + 0.087 * 20, 0, 0]) 2020_tslot();
translate([0, -0.5 * 20 + 0.087 * 20, 0]) rotate([0, 0, 90]) 2020_tslot();
translate([0, 0.5 * 20 - 0.087 * 20, 0]) rotate([0, 0, -90]) 2020_tslot();
translate([-0.5 * 20 + 0.087 * 20, 0, 0]) 2020_tslot_void();
rotate([0, 0, 180]) translate([-0.5 * 20 + 0.087 * 20, 0, 0]) 2020_tslot_void();
translate([0, -0.5 * 20 + 0.087 * 20, 0]) rotate([0, 0, 90]) 2020_tslot_void();
translate([0, 0.5 * 20 - 0.087 * 20, 0]) rotate([0, 0, -90]) 2020_tslot_void();
}
}
}
@ -89,7 +89,7 @@ module double_cutout() {
}
}
module 2020_tslot() {
module 2020_tslot_void() {
union() {
translate([minkR_TS, 0, 0])
minkowski() {