Final adjustments to mechanical bits before printing starts
This commit is contained in:
@@ -4,6 +4,7 @@ include <stock_parts.scad>
|
|||||||
include <units.inc>
|
include <units.inc>
|
||||||
|
|
||||||
frame_size = 20;
|
frame_size = 20;
|
||||||
|
frame_expansion = 0.2; // expansion on each side
|
||||||
wall_thickness = 2;
|
wall_thickness = 2;
|
||||||
corner_size = 40; // length of mating surface between corner and frame
|
corner_size = 40; // length of mating surface between corner and frame
|
||||||
// The length along each edge that the corner bracket takes. I.e., if
|
// The length along each edge that the corner bracket takes. I.e., if
|
||||||
@@ -23,7 +24,7 @@ belt_height2 = belt_height1 + belt_width + 2;
|
|||||||
|
|
||||||
ysled_rail_spacing = (sled_ysize);
|
ysled_rail_spacing = (sled_ysize);
|
||||||
motor_shaft_xoffset = 15;
|
motor_shaft_xoffset = 15;
|
||||||
motor_mount_length_adjustment = 8;
|
motor_mount_length_adjustment = 5;
|
||||||
motor_mount_length = nema17_face + wall_thickness + motor_mount_length_adjustment;
|
motor_mount_length = nema17_face + wall_thickness + motor_mount_length_adjustment;
|
||||||
|
|
||||||
// distance between centerline of rail and centerline of frame Y tube.
|
// distance between centerline of rail and centerline of frame Y tube.
|
||||||
@@ -53,10 +54,10 @@ module corner_base(extension = wall_thickness) {
|
|||||||
polygon(points = cap_points);
|
polygon(points = cap_points);
|
||||||
|
|
||||||
// two bars...
|
// two bars...
|
||||||
translate([ -frame_size / 2, actual_corner_offset, -frame_size / 2 ])
|
translate([ -frame_size / 2 - frame_expansion, actual_corner_offset, -frame_size / 2 - frame_expansion ])
|
||||||
cube([ frame_size, ldim, frame_size ]);
|
cube([ frame_size + frame_expansion*2, ldim, frame_size + frame_expansion*2 ]);
|
||||||
translate([ actual_corner_offset, -frame_size / 2, -frame_size / 2 ])
|
translate([ actual_corner_offset, -frame_size / 2 - frame_expansion, -frame_size / 2 - frame_expansion ])
|
||||||
cube([ ldim, frame_size, frame_size ]);
|
cube([ ldim, frame_size + frame_expansion * 2, frame_size + frame_expansion*2 ]);
|
||||||
|
|
||||||
// Screw holes
|
// Screw holes
|
||||||
for (pos = [10, 30],
|
for (pos = [10, 30],
|
||||||
@@ -70,7 +71,7 @@ module corner_base(extension = wall_thickness) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Adjustable feet
|
// Adjustable feet
|
||||||
cylinder(d=8, h=odim * 2 + 1, center=true, $fn = screw_num_sides);
|
cylinder(d=m6_insert_d, h=odim * 2 + 1, center=true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -177,7 +178,7 @@ module nema17_housing() {
|
|||||||
translate([ 0, -nema17_face / 2 - frame_size / 2 - wall_thickness, 0 ]) {
|
translate([ 0, -nema17_face / 2 - frame_size / 2 - wall_thickness, 0 ]) {
|
||||||
slotify(slot_vector) {
|
slotify(slot_vector) {
|
||||||
translate([ 0, 0, -belt_height2/2 - wall_thickness ])
|
translate([ 0, 0, -belt_height2/2 - wall_thickness ])
|
||||||
cube([ nema17_face + 1, nema17_face + 1, hdepth + belt_height2 ], center = true);
|
cube([ nema17_face + 2, nema17_face + 2, hdepth + belt_height2 ], center = true);
|
||||||
cylinder(d = 23, frame_size);
|
cylinder(d = 23, frame_size);
|
||||||
}
|
}
|
||||||
for (x = [-1, 1], y = [-1,1]) {
|
for (x = [-1, 1], y = [-1,1]) {
|
||||||
|
|||||||
@@ -8,6 +8,10 @@ bushing_len = 24;
|
|||||||
|
|
||||||
nema17_face = 42.3;
|
nema17_face = 42.3;
|
||||||
|
|
||||||
|
m3_insert_d = 4.2;
|
||||||
|
m5_insert_d = 7.5;
|
||||||
|
m6_insert_d = 8.2;
|
||||||
|
|
||||||
module colorize(colorname) {
|
module colorize(colorname) {
|
||||||
if (use_colors) {
|
if (use_colors) {
|
||||||
color(colorname) union() { children(); }
|
color(colorname) union() { children(); }
|
||||||
|
|||||||
Reference in New Issue
Block a user