2016-07-09 01:59:11 +02:00
|
|
|
include <constants.scad>;
|
|
|
|
|
|
|
|
$fn = 90;
|
|
|
|
|
|
|
|
module cap(height) {
|
|
|
|
difference() {
|
|
|
|
union() {
|
|
|
|
cylinder(d = support_cap_outer_dia,
|
|
|
|
h = height);
|
|
|
|
|
|
|
|
translate([0, 0, height])
|
|
|
|
cylinder(d = insert_diameter,
|
|
|
|
h = insert_length);
|
|
|
|
}
|
|
|
|
union() {
|
|
|
|
cylinder(d = support_cap_inner_dia,
|
2017-09-06 23:36:59 +02:00
|
|
|
h = height * 0.75);
|
2016-07-09 01:59:11 +02:00
|
|
|
|
2017-09-06 23:36:59 +02:00
|
|
|
cylinder(d = insert_hole_dia,
|
|
|
|
h = height + insert_length);
|
2016-07-09 01:59:11 +02:00
|
|
|
|
|
|
|
translate([0, 0, support_cap_hole_height])
|
|
|
|
rotate([0, 90, 0])
|
2017-09-06 23:36:59 +02:00
|
|
|
cylinder(d = support_cap_hole_dia,
|
2016-07-09 01:59:11 +02:00
|
|
|
h = support_cap_outer_dia,
|
|
|
|
center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
translate([20, 0, 0])
|
|
|
|
cap(short_support_cap_height);
|
|
|
|
|
|
|
|
translate([-20, 0, 0])
|
|
|
|
cap(long_support_cap_height);
|