rework of mask ioopen() addition of jetsonnano and rockpro64

This commit is contained in:
Edward Kisiel
2022-05-13 20:28:25 -04:00
parent 95ff3e7091
commit c9e9acf10a
6 changed files with 478 additions and 111 deletions

View File

@@ -34,7 +34,7 @@
corner of component or opening, holes measured to center. All measurements in mm.
PCB orientation is long side of board along the x axis.
SBC: "c1+","c2","c4","xu4","xu4q","mc1","hc1","n1","n2","n2+","h2",hc4
SBC: "c1+","c2","c4","xu4","xu4q","mc1","hc1","n1","n2","n2+","h2",hc4,rockpro64,jetsonnano
schema:
"case_name","sbc_model","case_design","case_style",
@@ -1379,8 +1379,31 @@ case_data = [
"model","fan_cover",125,-4,7,"top",[90,0,0],40,0,3,2,0,"",0, // model fan
"platter","fan_cover",-50,50,0,"bottom",[0,0,0],40,0,3,2,0,"",0], // model fan
["test","c4","tray","none", // case_name, sbc_model, case_design, case_style
20,0,0,20,60,0,4, // pcb_loc_x,pcb_loc_y,pcb_loc_z,case_offset_x,case_offset_y,case_offset_tz,case_offset_bz,
["jetsonnano_shell","jetsonnano","shell","none", // case_name, sbc_model, case_design, case_style
0,0,0,0,0,-5,3, // pcb_loc_x,pcb_loc_y,pcb_loc_z,case_offset_x,case_offset_y,case_offset_tz,case_offset_bz,
2,2,2,1.5,[3,0], // wallthick,floorthick,sidethick,gap,fillet
false,false,true,true,true, // indents,sidewall_support,sbc_top_standoffs,sbc_bottom_standoffs,case_ext_standoffs
false,"vent","fan","vent","true", // sata_punchout,gpio_opening,cooling,exhaust_vents,mode
[6.75,15,2.5,10,4,4,0,1,0,4.5,5.1], // top_pcb_standoff
[6.75,11.4,3.6,10,4,1,0,0,0,4.5,5.1], // bottom_pcb_standoff
[6.75,15,2.5,10,4,4,0,1,1,4.5,5.1], // top_ext_standoff
[6.75,11.4,3.6,10,4,2,0,0,0,4.5,5.1], // bottom_ext_standoff
"sub","rectangle",17.5,36,28.5,"top",[0,0,0],62,43,4,0,0,"",[1,1,1,1]], // sub heatsink opening
["rockpro64_shell","rockpro64","shell","none", // case_name, sbc_model, case_design, case_style
0,0,0,0,0,0,0, // pcb_loc_x,pcb_loc_y,pcb_loc_z,case_offset_x,case_offset_y,case_offset_tz,case_offset_bz,
2,2,2,1.5,[3,3], // wallthick,floorthick,sidethick,gap,fillet
false,true,true,true,true, // indents,sidewall_support,sbc_top_standoffs,sbc_bottom_standoffs,case_ext_standoffs
false,"vent","fan","vent","true", // sata_punchout,gpio_opening,cooling,exhaust_vents,mode
[6.75,15,2.5,10,4,4,0,1,0,4.5,5.1], // top_pcb_standoff
[6.75,11.4,3.6,10,4,1,0,0,0,4.5,5.1], // bottom_pcb_standoff
[6.75,15,2.5,10,4,4,0,1,1,4.5,5.1], // top_ext_standoff
[6.75,11.4,3.6,10,4,2,0,0,0,4.5,5.1], // bottom_ext_standoff
"sub","rectangle",43,0,24.5,"top",[0,0,0],40,10,6,0,0,"",[1,1,1,1]], // sub pcie opening
["test","test","shell","none", // case_name, sbc_model, case_design, case_style
0,0,0,0,0,0,0, // pcb_loc_x,pcb_loc_y,pcb_loc_z,case_offset_x,case_offset_y,case_offset_tz,case_offset_bz,
2,2,3,2,[3.5,3], // wallthick,floorthick,sidethick,gap,fillet
false,false,false,false,false, // indents,sidewall_support,sbc_top_standoffs,sbc_bottom_standoffs,case_ext_standoffs
false,"none","fan","none","false", // sata_punchout,gpio_opening,cooling,exhaust_vents,mode
@@ -1388,31 +1411,6 @@ case_data = [
[6.75,5,3.6,10,4,1,0,0,0,4.5,5.1], // bottom_pcb_standoff
[6.75,18,2.5,10,4,4,0,1,0,4.5,5.1], // top_ext_standoff
[6.75,5,3.6,10,4,1,0,0,0,4.5,5.1], // bottom_ext_standoff
// "add2","batt_holder",35,45,0,"bottom",[0,0,0],10,10,0,0,0,"",0, // add battery
// "add2","uart_holder",10,0,1.9,"bottom",[0,0,0],10,10,0,0,0,"",0, // add uart
// "sub","text",5,65,-.1,"bottom",[0,0,0],30,30,5,5,0,"TEXT",0, // sub text
// "add2","text",5,55,1.9,"bottom",[0,0,0],30,30,2,5,0,"TEXT",0, // add text
// "add2","standoff",15,90,0,"bottom",[0,0,0],0,0,3,6.75,0,"", // add standoff
// [6.75,15,3.6,10,4,1,0,0,0,4.5,5.1],
// "add2","standoff",28,90,0,"bottom",[0,0,0],0,0,3,6.75,0,"", // add standoff
// [6.75,10,2.5,10,4,2,1,0,1,4.5,3],
// "add2","standoff",41,90,0,"bottom",[0,0,0],0,0,3,6.75,0,"", // add standoff
// [6.75,5,3.6,10,5,3,1,0,0,4.5,5.1],
// "sub","round",15,75,-.1,"bottom",[0,0,0],5,0,5,0,0,"",0, // sub round
// "sub","rectangle",3,78,-.1,"bottom",[0,0,0],8,8,5,0,0,"",[1,1,1,1], // sub rectangle
// "sub","rectangle",20,75,-.1,"bottom",[0,0,0],8,8,5,0,0,"",[1,1,4,1], // sub slab
// "sub","slot",3,75,-.1,"bottom",[0,0,0],3,5,4,0,0,"",0, // sub slot
// "sub","art",75,30,-.1,"bottom",[0,0,0],0,0,0,.5,5,"./dxf/hk_25mm.dxf",0, // sub rectangle
// "model","feet",4,5,-6,"bottom",[0,0,0],10,0,6,0,0,"",0, // case feet
// "add1","art",90,30,1.99,"bottom",[0,0,0],0,0,0,.5,2,"./dxf/hk_25mm.dxf",0, // add rectangle
// "sub","punchout",45,73,-.1,"bottom",[0,0,0],30,11,5,2,6,"slot",0, // sub punchout
// "sub","punchout",75,50,-.1,"bottom",[0,0,0],15,15,5,2,2,"rectangle",0, // sub punchout
// "sub","punchout",55,25,-.1,"bottom",[0,0,0],15,15,5,2,2,"round",0, // sub punchout
// "sub","vent",50,120,10,"bottom",[0,0,0],10,2,4,4,3,"vertical",1, // sub vent
"add2","access_port",50,-1.51,-0.01,"bottom",[0,0,0],30,80,2,0,0,"portrait",0, // access port
"model","access_cover",50,-1.51,-0.01,"bottom",[0,0,0],30,80,2,0,0,"portrait",0, // access port
// "sub","vent",5,100,-.1,"bottom",[0,0,0],10,2,4,4,3,"horizontal",1, // sub vent
// "sub","fan",60,78,-.1,"bottom",[0,0,0],40,0,3,2,0,"",0, // sub fan
"sub","vent",60,120,10,"bottom",[0,0,0],2,15,4,1,4,"vertical",1] // sub vent
"sub","vent",60,120,10,"bottom",[0,0,0],2,15,4,1,4,"vertical",1] // sub vent
];