import warnings
from optparse import OptionParser
-import wx._core
-
from Cura.util import profile
__author__ = 'Daid'
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
-class CuraApp(wx.App):
- def MacOpenFile(self, path):
- try:
- pass
- except Exception as e:
- warnings.warn("File at {p} cannot be read: {e}".format(p=path, e=str(e)))
-
def main():
parser = OptionParser(usage="usage: %prog [options] <filename>.stl")
parser.add_option("-i", "--ini", action="store", type="string", dest="profileini",
if len(args) > 0:
profile.putPreference('lastFile', ';'.join(args))
+ import wx._core
from Cura.gui import splashScreen
+ class CuraApp(wx.App):
+ def MacOpenFile(self, path):
+ try:
+ pass
+ except Exception as e:
+ warnings.warn("File at {p} cannot be read: {e}".format(p=path, e=str(e)))
+
def mainWindowRunCallback(splash):
from Cura.gui import mainWindow
if splash is not None: