Updates to support rockpro64 board
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "SBC_Model_Framework"]
|
||||
path = SBC_Model_Framework
|
||||
url = git@github.com:davejlong/SBC_Model_Framework.git
|
||||
1
SBC_Model_Framework
Submodule
1
SBC_Model_Framework
Submodule
Submodule SBC_Model_Framework added at f1fb73a9db
@@ -1627,13 +1627,13 @@ case_data = [
|
||||
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
|
||||
false,"none","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","fan",43,26,25,"top",[0,0,0],40,0,6,2,0,"",0, // sub fan opening
|
||||
"sub","rectangle",43,0,25,"top",[0,0,0],40,10,6,0,0,"",[1,1,1,1]], // sub pcie opening
|
||||
"sub","fan",20,0,25,"top",[0,0,0],80,0,6,2,0,"",0,/* // sub fan opening
|
||||
"sub","rectangle",43,0,25,"top",[0,0,0],40,10,6,0,0,"",[1,1,1,1]*/], // sub pcie opening
|
||||
|
||||
["rockpro64_panel","rockpro64","panel","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,
|
||||
|
||||
@@ -37,14 +37,14 @@
|
||||
see https://github.com/hominoids/SBC_Case_Builder
|
||||
*/
|
||||
|
||||
use <./lib/sbc_models.scad>;
|
||||
use <./SBC_Model_Framework/sbc_models.scad>;
|
||||
use <./sbc_case_builder_library.scad>;
|
||||
use <./lib/fillets.scad>;
|
||||
include <./lib/sbc_models.cfg>;
|
||||
include <./SBC_Model_Framework/sbc_models.cfg>;
|
||||
include <./sbc_case_builder.cfg>;
|
||||
|
||||
case_name = "m1_tray"; // case_name to load from sbc_case_builder.cfg
|
||||
view = "model"; // viewing mode "platter", "model", "debug"
|
||||
case_name = "rockpro64_shell"; // case_name to load from sbc_case_builder.cfg
|
||||
view = "platter"; // viewing mode "platter", "model", "debug"
|
||||
|
||||
highlight = false; // enable highlight for subtarctive geometry (true or false)
|
||||
sbc_off = false; // sbc off in model view (true or false)
|
||||
|
||||
@@ -2543,6 +2543,26 @@ module mask(loc_x,loc_y,loc_z,rotation,side,class,type,wallthick,gap,floorthick,
|
||||
place(loc_x+6,loc_y-.25,loc_z,10.5,13.5,rotation,side)
|
||||
cube([10.5,8,10.5]);
|
||||
}
|
||||
// pwr5.5_9.5x7 opening
|
||||
if(type == "pwr5.5_9.5x7" && rotation == 0) {
|
||||
place(loc_x-.25,loc_y-6,loc_z,10,13.5,rotation,side)
|
||||
cube([10,8,7.5]);
|
||||
}
|
||||
// pwr5.5_9.5x7 opening
|
||||
if(type == "pwr5.5_9.5x7" && rotation == 90) {
|
||||
place(loc_x-6,loc_y-.25,loc_z,10,13.5,rotation,side)
|
||||
cube([10,8,7.5]);
|
||||
}
|
||||
// pwr5.5_9.5x7 opening
|
||||
if(type == "pwr5.5_9.5x7" && rotation == 180) {
|
||||
place(loc_x-.25,loc_y+6,loc_z,10,13.5,rotation,side)
|
||||
cube([10,8,7.5]);
|
||||
}
|
||||
// pwr5.5_9.5x7 opening
|
||||
if(type == "pwr5.5_9.5x7" && rotation == 270) {
|
||||
place(loc_x+6,loc_y-.25,loc_z,10,13.5,rotation,side)
|
||||
cube([10,8,7.5]);
|
||||
}
|
||||
// emmc storage
|
||||
if(type == "emmc" && side == "bottom" && rotation == 0) {
|
||||
place(loc_x-.5,loc_y-.5,floorthick+adjust,14.5,19.5,rotation,side)
|
||||
|
||||
Reference in New Issue
Block a user