Finish arm base

This commit is contained in:
Kaan Barmore-Genç 2023-12-24 13:37:46 -06:00
parent 1a4ae271a7
commit 521eebca77
Signed by: kaan
GPG key ID: B2E280771CD62FCF
2 changed files with 327 additions and 291 deletions

View file

@ -2,6 +2,7 @@
$camera_mount = true; $camera_mount = true;
$base = true; $base = true;
$screen_mount = true; $screen_mount = true;
$arm_base = true;
$arm_pieces = 1; $arm_pieces = 1;
$screws = 1; $screws = 1;
$nuts = 1; $nuts = 1;
@ -28,7 +29,7 @@ $steps_per_turn = $preview ? 8 : 128;
use <Thread_Library.scad> use <Thread_Library.scad>
if ($camera_mount) { if ($camera_mount) {
translate([0, -60, 0]) translate([-90, -40, 0])
camera_mount(); camera_mount();
} }
if ($base) { if ($base) {
@ -178,13 +179,17 @@ module nut_bumps() {
} }
} }
module screw() {
union() {
translate([0, 0, $screw_head_thickness - 4])
thread();
nut_head();
};
}
for (i = [0:1:$screws - 1]) { for (i = [0:1:$screws - 1]) {
translate([-$screw_head_diameter, i * ($screw_head_diameter + 5), 0]) translate([-$screw_head_diameter, i * ($screw_head_diameter + 5), 0])
union() { screw();
translate([0, 0, $screw_head_thickness - 4])
thread();
nut_head();
};
} }
for (i = [0:1:$nuts - 1]) { for (i = [0:1:$nuts - 1]) {
@ -232,3 +237,34 @@ module thread_hole_punch(height=50) {
translate([0, 0, -0.1]) translate([0, 0, -0.1])
cylinder(d=13, h=height); cylinder(d=13, h=height);
} }
module arm_base() {
$width = 20;
$thickness = 3;
$screw_top = 24.46175;
$hole_height = $screw_top + $width / 2 + 1;
difference() {
union() {
translate([0, $thickness / 2, $hole_height])
rotate([90, 0, 0])
cylinder(d=$width, h=$thickness);
color("gray")
translate([-$width / 2, -$thickness / 2, $screw_top])
cube([$width, $thickness, $width / 2 + 1]);
};
translate([0, 2, $hole_height])
rotate([90, 0, 0])
thread_hole_punch();
}
color("brown")
translate([0, 0, $screw_top])
rotate([-180, 0, 0])
screw();
}
if ($arm_base) {
translate([-30, -40, 0])
arm_base();
}