Пример #1
0
def make_machine(machine):
    boms(machine)
    sheets(machine)
    stls(machine)
    plates(machine)
Пример #2
0
def make_machine(machine):
    boms(machine)
    sheets(machine)
    stls(machine)
    accessories(machine)
    plates(machine)
Пример #3
0
def make_machine(machine):
    boms(machine)
    sheets(machine)
    stls(machine)
    accessories(machine)
    plates(machine)
def make_machine(machine):
    boms(machine)
    sheets(machine)
    stls(machine)
    plates(machine)
Пример #5
0
        shutil.move(machine + "/stls/" + file, target_dir + "/" + file)
    #
    # Copy all the stls that are not in the plates to the plates directory
    #
    for file in bom_to_stls(machine):
        path = machine + "/stls/" + file
        if not file in used:
            if os.path.isfile(path):
                shutil.copy(path, target_dir + "/" + file)
            else:
                print "can't find %s to copy" % path


if __name__ == '__main__':
    if len(sys.argv) > 1:
        plates(sys.argv[1])
    else:
        print "usage: plates [mendel|sturdy|your_machine]"
        sys.exit(1)

########NEW FILE########
__FILENAME__ = render
#!/usr/bin/env python

import os
import sys
import shutil
import subprocess


def render(machine):
Пример #6
0
    for file in plate_list:
        shutil.move(machine + "/stls/"+ file, target_dir + "/" + file)
    #
    # Copy all the stls that are not in the plates to the plates directory
    #
    for file in bom_to_stls(machine):
        path = machine + "/stls/"+ file
        if not file in used:
            if os.path.isfile(path):
                shutil.copy(path, target_dir + "/" + file)
            else:
                print "can't find %s to copy" % path

if __name__ == '__main__':
    if len(sys.argv) > 1:
        plates(sys.argv[1])
    else:
        print "usage: plates [mendel|sturdy|your_machine]"
        sys.exit(1)

########NEW FILE########
__FILENAME__ = render
#!/usr/bin/env python

import os
import sys
import shutil
import subprocess

def render(machine):
    stl_dir = machine + os.sep + "stls"