completed library masks for access_port, standoff, hc4_olded, hc4_oled_holder, hk_netcard

This commit is contained in:
Edward Kisiel
2024-02-28 19:38:49 -05:00
parent e46ac774e4
commit c1aa6bb353
6 changed files with 540 additions and 399 deletions

View File

@@ -362,8 +362,6 @@ module case_bottom(case_design) {
}
}
// extended standoff holes
if(ext_bottom_standoffs == true) {
// right-rear standoff
@@ -396,6 +394,15 @@ module case_bottom(case_design) {
cylinder(d=6.5, h=bottom_height);
}
}
// bottom cover pattern
if(bottom_cover_pattern != "solid") {
if(bottom_cover_pattern == "hex_5mm") {
translate([1,0,-2]) vent_hex((width)/3.75,(depth)/6,floorthick+4,5,1.5,"horizontal");
}
if(bottom_cover_pattern == "hex_8mm") {
translate([1,2,-2]) vent_hex((width)/5.5,(depth)/9.5,floorthick+4,8,1.5,"horizontal");
}
}
}
// pcb standoffs
if(sbc_bottom_standoffs == true) {
@@ -536,7 +543,6 @@ module case_bottom(case_design) {
(pcb_loc_x <= 10 && depth-(pcb_loc_y+pcb_depth) >= 10) ||
(pcb_loc_x >= 10 && depth-(pcb_loc_y+pcb_depth) <= 10)) &&
ext_bottom_front_left_enable == true) {
echo(ext_bottom_front_left_enable);
normal_standoff = [ext_bottom_standoff[0],
bottom_height+pcb_loc_z+ext_bottom_front_left_adjust,
ext_bottom_standoff[2],
@@ -657,6 +663,10 @@ echo(ext_bottom_front_left_enable);
}
}
}
// ui access port
if(bottom_access_port_enable == true) {
// translate([access_port_location[0],access_port_location[1], floorthick+.12])
}
// sbc openings
if(sbc_highlight == true) {
#translate([pcb_loc_x ,pcb_loc_y,bottom_height-pcb_z+pcb_loc_z-adj])

View File

@@ -329,6 +329,22 @@ module case_top(case_design) {
cylinder(d=6.5, h=top_height+1);
}
}
// top cover pattern
if(top_cover_pattern != "solid") {
if(top_cover_pattern == "hex_5mm") {
translate([1,0,case_z-2]) vent_hex((width)/3.75,(depth)/6,floorthick+4,5,1.5,"horizontal");
}
if(top_cover_pattern == "hex_8mm") {
translate([1,2,case_z-2]) vent_hex((width)/5.5,(depth)/9.5,floorthick+4,8,1.5,"horizontal");
}
if(top_cover_pattern == "astroid") {
for(c=[3:12:depth-8]) {
for(r=[4:12:width-8]) {
translate([r,c,case_z-4]) linear_extrude(floorthick+5) import("./dxf/astroid_8mm.dxf");
}
}
}
}
}
// pcb standoffs