1
0
mirror of https://github.com/nophead/Mendel90.git synced 2025-01-16 20:38:15 +01:00
Mendel90/make_machine.py
Chris Palmer 8a5578948f Mods for Python 3 compatibility.
Added make_all_machines.py to build all variations.
2016-04-25 15:23:51 +01:00

24 lines
528 B
Python
Executable File

#!/usr/bin/env python
from __future__ import print_function
import sys
from bom import boms
from sheets import sheets
from stls import stls
from plates import plates
from accessories import accessories
def make_machine(machine):
boms(machine)
sheets(machine)
stls(machine)
accessories(machine)
plates(machine)
if __name__ == '__main__':
if len(sys.argv) > 1:
make_machine(sys.argv[1])
else:
print("usage: make_machine dibond|mendel|sturdy|huxley|your_machine")
sys.exit(1)