1
0
mirror of https://github.com/nophead/Mendel90.git synced 2025-08-06 21:36:28 +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]) translate([0,0, pillar_height(bed_pillars) + pcb_thickness / 2])
color(bed_color) cube([bed_width, bed_depth, pcb_thickness], center = true); 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]) translate([0,0, pillar_height(bed_pillars) + pcb_thickness + sheet_thickness(bed_glass) / 2 + eta * 3])
sheet(glass, bed_width, bed_depth - 12); sheet(bed_glass, bed_width, bed_depth - 12);
for(x = [-1, 1]) for(x = [-1, 1])
for(y = [-1,1]) for(y = [-1,1])
translate([bed_width / 2 * x, translate([bed_width / 2 * x,
((bed_depth - bulldog_length(small_bulldog)) / 2 - washer_diameter(M3_washer)) * y, ((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]) 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"); end("bed_assembly");

View File

@@ -16,8 +16,6 @@ eta = 0.01; // small fudge factor to stop CSG barfing on coi
$fa = 5; $fa = 5;
$fs = 0.5; $fs = 0.5;
glass_thickness = 2;
// //
// Hole sizes // Hole sizes
// //

View File

@@ -23,7 +23,8 @@ Z_travel = 110;
bed_depth = 150; bed_depth = 150;
bed_width = 150; bed_width = 150;
bed_pillars = M3x20_pillar; 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; bed_holes = 146;
base = PMMA10; // Sheet material used for the base. Needs to be thick enough to screw into. base = PMMA10; // Sheet material used for the base. Needs to be thick enough to screw into.

View File

@@ -23,7 +23,8 @@ Z_travel = 140;
bed_depth = 214; bed_depth = 214;
bed_width = 214; bed_width = 214;
bed_pillars = M3x20_pillar; 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; bed_holes = 209;
base = PMMA10; // Sheet material used for the base. Needs to be thick enough to screw into. base = PMMA10; // Sheet material used for the base. Needs to be thick enough to screw into.

View File

@@ -23,7 +23,8 @@ Z_travel = 150;
bed_depth = 214; bed_depth = 214;
bed_width = 214; bed_width = 214;
bed_pillars = M3x20_pillar; 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; bed_holes = 209;
base = MDF12; base = MDF12;

View File

@@ -13,15 +13,15 @@
// The "Color" parameter is a quad-array: [R, G, B, Alpha] // The "Color" parameter is a quad-array: [R, G, B, Alpha]
// [ Code, Description, Thickness, Color, Soft] // [ Code, Description, Thickness, Color, Soft]
MDF6 = [ "MD", "MDF sheet", 6, MDF_brown, true]; // ~1/4" MDF6 = [ "MD", "MDF sheet", 6, MDF_brown, true]; // ~1/4"
MDF10 = [ "MD", "MDF sheet", 10, MDF_brown, true]; // ~3/8" MDF10 = [ "MD", "MDF sheet", 10, MDF_brown, true]; // ~3/8"
MDF12 = [ "MD", "MDF sheet", 12, MDF_brown, true]; // ~1/2" MDF12 = [ "MD", "MDF sheet", 12, MDF_brown, true]; // ~1/2"
PMMA6 = [ "AC", "Acrylic sheet", 6, acrylic_clear, false]; // ~1/4" PMMA6 = [ "AC", "Acrylic sheet", 6, acrylic_clear, false]; // ~1/4"
PMMA8 = [ "AC", "Acrylic sheet", 8, acrylic_clear, false]; // ~5/16" PMMA8 = [ "AC", "Acrylic sheet", 8, acrylic_clear, false]; // ~5/16"
PMMA10 = [ "AC", "Acrylic sheet",10, acrylic_clear, false]; // ~3/8" 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]; DiBond = [ "DB", "Dibond sheet", 3, dibond_grey, false];
function sheet_thickness(type) = type[2]; function sheet_thickness(type) = type[2];