added rpi_m2hat model, example case rpi5_m2hat_shell and supporting plumbing

This commit is contained in:
Edward Kisiel
2024-05-15 20:47:35 -04:00
parent 9516fc4d03
commit d233f4c9c8
7 changed files with 189 additions and 3 deletions

View File

@@ -202,6 +202,9 @@ module add(type, loc_x, loc_y, loc_z, face, rotation, size, data, mask) {
if(type == "hk_xu4_shifter_shield") {
translate([loc_x,loc_y,loc_z]) rotate(rotation) hk_xu4_shifter_shield(mask);
}
if(type == "rpi_m2hat") {
translate([loc_x,loc_y,loc_z]) rotate(rotation) rpi_m2hat(mask);
}
if(type == "stl_model") {
translate([loc_x,loc_y,loc_z]) rotate(rotation) stl_model(data[0],data[1]);
}