added momentary_7x3x3 mask, changed snap size for snap case, new case configurations.

This commit is contained in:
Edward Kisiel
2022-08-20 21:05:24 -04:00
parent 3b0465bc73
commit 9fd72e357c
4 changed files with 336 additions and 599 deletions

View File

@@ -43,7 +43,7 @@
20220515 version 1.2.3 removed spacer(); added screw(); modified hk_vu8m(); added m1_hdmount(); added hdd35_25holder(length)
printer friendly punchout(),added remaining mask() entries, standardized mask()
2022xxxx version 2.x.x increased mask projection for ir_1, added mask for usb2 and usb3 single_horizontal_a, hdmi_micro,
video-hdmi_mini,microsdcard
video-hdmi_mini,microsdcard,momentary_7x3x3_90
see https://github.com/hominoids/SBC_Case_Builder
@@ -93,7 +93,6 @@
uart_micro()
rj45()
header(pins)
momentary45x15
encl_header_12()
micro2pin()
audio_jack35()
@@ -3001,6 +3000,22 @@ module mask(loc_x,loc_y,loc_z,rotation,side,class,type,wallthick,gap,floorthick,
translate([-.5,-3.75,0]) cube([7,2.5,6.5]);
}
}
if(type == "momentary_7x3x3_90" && rotation == 0) {
place(loc_x,loc_y,loc_z,7,3,rotation,side)
translate([0,-6,0]) cube([7,8,3]);
}
if(type == "momentary_7x3x3_90" && rotation == 90) {
place(loc_x,loc_y,loc_z,7,3,rotation,side)
translate([0,-6,0]) cube([7,8,3]);
}
if(type == "momentary_7x3x3_90" && rotation == 180) {
place(loc_x,loc_y,loc_z,7,3,rotation,side)
translate([0,-6,0]) cube([7,8,3]);
}
if(type == "momentary_7x3x3_90" && rotation == 270) {
place(loc_x,loc_y,loc_z,7,3,rotation,side)
translate([0,-6,0]) cube([7,8,3]);
}
if(type == "audio_micro" && rotation == 0) {
place(loc_x,loc_y,loc_z,7.5,7.5,rotation,side)
translate([0,4,0]) cube([7.5,8,4]);