mirror of
https://github.com/nophead/Mendel90.git
synced 2025-01-16 12:29:46 +01:00
8a5578948f
Added make_all_machines.py to build all variations.
26 lines
634 B
Python
26 lines
634 B
Python
#!/usr/bin/env python
|
|
|
|
from __future__ import print_function
|
|
from make_machine import make_machine
|
|
from render import render
|
|
from views import views
|
|
from prune import prune
|
|
from set_machine import set_machine
|
|
|
|
machines = ["dibond", "dibond_E3D", "sturdy", "mendel", "huxley", "sturdy_E3D"]
|
|
has_manual = ["dibond"]
|
|
has_views = ["dibond", "sturdy", "huxley"]
|
|
|
|
for machine in machines:
|
|
make_machine(machine)
|
|
|
|
if machine in has_manual:
|
|
render(machine)
|
|
|
|
if machine in has_views:
|
|
views(machine, False)
|
|
|
|
if '_' in machine and machine.split('_')[0] in machines:
|
|
prune(machine)
|
|
set_machine("dibond")
|