Model mount for power regulator
This commit is contained in:
parent
73bb4e267f
commit
23a3165958
1 changed files with 40 additions and 9 deletions
|
@ -11,6 +11,8 @@ box_inside = [ 130, 140, 110 ];
|
||||||
screw_diameter = 3;
|
screw_diameter = 3;
|
||||||
screw_length = 6.3;
|
screw_length = 6.3;
|
||||||
|
|
||||||
|
bb_size = [ 46, 35 ];
|
||||||
|
|
||||||
// -------------------------------------------
|
// -------------------------------------------
|
||||||
|
|
||||||
corner_piece_size = screw_diameter +
|
corner_piece_size = screw_diameter +
|
||||||
|
@ -27,7 +29,7 @@ box_outside = [
|
||||||
|
|
||||||
offset_arduino = [53.4+8, 40, wall_thickness];
|
offset_arduino = [53.4+8, 40, wall_thickness];
|
||||||
|
|
||||||
breadboard = [ 46, 35+24+13, 49 ];
|
breadboard = [ bb_size[0], bb_size[1]+24+13, 49 ];
|
||||||
offset_breadboard = [70, 20, wall_thickness - 0.1];
|
offset_breadboard = [70, 20, wall_thickness - 0.1];
|
||||||
bb_mount_height = 5;
|
bb_mount_height = 5;
|
||||||
|
|
||||||
|
@ -43,7 +45,7 @@ power_reg_underneath = 9;
|
||||||
offset_power_reg = [
|
offset_power_reg = [
|
||||||
offset_arduino[0] + 10,
|
offset_arduino[0] + 10,
|
||||||
85,
|
85,
|
||||||
wall_thickness + power_reg_underneath
|
wall_thickness
|
||||||
];
|
];
|
||||||
|
|
||||||
// -------------------------------------------
|
// -------------------------------------------
|
||||||
|
@ -120,20 +122,20 @@ translate(offset_arduino) rotate([0, 0, 90]) {
|
||||||
translate(offset_breadboard) difference() {
|
translate(offset_breadboard) difference() {
|
||||||
union() {
|
union() {
|
||||||
translate([wall_thickness*2, 0, 0]) cube([
|
translate([wall_thickness*2, 0, 0]) cube([
|
||||||
46 - (wall_thickness*2),
|
bb_size[0] - (wall_thickness*2),
|
||||||
35 + wall_thickness*2,
|
bb_size[1] + wall_thickness*2,
|
||||||
bb_mount_height
|
bb_mount_height
|
||||||
]);
|
]);
|
||||||
translate([0, wall_thickness*2, 0]) cube([
|
translate([0, wall_thickness*2, 0]) cube([
|
||||||
46 + wall_thickness*2,
|
bb_size[0] + wall_thickness*2,
|
||||||
35 - (wall_thickness*2),
|
bb_size[1] - (wall_thickness*2),
|
||||||
bb_mount_height
|
bb_mount_height
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
translate([wall_thickness, wall_thickness, -1]) cube([
|
translate([wall_thickness, wall_thickness, -1]) cube([
|
||||||
46,
|
bb_size[0],
|
||||||
35,
|
bb_size[1],
|
||||||
bb_mount_height + 2
|
bb_mount_height + 2
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@ -145,7 +147,36 @@ translate(offset_breadboard) difference() {
|
||||||
|
|
||||||
// Power Regulator
|
// Power Regulator
|
||||||
// ----------------------
|
// ----------------------
|
||||||
% translate(offset_power_reg) cube(power_reg);
|
% translate(offset_power_reg + [0, 0, power_reg_underneath]) cube(power_reg);
|
||||||
|
|
||||||
|
translate(offset_power_reg) {
|
||||||
|
% cube([ 46, 35, bb_mount_height ]);
|
||||||
|
|
||||||
|
translate([ 0, bb_size[1], 0 ]) cube([
|
||||||
|
46,
|
||||||
|
wall_thickness,
|
||||||
|
bb_mount_height
|
||||||
|
]);
|
||||||
|
|
||||||
|
translate([ 0, -wall_thickness, 0 ]) cube([
|
||||||
|
46,
|
||||||
|
wall_thickness,
|
||||||
|
bb_mount_height
|
||||||
|
]);
|
||||||
|
|
||||||
|
|
||||||
|
translate([-wall_thickness, -wall_thickness + 16, 0]) cube([
|
||||||
|
wall_thickness,
|
||||||
|
bb_size[1] + wall_thickness*2 - 16,
|
||||||
|
bb_mount_height
|
||||||
|
]);
|
||||||
|
|
||||||
|
translate([bb_size[0], -wall_thickness, 0]) cube([
|
||||||
|
wall_thickness,
|
||||||
|
bb_size[1] + wall_thickness*2,
|
||||||
|
bb_mount_height
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
// Corners
|
// Corners
|
||||||
// -------------------------------------------
|
// -------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue