2012-03-12 01:13:07 +00:00
|
|
|
//
|
|
|
|
// Mendel90
|
|
|
|
//
|
|
|
|
// GNU GPL v2
|
|
|
|
// nop.head@gmail.com
|
|
|
|
// hydraraptor.blogspot.com
|
|
|
|
//
|
|
|
|
// Bed with glass and support pillars
|
|
|
|
//
|
|
|
|
include <conf/config.scad>
|
|
|
|
|
|
|
|
module bed_assembly() {
|
|
|
|
|
|
|
|
assembly("bed_assembly");
|
2012-11-15 17:45:30 +00:00
|
|
|
//
|
|
|
|
// Screws pillars and washers
|
|
|
|
//
|
2012-03-12 01:13:07 +00:00
|
|
|
for(x = [-bed_holes / 2, bed_holes /2]) {
|
|
|
|
translate([x, bed_holes / 2, 0])
|
|
|
|
washer(M3_washer);
|
|
|
|
|
2012-11-15 17:45:30 +00:00
|
|
|
translate([x, -bed_holes / 2 - 5.5, 0])
|
|
|
|
washer(M3_washer);
|
|
|
|
|
2012-03-12 01:13:07 +00:00
|
|
|
for(y = [-bed_holes / 2, bed_holes /2])
|
|
|
|
translate([x, y, washer_thickness(M3_washer)]) {
|
|
|
|
hex_pillar(bed_pillars);
|
|
|
|
|
2012-11-15 17:45:30 +00:00
|
|
|
translate([0,0, pillar_height(bed_pillars) + pcb_thickness])
|
|
|
|
screw(M3_cap_screw, 10);
|
2012-03-12 01:13:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-15 17:45:30 +00:00
|
|
|
//
|
|
|
|
// Mark the origin
|
|
|
|
//
|
|
|
|
translate([0, 0, pillar_height(bed_pillars) + pcb_thickness + sheet_thickness(bed_glass)])
|
|
|
|
color("green")
|
|
|
|
render()
|
|
|
|
sphere();
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// PCB, glass and clips
|
|
|
|
//
|
2012-03-12 01:13:07 +00:00
|
|
|
translate([0, 0, washer_thickness(M3_washer)]) {
|
2012-04-02 15:30:31 +01:00
|
|
|
vitamin(str("BED", bed_width, bed_depth,": PCB bed ", bed_width, "mm x ", bed_depth, "mm"));
|
2012-03-12 01:13:07 +00:00
|
|
|
translate([0,0, pillar_height(bed_pillars) + pcb_thickness / 2])
|
2012-03-13 10:02:35 -05:00
|
|
|
color(bed_color) cube([bed_width, bed_depth, pcb_thickness], center = true);
|
2012-03-12 01:13:07 +00:00
|
|
|
|
2012-03-14 23:29:24 +00:00
|
|
|
translate([0,0, pillar_height(bed_pillars) + pcb_thickness + sheet_thickness(bed_glass) / 2 + eta * 3])
|
|
|
|
sheet(bed_glass, bed_width, bed_depth - 12);
|
2012-03-12 01:13:07 +00:00
|
|
|
|
|
|
|
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,
|
2012-03-14 23:29:24 +00:00
|
|
|
pillar_height(bed_pillars) + (pcb_thickness + sheet_thickness(bed_glass))/ 2])
|
2012-03-12 01:13:07 +00:00
|
|
|
rotate([0, 0, 90 + x * 90])
|
2012-03-14 23:29:24 +00:00
|
|
|
bulldog(small_bulldog, pcb_thickness + sheet_thickness(bed_glass));
|
2012-03-12 01:13:07 +00:00
|
|
|
}
|
|
|
|
|
2012-11-15 17:45:30 +00:00
|
|
|
|
|
|
|
translate([0, 40, pillar_height(bed_pillars) - 1])
|
|
|
|
rotate([-90, 0, 0])
|
|
|
|
sleeved_resistor(Epcos, PTFE07);
|
2012-03-12 01:13:07 +00:00
|
|
|
end("bed_assembly");
|
|
|
|
}
|
|
|
|
|
|
|
|
bed_assembly();
|