- higher, cut for cinch cables, bigger holes for screws

This commit is contained in:
Andreas Schiweck 2019-06-10 16:07:09 +02:00
parent d413a0313e
commit 42884c2a58

View File

@ -18,13 +18,13 @@ if(print_frontplate_sml){ // Frontplate //
screw_side_front = []; screw_side_front = [];
screw_top = [36]; screw_top = [36];
screw_bottom_front = [36]; screw_bottom_front = [36];
units = 2; units = 3;
frontplate(units,square_hole,round_hole,round_peg,screw_side_front,screw_top,screw_bottom_front); frontplate(units,square_hole,round_hole,round_peg,screw_side_front,screw_top,screw_bottom_front);
} }
if(print_handle_sml){ // Handle // if(print_handle_sml){ // Handle //
units = 2; units = 3;
lay_flat_for_print = false; lay_flat_for_print = false;
handle(units,lay_flat_for_print); handle(units,lay_flat_for_print);
} }
@ -34,21 +34,65 @@ if(print_cabinet_sml){ // Cabinet //
h=70; h=70;
screw_bottom_front = [36]; screw_bottom_front = [36];
screw_side_front = []; screw_side_front = [];
round_peg = [[w,h,6,2.8,4], round_peg = [[w,h,6,3,4],
[w-49,h,6,2.8,4], [w-49,h,6,3,4],
[w-49,h-58,6,2.8,4], [w-49,h-58,6,3,4],
[w,h-58,6,2.8,4]]; [w,h-58,6,3,4]];
depth = 98; depth = 98;
units = 2; units = 3;
difference() {
cabinet(depth,units,screw_bottom_front,round_peg,screw_side_front); cabinet(depth,units,screw_bottom_front,round_peg,screw_side_front);
hull() {
hull() {
rotate(a=90, v=[0, 1, 0]) {
translate([-45.5, 30, 10]) {
cylinder(h=50, r=7);
}
}
rotate(a=90, v=[0, 1, 0]) {
translate([-62.5, 30, 10]) {
cylinder(h=50, r=7);
}
}
}
hull() {
rotate(a=90, v=[0, 1, 0]) {
translate([-45.5, 50, 10]) {
cylinder(h=50, r=7);
}
}
rotate(a=90, v=[0, 1, 0]) {
translate([-62.5, 50, 10]) {
cylinder(h=50, r=7);
}
}
}
}
}
} }
if(print_lid){ // Lid // if(print_lid){ // Lid //
depth = 98; depth = 98;
units = 2; units = 3;
screw_front = [36];//mm screw_front = [36];//mm
screw_back = [36];//mm screw_back = [36];//mm
lid(98,2,screw_front,screw_back); lid(98,3,screw_front,screw_back);
translate([65, 21, 12]) {
color("green") {
cube([40, 20, 5]);
}
}
translate([65, 21, 71]) {
color("green") {
cube([40, 20, 5]);
}
}
} }
if(print_rear){ // Back plate // if(print_rear){ // Back plate //
@ -58,25 +102,6 @@ if(print_rear){ // Back plate //
screw_bottom = [36];//mm screw_bottom = [36];//mm
screw_side = []; screw_side = [];
depth = 98; depth = 98;
units = 2; units = 3;
back_plate(units,depth,screw_top,screw_bottom,screw_side,square_hole,round_hole); back_plate(units,depth,screw_top,screw_bottom,screw_side,square_hole,round_hole);
} }