Corrected bay dimensions + adjusted light columns

This commit is contained in:
Jacob Eva 2023-08-04 13:47:45 +01:00
parent 159c4a5428
commit f4c132768c
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -15,14 +15,13 @@ base = [30.0, 32.0, 6.8];
// The extension for the SMA connectors & EG95
base_ext = [40, 20.2, 16.5];
// The dimensions of the NSCCP sim holder
sim = [13.5, 13, 1.37];
bay = [12, 8.95, 0.92];
// The default wall thickness
side_wall = 1.5;
// The dimensions of the sim holder bay
bay = [side_wall, 9.62, 0.79];
// Size and location of the typical PCB
pcb_gap = 0.5;
pcb = [26.0, 30.0, 0.8];
@ -63,8 +62,10 @@ ext_screw_hole = 2.5+side_wall;
ledge_cut = 0.6;
ledge_cut_d = 3.2;
led_guide = [1.2, 10.65];
led_guide_stopper = [1.5, 1,];
led_guide = [1, 11.95];
led_guide_stopper = [1.3, 1];
led_h = 0.7;
// The rail cutout in the sides of the card
module rail(make_printable) {
@ -239,7 +240,7 @@ module expansion_card_base(open_end, make_printable, pcb_mount="boss") {
}
// cutout for sim card access
translate([0,bay[1]-sim[1]/2+2.53,1.67]) cube(bay);
translate([0,1.6,pcb_h-1.4]) cube(bay);
// The rounded front edge to match the laptop
edge_r = 0.8;
@ -335,13 +336,6 @@ module expansion_card_ext(make_printable, pcb_mount="boss_insert") {
}
}
module sim_holder() {
difference() {
cube(sim);
translate([0,bay[1]-sim[1]/2+1,0]) cube(bay);
}
}
module led_cylinder(stopper) {
if (stopper) { // if a stopper should be inserted
cylinder(h = led_guide[1], r = led_guide[0], $fn = 64);
@ -352,17 +346,15 @@ module led_cylinder(stopper) {
}
}
translate([base_ext[0]-6.45-side_wall*2, -base[1]-base_ext[1]+side_wall*2+0.8, pcb_h+2.75]) led_cylinder(true); // D2 LED column
translate([base_ext[0]-6.45-side_wall*2, -base[1]-base_ext[1]+side_wall*2+0.8, pcb_h+0.78+led_h]) led_cylinder(true); // D2 LED column
translate([-0.5, -base[1]-base_ext[1]+side_wall*2+0.8, pcb_h+2.75]) led_cylinder(true); // D3 LED column
translate([-0.5, -base[1]-base_ext[1]+side_wall*2+0.8, pcb_h+0.78+led_h]) led_cylinder(true); // D3 LED column
translate([0, -base[1], 0]) expansion_card_base(open_end = false, make_printable = true, pcb_mount="boss");
translate([-base_ext[0]+base[0]+5, -base_ext[1]-base[1], 0]) expansion_card_ext(make_printable = true, pcb_mount="boss");
//translate([0, -32, 0]) expansion_card_lid();
translate([0, -32, 0]) expansion_card_lid();
//translate([-128.75, 95.6, pcb_h]) import("PCB.stl");
translate([2, -30.48, 1.68]) sim_holder();
translate([-128.75, 95.6, pcb_h]) import("PCB.stl");