added screw holder function
This commit is contained in:
parent
ce1d215d2a
commit
4bc57c63f6
@ -140,6 +140,8 @@ module expansion_card_lid() {
|
|||||||
translate([base[0]/2-usb_c_w/2+gap, base[1]-side_wall-gap, usb_c_r+usb_c_h]) cube([usb_c_w-gap*2, side_wall+gap, base[2]-(usb_c_r+usb_c_h)]);
|
translate([base[0]/2-usb_c_w/2+gap, base[1]-side_wall-gap, usb_c_r+usb_c_h]) cube([usb_c_w-gap*2, side_wall+gap, base[2]-(usb_c_r+usb_c_h)]);
|
||||||
translate([base[0]/2, base[1], usb_c_r+usb_c_h]) usb_c_cutout(false);
|
translate([base[0]/2, base[1], usb_c_r+usb_c_h]) usb_c_cutout(false);
|
||||||
}
|
}
|
||||||
|
// Adds screw holder to lid
|
||||||
|
screw_holders();
|
||||||
}
|
}
|
||||||
// engrave LES logo into lid
|
// engrave LES logo into lid
|
||||||
translate([3, 20, 7]) linear_extrude(height=1.5, center=true) {
|
translate([3, 20, 7]) linear_extrude(height=1.5, center=true) {
|
||||||
@ -251,9 +253,18 @@ module expansion_card_ext() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module screw_holders() {
|
||||||
|
outline = [1,5,5];
|
||||||
|
difference() {
|
||||||
|
cube([outline[0],outline[1],outline[2]]);
|
||||||
|
radius = 2;
|
||||||
|
height = 10;
|
||||||
|
rotate([0,90,0]) translate([(-outline[0]*2)-0.5,outline[1]/2, (outline[2]/2)-5]) cylinder(h = height,r = radius);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
translate([0, -base[1], 0]) expansion_card_base(open_end = false, make_printable = true, pcb_mount="boss");
|
translate([0, -base[1], 0]) expansion_card_base(open_end = false, make_printable = true, pcb_mount="boss");
|
||||||
|
|
||||||
translate([-base_ext[0]+base[0], -base_ext[1]-base[1], 0]) expansion_card_ext();
|
translate([-base_ext[0]+base[0], -base_ext[1]-base[1], 0]) expansion_card_ext();
|
||||||
|
|
||||||
translate([0, 0, 5]) expansion_card_lid();
|
translate([-60, -35, 0]) expansion_card_lid();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user