1
0
mirror of https://github.com/nophead/Mendel90.git synced 2025-08-30 16:30:08 +02:00

Glass thickness now defined by the glass object, like the other sheets.

This commit is contained in:
Chris Palmer
2012-03-14 23:29:24 +00:00
parent 1e86cd17aa
commit 6e2ea08e87
6 changed files with 18 additions and 17 deletions

View File

@@ -34,16 +34,16 @@ module bed_assembly() {
translate([0,0, pillar_height(bed_pillars) + pcb_thickness / 2])
color(bed_color) cube([bed_width, bed_depth, pcb_thickness], center = true);
translate([0,0, pillar_height(bed_pillars) + pcb_thickness + sheet_thickness(glass) / 2 + eta * 3])
sheet(glass, bed_width, bed_depth - 12);
translate([0,0, pillar_height(bed_pillars) + pcb_thickness + sheet_thickness(bed_glass) / 2 + eta * 3])
sheet(bed_glass, bed_width, bed_depth - 12);
for(x = [-1, 1])
for(y = [-1,1])
translate([bed_width / 2 * x,
((bed_depth - bulldog_length(small_bulldog)) / 2 - washer_diameter(M3_washer)) * y,
pillar_height(bed_pillars) + (pcb_thickness + sheet_thickness(glass))/ 2])
pillar_height(bed_pillars) + (pcb_thickness + sheet_thickness(bed_glass))/ 2])
rotate([0, 0, 90 + x * 90])
bulldog(small_bulldog, pcb_thickness + sheet_thickness(glass));
bulldog(small_bulldog, pcb_thickness + sheet_thickness(bed_glass));
}
end("bed_assembly");