2016-04-19 01:14:56 +02:00
|
|
|
include <constants.scad>;
|
|
|
|
include <bayonetmount.scad>;
|
2016-08-01 11:58:41 +02:00
|
|
|
include <support.scad>;
|
2016-05-03 19:10:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-19 01:14:56 +02:00
|
|
|
difference() {
|
|
|
|
translate([0, 0, bumper_height / 2])
|
|
|
|
minkowski() {
|
|
|
|
radius = bumper_diameter / 2 - bumper_edge_radius;
|
|
|
|
height = bumper_height - 2 * bumper_edge_radius;
|
|
|
|
cylinder(r = radius, h = height, center = true);
|
|
|
|
sphere(r = bumper_edge_radius, center = true);
|
|
|
|
}
|
|
|
|
|
2016-08-01 11:58:41 +02:00
|
|
|
translate([0, 0, bumper_height - lid_depth])
|
2016-04-19 01:14:56 +02:00
|
|
|
hole(tube_outer_diameter,
|
|
|
|
tube_inner_diameter,
|
|
|
|
latch_width,
|
|
|
|
latch_height,
|
|
|
|
lid_height);
|
|
|
|
|
|
|
|
translate([0, 0, lid_height / 2])
|
|
|
|
cylinder(r = tube_inner_diameter / 2,
|
|
|
|
h = lid_height,
|
|
|
|
center = true);
|
|
|
|
|
|
|
|
|
|
|
|
translate([0, 0, bumper_tube_depth / 2])
|
|
|
|
cylinder(r = tube_outer_diameter / 2,
|
|
|
|
h = bumper_tube_depth,
|
|
|
|
center = true);
|
2016-05-03 19:10:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
translate([0, 0, bumper_tube_depth / 2])
|
2016-12-01 16:15:24 +01:00
|
|
|
color("red")
|
|
|
|
support(tube_inner_diameter + 0.5, bumper_tube_depth);
|
2016-05-03 19:10:09 +02:00
|
|
|
|
2016-08-01 11:58:41 +02:00
|
|
|
translate([0, 0, bumper_height - lid_depth + latch_height / 2])
|
2016-12-01 16:15:24 +01:00
|
|
|
color("red")
|
|
|
|
support(tube_inner_diameter + 0.5, latch_height);
|