Finish arm base
This commit is contained in:
parent
1a4ae271a7
commit
521eebca77
|
@ -2,6 +2,7 @@
|
|||
$camera_mount = true;
|
||||
$base = true;
|
||||
$screen_mount = true;
|
||||
$arm_base = true;
|
||||
$arm_pieces = 1;
|
||||
$screws = 1;
|
||||
$nuts = 1;
|
||||
|
@ -28,7 +29,7 @@ $steps_per_turn = $preview ? 8 : 128;
|
|||
use <Thread_Library.scad>
|
||||
|
||||
if ($camera_mount) {
|
||||
translate([0, -60, 0])
|
||||
translate([-90, -40, 0])
|
||||
camera_mount();
|
||||
}
|
||||
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]) {
|
||||
translate([-$screw_head_diameter, i * ($screw_head_diameter + 5), 0])
|
||||
union() {
|
||||
translate([0, 0, $screw_head_thickness - 4])
|
||||
thread();
|
||||
nut_head();
|
||||
};
|
||||
screw();
|
||||
}
|
||||
|
||||
for (i = [0:1:$nuts - 1]) {
|
||||
|
@ -232,3 +237,34 @@ module thread_hole_punch(height=50) {
|
|||
translate([0, 0, -0.1])
|
||||
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();
|
||||
}
|
Loading…
Reference in a new issue