2016-07-05 23:10:28 +02:00
|
|
|
include <constants.scad>;
|
2016-07-06 12:36:56 +02:00
|
|
|
use<utils.scad>
|
2016-07-05 23:10:28 +02:00
|
|
|
$fn = 90;
|
|
|
|
|
|
|
|
|
|
|
|
difference() {
|
|
|
|
union() {
|
|
|
|
cylinder(r = bottom_outer_diameter / 2, h = bottom_height);
|
2016-07-06 12:36:56 +02:00
|
|
|
|
2016-07-05 23:10:28 +02:00
|
|
|
translate([0, 0, bottom_height])
|
2016-07-06 12:36:56 +02:00
|
|
|
cylinder(r = insert_diameter/2,
|
2016-07-05 23:10:28 +02:00
|
|
|
h = insert_length);
|
2016-07-06 12:36:56 +02:00
|
|
|
|
|
|
|
arms([0, 180], arm_radius, arm_dia/2, arm_dia);
|
|
|
|
arms([90,270], arm_radius, bottom_short_loop_arms_height, arm_dia);
|
2016-07-05 23:10:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
union() {
|
|
|
|
cylinder(r = bottom_inner_diameter / 2, h = bottom_inner_depth);
|
|
|
|
|
2016-07-06 12:36:56 +02:00
|
|
|
cylinder(r = insert_hole_dia / 2,
|
2016-07-05 23:10:28 +02:00
|
|
|
h = insert_length + bottom_height);
|
2016-07-06 12:36:56 +02:00
|
|
|
|
|
|
|
arms([0, 180], arm_radius, arm_dia / 2, arm_hole_dia);
|
|
|
|
arms([90,270], arm_radius, bottom_short_loop_arms_height, arm_hole_dia);
|
|
|
|
arms([0,180], bottom_outer_diameter / 2, bottom_short_loop_arms_height, bottom_work_hole_dia);
|
2016-07-05 23:10:28 +02:00
|
|
|
}
|
2016-07-06 12:36:56 +02:00
|
|
|
}
|