support for stl models with stl_model, start of library work, woek on adafruit model.

This commit is contained in:
Edward Kisiel
2024-02-22 15:14:08 -05:00
parent 7b9a18279d
commit 8c0e333450
8 changed files with 1559 additions and 1327 deletions

View File

@@ -54,6 +54,9 @@ module add(type, loc_x, loc_y, loc_z, face, rotation, size_x, size_y, size_z, da
if(type == "art") {
translate([loc_x,loc_y,loc_z]) rotate(rotation) art(data_1,data_2,data_3);
}
if(type == "stl_model") {
translate([loc_x,loc_y,loc_z]) rotate(rotation) stl_model(data_1,data_2);
}
if(type == "button") {
translate([loc_x,loc_y,loc_z]) rotate(rotation) button(data_3,[size_x,size_y,size_z],data_4,data_1);
}