Added test prints, small updates

This commit is contained in:
2022-04-02 14:41:45 +02:00
parent 377e122f21
commit e9fad1ff5c
5 changed files with 38 additions and 5 deletions

View File

@@ -2,7 +2,6 @@
* Add place to mount electronics (likely just an extra part)
* add slot for motor electronic connection
* Raise motor mount on front left corner
## Electronics

View File

@@ -1,8 +1,6 @@
include <constants.scad>
include <parts.scad>
csize = 15;
module frame() {
translate([ corner_offset, 0, 0 ]) rotate([ 0, 90, 0 ])
tslot(xsize - 2 * corner_offset);

View File

@@ -20,7 +20,7 @@ for i in $(seq $nparts); do
part_name="$(run_scad -D id=$i |grep 'BOM: print' |sed -e 's/BOM: print \([^(]*\).*/\1/')"
printf "%s: <%s>\n" $i "$part_name"
fname="print/${i}_${part_name}"
openscad -o "${fname}.3mf" \
openscad -o "${fname}.amf" \
-D id=$i \
gen_parts.scad
done

View File

@@ -498,7 +498,7 @@ module xsled2() {
tab_len = bushing_len * 2;
tab_thickness = bushing_od + wall_thickness * 2;
glass_thickness = 3; // TODO: Update when an actual size is available
glass_thickness = 5; // TODO: Update when an actual size is available
inner_ysize = sled_ysize - tab_thickness;
@@ -618,6 +618,14 @@ module xsled2() {
}
color("#fff3") if ($preview) {
// draw glass sheets
bom_item(label = str("glass (", glass_thickness,
", ", sled_xsize - outside_ledge_width * 2,
", ", inner_ysize - outside_ledge_width * 2,
")"), printable=false);
bom_item(label = str("glass (", glass_thickness,
", ", sled_xsize - wall_thickness * 2,
", ", inner_ysize - wall_thickness * 2,
")"), printable=false);
translate(
[0, 0, film_height - glass_thickness / 2 + 0.5])
cube(

28
test_prints.scad Normal file
View File

@@ -0,0 +1,28 @@
include <constants.scad>;
include <parts.scad>;
module bearing_slot() {
intersection() {
difference() {
translate([- frame_size / 2, - frame_size / 2, 1])
cube([frame_size, frame_size, 10]);
cylinder(d = bushing_od, h = 6);
cylinder(d = rail_diam, h = 12);
}
union() {
cylinder(h = 12, d = frame_size);
translate([-frame_size/2, 0, 0])
cube([frame_size, frame_size, frame_size]);
}
}
}
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();
idler_post(10);
}