Merge commit '870c4952fdb3268f5d4b6359d2e8046a6bb8df4f'

This commit is contained in:
Lawrence Johnston 2012-04-02 20:04:15 -07:00
commit 3ccd965f3f
262 changed files with 1362 additions and 355 deletions

6
.gitignore vendored
View File

@ -3,7 +3,7 @@
*.pyc *.pyc
*.zip *.zip
*.exe *.exe
osx64-SkeinPyPy-NewUI* osx64-Cura-NewUI*
win32-SkeinPyPy-NewUI* win32-Cura-NewUI*
linux-SkeinPyPy-NewUI* linux-Cura-NewUI*
Printrun Printrun

View File

@ -3,7 +3,7 @@
This page is in the table of contents. This page is in the table of contents.
==Overview== ==Overview==
===Introduction=== ===Introduction===
SkeinPyPy is a GPL tool chain to forge a gcode skein for a model. Based on Skeinforge. 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. The slicing code is the same as Skeinforge. But the UI has been revamped to be... sane.
@ -14,9 +14,10 @@ import __init__
import sys import sys
import platform import platform
from optparse import OptionParser from optparse import OptionParser
from newui import sliceRun
from util import profile
from util import sliceRun
__author__ = 'Daid' __author__ = 'Daid'
__credits__ = """ __credits__ = """
@ -43,13 +44,15 @@ Art of Illusion <http://www.artofillusion.org/>"""
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html' __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
def main(): def main():
parser = OptionParser() parser = OptionParser(usage="usage: %prog [options] <filename>.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() (options, args) = parser.parse_args()
sys.argv = [sys.argv[0]] + args if options.profile != None:
profile.loadGlobalProfileFromString(options.profile)
if len( args ) > 0: if len( args ) > 0:
sliceRun.runSlice(args) sliceRun.runSlice(args)
else: else:
from newui import mainWindow from gui import mainWindow
mainWindow.main() mainWindow.main()
if __name__ == '__main__': if __name__ == '__main__':

Some files were not shown because too many files have changed in this diff Show More