Final adjustment to get a working print
All checks were successful
Monorepo build / build-flake (push) Successful in 3s
All checks were successful
Monorepo build / build-flake (push) Successful in 3s
This commit was merged in pull request #339.
This commit is contained in:
@@ -23,13 +23,16 @@ battery_contact_flange_height = 1.9;
|
||||
|
||||
*/
|
||||
|
||||
cell_diameter = 18.5;
|
||||
cell_length = 68.5;
|
||||
cell_diameter = 19.5;
|
||||
cell_length = 73;
|
||||
converter_height = 6;
|
||||
converter_length = 22.25;
|
||||
converter_width = 11.25;
|
||||
spring_height = 7;
|
||||
wire_radius = 1;
|
||||
switch_length = 12;
|
||||
switch_width = 4.5;
|
||||
switch_height = 8;
|
||||
|
||||
wall_thickness = 4;
|
||||
interior_wall_thickness = 2;
|
||||
@@ -71,20 +74,20 @@ module outer_enclosure(dimensions) {
|
||||
rounded_cube([wall_thickness, width, height], bevel = bevel);
|
||||
translate([length / 2, 0, 0])
|
||||
rounded_cube([wall_thickness, width, height], bevel = bevel);
|
||||
/*
|
||||
translate([length / 2, 0, 0])
|
||||
rounded_cube([wall_thickness, width, height], bevel = bevel);
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
module sled_slot(length) {
|
||||
difference() {
|
||||
rounded_cube([length, 2, 4], bevel = bevel);
|
||||
translate([length / 2 - 8, 0, 2]) rotate([90, 0, 0]) cylinder(h = 4, r = 1, center = true);
|
||||
translate([length / 2 - 8, 0, 2]) rotate([90, 0, 0]) cylinder(h = 4, r = 2, center = true);
|
||||
}
|
||||
}
|
||||
|
||||
module switch() {
|
||||
rounded_cube([switch_length, switch_width, switch_height]);
|
||||
}
|
||||
|
||||
module enclosure() {
|
||||
length = cell_length + spring_height + converter_height + interior_wall_thickness * 3;
|
||||
width = cell_diameter * 2 + wall_thickness * 3;
|
||||
@@ -110,7 +113,7 @@ module enclosure() {
|
||||
rounded_cube([wall_thickness * 2, wire_radius * 2, wire_radius * 8], bevel = bevel);
|
||||
|
||||
// This one extends back into the battery container
|
||||
translate([0, width / 2 - wall_thickness, -height / 2 + wire_radius * 8])
|
||||
translate([0, width / 2 - wall_thickness, -height / 2 + wire_radius * 8 + 2])
|
||||
rounded_cube([length, wire_radius * 2 + clearance, wire_radius * 8], bevel = bevel);
|
||||
|
||||
// Now let's cut out some sleds for the lid
|
||||
@@ -118,6 +121,8 @@ module enclosure() {
|
||||
sled_slot(length);
|
||||
color("red") translate([-4, -width / 2 + wire_radius, height / 4])
|
||||
sled_slot(length);
|
||||
|
||||
translate([length / 2, width / 2 - wall_thickness * 2 - 1, 0]) rotate([0, 90, 0]) switch();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
BIN
3d-models/battery-case/case.stl
Normal file
BIN
3d-models/battery-case/case.stl
Normal file
Binary file not shown.
35
3d-models/tracks/tracks.scad
Normal file
35
3d-models/tracks/tracks.scad
Normal file
@@ -0,0 +1,35 @@
|
||||
$fn = 50;
|
||||
clearance = 0.1;
|
||||
bevel = 0.5;
|
||||
|
||||
bead_radius = 7.5;
|
||||
thickness = 2;
|
||||
height = 4;
|
||||
|
||||
include <../common/lib.scad>;
|
||||
|
||||
|
||||
|
||||
module slot() {
|
||||
difference() {
|
||||
cylinder(r = bead_radius + thickness, h = height, center = true);
|
||||
translate([0, 0, thickness + clearance])
|
||||
cylinder(r = bead_radius + clearance, h = height + clearance, center = true);
|
||||
}
|
||||
}
|
||||
|
||||
module track(count) {
|
||||
length = (bead_radius * 2 + 5) * count;
|
||||
|
||||
for(x = [ 0 : 1 : count - 1 ]) {
|
||||
translate([(bead_radius * 2 + 5) * x, 0, 0]) slot();
|
||||
}
|
||||
|
||||
translate([length / 2 - bead_radius - thickness - 0.5, 0, -thickness / 2])
|
||||
rounded_cube([length - 3, 8, thickness], bevel = bevel);
|
||||
}
|
||||
|
||||
track(3);
|
||||
translate([0, 20, 0]) track(4);
|
||||
translate([0, 40, 0]) track(6);
|
||||
|
||||
BIN
3d-models/tracks/tracks.stl
Normal file
BIN
3d-models/tracks/tracks.stl
Normal file
Binary file not shown.
Reference in New Issue
Block a user