#!/usr/bin/python """ This page is in the table of contents. ==Overview== ===Introduction=== Cura is a GPL tool chain to forge a gcode skein for a model. Based on Skeinforge. The slicing code is the same as Skeinforge. But the UI has been revamped to be... sane. """ from __future__ import absolute_import import __init__ import sys import platform from optparse import OptionParser from util import profile from util import sliceRun __author__ = 'Daid' __credits__ = """ Enrique Perez (perez_enrique@yahoo.com) Adrian Bowyer Brendan Erwin Greenarrow Ian England John Gilmore Jonwise Kyle Corbitt Michael Duffin Marius Kintel Nophead PJR Reece.Arnott Wade Xsainnz Zach Hoeken Organizations: Art of Illusion """ __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html' def main(): parser = OptionParser(usage="usage: %prog [options] .stl") parser.add_option("-p", "--profile", action="store", type="string", dest="profile", help="Use these profile settings instead of loading current_profile.ini") (options, args) = parser.parse_args() if options.profile != None: profile.loadGlobalProfileFromString(options.profile) if len( args ) > 0: sliceRun.runSlice(args) else: from gui import mainWindow mainWindow.main() if __name__ == '__main__': main()