Commit 51653eb9 authored by D1plo1d's avatar D1plo1d

Adding a pause_between_prints option for use with ABPs and Prontserve

parent 211ce92b
...@@ -25,7 +25,7 @@ A precompiled version is available at http://koti.kapsi.fi/~kliment/printrun/ ...@@ -25,7 +25,7 @@ A precompiled version is available at http://koti.kapsi.fi/~kliment/printrun/
## Linux ## Linux
### Ubuntu/Debian ### Ubuntu/Debian
You can run Printrun directly from source, as there are no packages available yet. Fetch and installx the dependencies using You can run Printrun directly from source, as there are no packages available yet. Fetch and install the dependencies using
1. `sudo apt-get install python-serial python-wxgtk2.8 python-pyglet python-tornado python-setuptools python-libxml2 python-gobject avahi-daemon libavahi-compat-libdnssd1` 1. `sudo apt-get install python-serial python-wxgtk2.8 python-pyglet python-tornado python-setuptools python-libxml2 python-gobject avahi-daemon libavahi-compat-libdnssd1`
2. `pip install -r requirements.txt` 2. `pip install -r requirements.txt`
......
...@@ -253,6 +253,7 @@ class Settings(object): ...@@ -253,6 +253,7 @@ class Settings(object):
self._add(HiddenSetting("project_layer", 0.1)) self._add(HiddenSetting("project_layer", 0.1))
self._add(HiddenSetting("project_prelift_gcode", "")) self._add(HiddenSetting("project_prelift_gcode", ""))
self._add(HiddenSetting("project_postlift_gcode", "")) self._add(HiddenSetting("project_postlift_gcode", ""))
self._add(HiddenSetting("pause_between_prints", True))
_settings = [] _settings = []
def __setattr__(self, name, value): def __setattr__(self, name, value):
......
...@@ -349,7 +349,6 @@ class Prontserve(pronsole.pronsole, EventEmitter): ...@@ -349,7 +349,6 @@ class Prontserve(pronsole.pronsole, EventEmitter):
pronsole.pronsole.__init__(self) pronsole.pronsole.__init__(self)
EventEmitter.__init__(self) EventEmitter.__init__(self)
self.settings.sensor_names = {'T': 'extruder', 'B': 'bed'} self.settings.sensor_names = {'T': 'extruder', 'B': 'bed'}
self.settings.pause_between_prints = True
self.dry_run = kwargs['dry_run'] == True self.dry_run = kwargs['dry_run'] == True
self.stdout = sys.stdout self.stdout = sys.stdout
self.ioloop = tornado.ioloop.IOLoop.instance() self.ioloop = tornado.ioloop.IOLoop.instance()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment