First prototype
This commit is contained in:
parent
b5b5787b94
commit
68bdb9268a
|
@ -5,8 +5,11 @@ tube_outer_diameter = 76;
|
|||
|
||||
// Lid
|
||||
lid_height = 10;
|
||||
latch_width = 10;
|
||||
latch_height = 4;
|
||||
lid_depth = 7.5;
|
||||
latch_width = 20;
|
||||
latch_height = 5;
|
||||
brim_height = 2.5;
|
||||
|
||||
|
||||
groove_depth = 7.5;
|
||||
groove_length = 50;
|
||||
|
@ -16,4 +19,4 @@ bumper_height = 15;
|
|||
bumper_diameter = 85;
|
||||
// Flat surface starts after bumper_edge_radius from the outside
|
||||
bumper_edge_radius = bumper_diameter - tube_outer_diameter - 4;
|
||||
bumper_tube_depth = 4;
|
||||
bumper_tube_depth = 5;
|
27
lid.scad
27
lid.scad
|
@ -1,15 +1,23 @@
|
|||
include <constants.scad>;
|
||||
include <bayonetmount.scad>;
|
||||
include <support.scad>;
|
||||
|
||||
delta = 0.2;
|
||||
delta = 0.5;
|
||||
wall_thickness = 5;
|
||||
|
||||
difference() {
|
||||
lid(tube_outer_diameter - delta * 2,
|
||||
tube_inner_diameter - delta * 2,
|
||||
latch_width - delta,
|
||||
latch_height - delta,
|
||||
lid_height);
|
||||
union() {
|
||||
lid(tube_outer_diameter - delta * 2,
|
||||
tube_inner_diameter - delta * 2,
|
||||
latch_width - delta,
|
||||
latch_height - delta,
|
||||
lid_height - delta);
|
||||
|
||||
translate([0, 0, lid_height - brim_height / 2])
|
||||
cylinder(r = tube_outer_diameter / 2,
|
||||
h = brim_height,
|
||||
center = true);
|
||||
}
|
||||
|
||||
hull() {
|
||||
pos = groove_length / 2 - groove_depth;
|
||||
|
@ -30,4 +38,11 @@ difference() {
|
|||
lid_height],
|
||||
center = true);
|
||||
}
|
||||
}
|
||||
|
||||
translate([0, 0, lid_height /2]) {
|
||||
support(tube_outer_diameter, lid_height);
|
||||
support(tube_outer_diameter * 0.96, lid_height);
|
||||
|
||||
support(tube_inner_diameter * 0.75, lid_height);
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
module support(outer_diameter, height) {
|
||||
inner_diameter = outer_diameter - 0.5;
|
||||
|
||||
difference() {
|
||||
cylinder(r = outer_diameter / 2,
|
||||
h = height,
|
||||
center=true);
|
||||
cylinder(r = inner_diameter / 2,
|
||||
h = height * 1.01,
|
||||
center = true);
|
||||
}
|
||||
}
|
19
top.scad
19
top.scad
|
@ -1,19 +1,6 @@
|
|||
include <constants.scad>;
|
||||
include <bayonetmount.scad>;
|
||||
|
||||
|
||||
module support(outer_diameter, height) {
|
||||
inner_diameter = outer_diameter - 0.5;
|
||||
|
||||
difference() {
|
||||
cylinder(r = outer_diameter / 2,
|
||||
h = height,
|
||||
center=true);
|
||||
cylinder(r = inner_diameter / 2,
|
||||
h = height * 1.01,
|
||||
center = true);
|
||||
}
|
||||
}
|
||||
include <support.scad>;
|
||||
|
||||
|
||||
|
||||
|
@ -26,7 +13,7 @@ difference() {
|
|||
sphere(r = bumper_edge_radius, center = true);
|
||||
}
|
||||
|
||||
translate([0, 0, bumper_height - lid_height])
|
||||
translate([0, 0, bumper_height - lid_depth])
|
||||
hole(tube_outer_diameter,
|
||||
tube_inner_diameter,
|
||||
latch_width,
|
||||
|
@ -49,5 +36,5 @@ difference() {
|
|||
translate([0, 0, bumper_tube_depth / 2])
|
||||
support(tube_inner_diameter + 0.5, bumper_tube_depth);
|
||||
|
||||
translate([0, 0, bumper_height - lid_height + latch_height / 2])
|
||||
translate([0, 0, bumper_height - lid_depth + latch_height / 2])
|
||||
support(tube_inner_diameter + 0.5, latch_height);
|
Loading…
Reference in New Issue