Updated scad files based on test prints

This commit is contained in:
TQ Hirsch
2022-04-24 23:58:24 +02:00
parent b676cf0409
commit ce6a6be1e9
5 changed files with 33 additions and 11 deletions

View File

@@ -1,3 +1,5 @@
$fs=0.1;
include <constants.scad>
include <parts.scad>

View File

@@ -14,7 +14,7 @@ cur_ypos = 140;
echo(str("Range = ", [ xsize - xmin * 2, ysize - ymin * 2 ]));
//$fn = 30;
$fn = 30;
screw_hole_expansion = 1.1;
screw_num_sides = 7;

View File

@@ -409,6 +409,7 @@ module xsled_frame() {
}
}
gt2_clip_meshing_dist = belt_pitch * 6;
gt2_clip_peg_diam = 8; // min 6
gt2_clip_ease_in_diam = 6;
@@ -418,7 +419,9 @@ gt2_clip_gap_diam = gt2_clip_peg_diam + belt_thickness * 2 + 1;
gt2_clip_thickness = (gt2_clip_peg_diam + gt2_clip_gap_diam)/2;
gt2_clip_length = gt2_clip_narrowing_dist + gt2_clip_meshing_dist + gt2_clip_peg_diam / 2 + gt2_clip_gap_diam - belt_thickness;
module gt2_clip_cutout(teeth_inside) {
dual_width = belt_thickness * 2 - tooth_height;
belt_expansion = 0.5;
dual_width = belt_thickness * 2 - tooth_height + belt_expansion;
loop_peg_diam = gt2_clip_peg_diam; // min 6mm
gap_diam = gt2_clip_gap_diam;
narrowing_ease_diam = 6;
@@ -426,7 +429,7 @@ module gt2_clip_cutout(teeth_inside) {
meshing_dist = gt2_clip_meshing_dist;
ease_out_rad = gap_diam - belt_thickness ;
out_off = teeth_inside ? 0 : dual_width - belt_thickness;
out_off = teeth_inside ? 0 : dual_width - belt_thickness - belt_expansion;
translate([
-(narrowing_dist + meshing_dist + (ease_out_rad - out_off - belt_thickness))
-(teeth_inside ? tooth_height - belt_pld : belt_backing)
@@ -453,7 +456,7 @@ module gt2_clip_cutout(teeth_inside) {
[0, 0],
[meshing_dist - 1, 0],
[meshing_dist, - out_off],
[meshing_dist, - belt_thickness - out_off],
[meshing_dist, - belt_thickness - out_off - belt_expansion],
[meshing_dist - 1, - dual_width],
[0, - dual_width]
]);
@@ -463,7 +466,7 @@ module gt2_clip_cutout(teeth_inside) {
square(ease_out_rad + 2);
difference() {
circle(ease_out_rad - out_off);
circle(ease_out_rad - out_off - belt_thickness);
circle(ease_out_rad - out_off - belt_thickness - belt_expansion);
}
}
}

View File

@@ -27,7 +27,7 @@ module bushing() {
}
// located with the shaft in +z, face on the XY plane
module nema17(depth = 23.5) {
module nema17(depth = 38) {
bom_item(printable = false, label = "NEMA-17 stepper motor");
face = 42.3;
screw_pitch = 31 / 2;

View File

@@ -18,11 +18,28 @@ module bearing_slot() {
}
let($fn = 30) {
translate([-28, 0, frame_size/2])
rotate([0,90,0]) bearing_slot();
//translate([-28, 0, frame_size/2])
//rotate([0,90,0]) bearing_slot();
translate([28, 0, frame_size/2])
rotate([0,-90,0]) bearing_slot();
//translate([28, 0, frame_size/2])
// rotate([0,-90,0]) bearing_slot();
idler_post(10);
//idler_post(10);
intersection() {
translate([0,0,belt_width/2 + 4])
union() {
gt2_clip(true);
translate([0,-1,0])
mirror([0,1,0])
gt2_clip(false);
}
translate([-40, -40, 0])
cube([80,80,belt_width + 2]);
}
//gt2_clip_cutout(false);
}