cleanup leftover code

This commit is contained in:
Ruud Swinkels 2023-02-22 21:41:51 +01:00
parent ea426c4d40
commit cd6f68093f

View file

@ -16,9 +16,9 @@ $fs = 0.25;
/* [General Settings] */ /* [General Settings] */
// number of bases along x-axis // number of bases along x-axis
gridx = 2; gridx = 4;
// number of bases along y-axis // number of bases along y-axis
gridy = 2; gridy = 4;
// base unit // base unit
length = 42; length = 42;
@ -54,7 +54,7 @@ style_plate = 0; // [0: thin, 1:weighted, 2:skeletonized, 3: screw together, 4:
enable_magnet = true; enable_magnet = true;
// hole styles // hole styles
style_hole = 1; // [0:none, 1:contersink, 2:counterbore] style_hole = 2; // [0:none, 1:contersink, 2:counterbore]
// ===== IMPLEMENTATION ===== // // ===== IMPLEMENTATION ===== //
@ -174,34 +174,6 @@ module cutter_counterbore(){
} }
} }
module cutter_countersink2() {
pattern_circular(4)
translate([d_hole/2, d_hole/2, 0]) {
cylinder(r = r_hole1+d_clear, h = 100*h_base, center = true);
translate([0,0,d_cs])
mirror([0,0,1])
hull() {
cylinder(h = d_cs+10, r=r_hole1+d_clear);
translate([0,0,d_cs])
cylinder(h=d_cs+10, r=r_hole1+d_clear+d_cs);
}
}
}
module cutter_counterbore2() {
pattern_circular(4)
translate([d_hole/2, d_hole/2, 0]) {
cylinder(h=100*h_base, r=r_hole1+d_clear, center=true);
difference() {
cylinder(h = 2*(h_cb+0.2), r=r_cb, center=true);
copy_mirror([0,1,0])
translate([-1.5*r_cb,r_hole1+d_clear+0.1,h_cb-h_slit])
cube([r_cb*3,r_cb*3, 10]);
}
}
}
module profile_skeleton() { module profile_skeleton() {
l = length-2*r_c2-2*r_c1; l = length-2*r_c2-2*r_c1;
minkowski() { minkowski() {