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
|
2012-03-12 01:13:07 +00:00
|
|
|
|
|
|
|
def make_machine(machine):
|
|
|
|
boms(machine)
|
|
|
|
sheets(machine)
|
|
|
|
stls(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:
|
2014-02-06 19:43:19 -08:00
|
|
|
print("usage: make_machine [mendel|sturdy|your_machine]")
|
2012-03-12 01:13:07 +00:00
|
|
|
sys.exit(1)
|