Moved all the mechanical stuff into a subdirectory

This commit is contained in:
2022-04-02 14:43:51 +02:00
parent e9fad1ff5c
commit ed4a15658e
11 changed files with 0 additions and 0 deletions

14
mechanical/lib.scad Normal file
View File

@@ -0,0 +1,14 @@
module bom_item(printable = true, label = "") {
print_label = printable ? " print " : " stock ";
item_label = label == "" ? parent_module(1) : label;
echo(str("BOM:", print_label, item_label));
}
module slotify(vector) {
for (child = [0:$children-1]) {
hull() {
children(child);
translate(vector) children(child);
}
}
}