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,8 +179,7 @@ module nut_bumps() {
|
|||
}
|
||||
}
|
||||
|
||||
for (i = [0:1:$screws - 1]) {
|
||||
translate([-$screw_head_diameter, i * ($screw_head_diameter + 5), 0])
|
||||
module screw() {
|
||||
union() {
|
||||
translate([0, 0, $screw_head_thickness - 4])
|
||||
thread();
|
||||
|
@ -187,6 +187,11 @@ for (i = [0:1:$screws - 1]) {
|
|||
};
|
||||
}
|
||||
|
||||
for (i = [0:1:$screws - 1]) {
|
||||
translate([-$screw_head_diameter, i * ($screw_head_diameter + 5), 0])
|
||||
screw();
|
||||
}
|
||||
|
||||
for (i = [0:1:$nuts - 1]) {
|
||||
translate([-$screw_head_diameter * 2 - 8, i * ($screw_head_diameter + 5), 0])
|
||||
difference() {
|
||||
|
@ -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