mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
16 lines
559 B
Python
16 lines
559 B
Python
from Cura.Wx.WxApplication import WxApplication
|
|
from Cura.Wx.MainWindow import MainWindow
|
|
|
|
class PrinterApplication(WxApplication):
|
|
def __init__(self):
|
|
super(PrinterApplication, self).__init__()
|
|
|
|
def run(self):
|
|
self._plugin_registry.loadPlugins({ "type": "StorageDevice" })
|
|
self._plugin_registry.loadPlugins({ "type": "View" })
|
|
|
|
self.getController().setActiveView("MeshView")
|
|
|
|
window = MainWindow("Cura Printer", self)
|
|
window.Show()
|
|
super(PrinterApplication, self).run()
|