mirror of
https://github.com/nophead/Mendel90.git
synced 2025-01-17 04:48:15 +01:00
Glass thickness now defined by the glass object, like the other sheets.
This commit is contained in:
parent
1e86cd17aa
commit
6e2ea08e87
@ -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");
|
||||
|
@ -16,8 +16,6 @@ eta = 0.01; // small fudge factor to stop CSG barfing on coi
|
||||
$fa = 5;
|
||||
$fs = 0.5;
|
||||
|
||||
glass_thickness = 2;
|
||||
|
||||
//
|
||||
// Hole sizes
|
||||
//
|
||||
|
@ -23,7 +23,8 @@ Z_travel = 110;
|
||||
bed_depth = 150;
|
||||
bed_width = 150;
|
||||
bed_pillars = M3x20_pillar;
|
||||
bed_thickness = 1.6 + sheet_thickness(glass); // PCB heater plus glass sheet
|
||||
bed_glass = glass2;
|
||||
bed_thickness = 1.6 + sheet_thickness(bed_glass); // PCB heater plus glass sheet
|
||||
bed_holes = 146;
|
||||
|
||||
base = PMMA10; // Sheet material used for the base. Needs to be thick enough to screw into.
|
||||
|
@ -23,7 +23,8 @@ Z_travel = 140;
|
||||
bed_depth = 214;
|
||||
bed_width = 214;
|
||||
bed_pillars = M3x20_pillar;
|
||||
bed_thickness = 1.6 + sheet_thickness(glass); // PCB heater plus glass sheet
|
||||
bed_glass = glass2;
|
||||
bed_thickness = 1.6 + sheet_thickness(bed_glass); // PCB heater plus glass sheet
|
||||
bed_holes = 209;
|
||||
|
||||
base = PMMA10; // Sheet material used for the base. Needs to be thick enough to screw into.
|
||||
|
@ -23,7 +23,8 @@ Z_travel = 150;
|
||||
bed_depth = 214;
|
||||
bed_width = 214;
|
||||
bed_pillars = M3x20_pillar;
|
||||
bed_thickness = 1.6 + sheet_thickness(glass); // PCB heater plus glass sheet
|
||||
bed_glass = glass2;
|
||||
bed_thickness = 1.6 + sheet_thickness(bed_glass); // PCB heater plus glass sheet
|
||||
bed_holes = 209;
|
||||
|
||||
base = MDF12;
|
||||
|
@ -21,7 +21,7 @@ MDF12 = [ "MD", "MDF sheet", 12, MDF_brown, true]; // ~1/2"
|
||||
PMMA6 = [ "AC", "Acrylic sheet", 6, acrylic_clear, false]; // ~1/4"
|
||||
PMMA8 = [ "AC", "Acrylic sheet", 8, acrylic_clear, false]; // ~5/16"
|
||||
PMMA10 = [ "AC", "Acrylic sheet",10, acrylic_clear, false]; // ~3/8"
|
||||
glass = [ "GL", "Glass sheet", glass_thickness, glass_clear, false];
|
||||
glass2 = [ "GL", "Glass sheet", 2, glass_clear, false];
|
||||
DiBond = [ "DB", "Dibond sheet", 3, dibond_grey, false];
|
||||
|
||||
function sheet_thickness(type) = type[2];
|
||||
|
Loading…
x
Reference in New Issue
Block a user