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

@@ -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(