2012-03-16 00:31:47 +00:00
|
|
|
#!/usr/bin/env python
|
2012-03-12 01:13:07 +00:00
|
|
|
|
2012-03-16 00:31:47 +00:00
|
|
|
import sys
|
2012-03-12 01:13:07 +00:00
|
|
|
from bom import boms
|
|
|
|
from sheets import sheets
|
|
|
|
from stls import stls
|
2012-03-16 00:31:47 +00:00
|
|
|
from plates import plates
|
2016-01-13 10:11:55 +00:00
|
|
|
from accessories import accessories
|
2012-03-12 01:13:07 +00:00
|
|
|
|
|
|
|
def make_machine(machine):
|
|
|
|
boms(machine)
|
|
|
|
sheets(machine)
|
|
|
|
stls(machine)
|
2016-01-13 10:11:55 +00:00
|
|
|
accessories(machine)
|
2012-03-16 00:31:47 +00:00
|
|
|
plates(machine)
|
2012-03-12 01:13:07 +00:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
if len(sys.argv) > 1:
|
|
|
|
make_machine(sys.argv[1])
|
|
|
|
else:
|
2016-01-16 10:47:25 +00:00
|
|
|
print("usage: make_machine dibond|mendel|sturdy|huxley|your_machine")
|
2012-03-12 01:13:07 +00:00
|
|
|
sys.exit(1)
|