chiark / gitweb /
cura.git
8 years agoplugins: Support user configuration of default values for/aleph-objects master
Ian Jackson [Sat, 6 Feb 2016 18:09:18 +0000 (18:09 +0000)]
plugins: Support user configuration of default values

Rationale:

When a new plugin instance is created with the GUI, it inherits the
default values as specified in the plugin itself.  If these values are
modified by the user they are stored in the print profile, of course -
but if the plugin is removed and re-added, the settings are reset.

A user who usually wants different default values could make a copy of
the plugin and edit the default values at the top of the plugin file.
However, this is not really a desirable approach.

New feature:

Here, we arrange for the user's plugin_defaults.ini file(s) to be
read.  Such a file contains sections named after the plugin basenames
(eg `[pauseAtZ]') and the values therein are simply named after the
plugin's own parameters.  This file may be found in
 ~/.cura/<VERSION>/plugin_defaults.ini
 ~/.cura/plugins/plugin_defaults.ini  (and other places cura looks for plugins)

The user is expected to look at the plugin itself to see what the
parameter names are, and to know the pathname of the file, and to edit
it by hand.  There is not any way to save these settings from the GUI.

I wasn't able to find anywhere where this could be properly
documented.  (Nor indeed does the plugin header syntax appear to be
documented, either - near there would be a natural place for the
config docs.)  So I hope this commit message is useful.

Note on implementation strategy:

These settings are read during the construction of each pluginInfo
object.  This is arguably not desirable, because it reads the
plugin_defaults.ini twice, and also because its seems like an
abstraction violation to have pluginInfo contain a configuraton
reader.

However, the 'default' element of each param is accessed in (at least)
two places: runPostProcessingPlugins and _buildPluginPanel.  I didn't
fancy trying to double-check that I had the semantics right, in all of
the relevant places.  And refactoring this area is beyond my present
understanding of the code.  In any case it is certainly arguably
proper to regard the default configuration setup as part of the plugin
loading process.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
8 years agopauseAtZ plugin: Support re-homing X and Y before restarting
Ian Jackson [Sat, 6 Feb 2016 16:49:05 +0000 (16:49 +0000)]
pauseAtZ plugin: Support re-homing X and Y before restarting

In a two-colour print, the operator has to mess about with the X
carriage to swap the filament in the print head, which can disturb the
X position.  In other applications of pauseAtZ, the operator needs to
interact with the workpiece, perhaps disturbing the Y position.

So support homing the X and/or Y axes just before resuming.

The default head park position of [150,0,] is suitable for use for
swapping filament, and moves the printbed out of the way.  So make the
default by to home X but not Y.

In both cases we travel fast to nearish the endstop (within 25mm), and
then do the home (which is slower).  This gets us going as quickly as
possible (which is helpful to avoid ooze).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
8 years agoPostprocessing plugin errors: print them to stderr too
Ian Jackson [Sat, 6 Feb 2016 16:43:30 +0000 (16:43 +0000)]
Postprocessing plugin errors: print them to stderr too

Failures to run the postprocessing plugin are currently mostly ignored
- they result in a message in the slicing engine log, but the slice is
considered to have succeeded.

Ideally slicing engine failures, and plugin failures, would be treated
the same way.  But currently engine errors result in a message on
stderr and the slice simply not finishing in the GUI - that is, there
is not even any way to view the log.

Ideally there would be a `slicing failed' state for the slicing
button, as well as `not yet finished'.  That way the user could know
that something was wrong, and know to look at the log.

For now, however, just print the error message to stderr with
traceback.print_exc, too, so that at least command-line users get to
see something.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
8 years agopauseAtZ plugin: Make 15mm in Z park height configurable
Ian Jackson [Sat, 6 Feb 2016 16:18:29 +0000 (16:18 +0000)]
pauseAtZ plugin: Make 15mm in Z park height configurable

Just after retracting, and before parking the head, we move the Z
upwards.  Previously the minimum parking Z height was always 15mm.
The comment says:

  Change z before doing the move because the nozzle
  can hit the glass lock on the UM2

On my TAZ-5, this is not necessary.  And moving the Z axis a long
distance before parking is undesirable because Z axis moves are slow,
leading to a certain amount of ooze, etc.

So make the minimum Z parking height configurable.  We retain the
previous fixed value of 15mm as the default.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
8 years agodev-cura: Make into a proper script
Ian Jackson [Sat, 6 Feb 2016 16:08:02 +0000 (16:08 +0000)]
dev-cura: Make into a proper script

Firstly, move the #! to the top, as the kernels require (otherwise if
you are lucky your shell can run it, but wrapper programs can't).

Secondly, use `exec' to have dev-cura exec cura without forking.

With these two changes, it is easier to strace dev-cura: you can run
  strace -ot ./dev-cura
rather than
  strace -fot bash ./dev-cura

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
8 years agoLook for CuraEngine in ..../CuraEngine/build/CuraEngine[.exe]
Ian Jackson [Sat, 6 Feb 2016 16:06:45 +0000 (16:06 +0000)]
Look for CuraEngine in ..../CuraEngine/build/CuraEngine[.exe]

If you clone CuraEngine inside cura, as the instructions suggest, this
is where the CuraEngine build ends up putting it.

With this, invoking ./dev-cura actually finds the engine in our build
tree.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
8 years agoReplace uses of "sudo" in Debian package builds with "fakeroot"
Ian Jackson [Thu, 17 Dec 2015 01:18:26 +0000 (01:18 +0000)]
Replace uses of "sudo" in Debian package builds with "fakeroot"

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
8 years agoIncrement version number
nickthetait [Thu, 28 Jan 2016 22:24:15 +0000 (15:24 -0700)]
Increment version number

8 years agoUpdate several flexystruder profiles for Mini
nickthetait [Thu, 28 Jan 2016 22:19:38 +0000 (15:19 -0700)]
Update several flexystruder profiles for Mini

8 years agoUpdate stock quickprint profiles for TAZ6
nickthetait [Tue, 26 Jan 2016 21:56:03 +0000 (14:56 -0700)]
Update stock quickprint profiles for TAZ6

8 years agoSight improvement in usefulness of LulzBot ready page
nickthetait [Tue, 26 Jan 2016 21:43:59 +0000 (14:43 -0700)]
Sight improvement in usefulness of LulzBot ready page

8 years agoUpdate a few more items in about screen
nickthetait [Mon, 25 Jan 2016 19:20:18 +0000 (12:20 -0700)]
Update a few more items in about screen

8 years agoUpdate toolhead naming
nickthetait [Fri, 22 Jan 2016 16:12:44 +0000 (09:12 -0700)]
Update toolhead naming

* Labeling during toolhead selection
* Quickprint folder naming & linkages
* Upgrade older machine configurations

8 years agoSmall refactor of version upgrade
nickthetait [Mon, 25 Jan 2016 17:07:32 +0000 (10:07 -0700)]
Small refactor of version upgrade

8 years agoFix merge problem
nickthetait [Fri, 22 Jan 2016 17:57:24 +0000 (10:57 -0700)]
Fix merge problem

8 years agoAdd a default firmware for Taz 6
nickthetait [Fri, 22 Jan 2016 16:32:59 +0000 (09:32 -0700)]
Add a default firmware for Taz 6

Fixes T326

8 years agoUpdate gitignore rules for firmware
nickthetait [Fri, 22 Jan 2016 16:28:31 +0000 (09:28 -0700)]
Update gitignore rules for firmware

8 years agoFix the dev-cura script
Youness Alaoui [Tue, 26 Jan 2016 18:05:02 +0000 (13:05 -0500)]
Fix the dev-cura script

The shebang needs to be the first line of the script.
Use python instead of /usr/bin/python
Do not override PYTHONPATH, just add the current dir to it.

8 years agoUse /usr/bin/mock to avoid issues when /usr/sbin/mock is run for non-root users
Youness Alaoui [Fri, 22 Jan 2016 21:12:12 +0000 (16:12 -0500)]
Use /usr/bin/mock to avoid issues when /usr/sbin/mock is run for non-root users

8 years agoUpdate labeling in about screen
nickthetait [Fri, 22 Jan 2016 15:48:25 +0000 (08:48 -0700)]
Update labeling in about screen

8 years agoIncrease log limit to 200 lines
Youness Alaoui [Wed, 20 Jan 2016 17:36:55 +0000 (12:36 -0500)]
Increase log limit to 200 lines

8 years agoFix center coords for lulzbot mini if using non square size
Youness Alaoui [Wed, 20 Jan 2016 17:34:09 +0000 (12:34 -0500)]
Fix center coords for lulzbot mini if using non square size

8 years agoUpdate all profiles for LulzBot Mini
nickthetait [Wed, 20 Jan 2016 17:01:03 +0000 (10:01 -0700)]
Update all profiles for LulzBot Mini

Using a Mini, with a maximum height object which was placed in the middle of the platform:
During end.gcode (after the object has just finished printing) it was possible to run into the part leaving an ugly melt mark.

8 years agoUpdate LulzBot Mini's maximum print height
nickthetait [Mon, 18 Jan 2016 15:10:42 +0000 (08:10 -0700)]
Update LulzBot Mini's maximum print height

Now aligns with advertized specs

8 years agoSmaller about window because it doesn't fit in my windows VM
Youness Alaoui [Thu, 14 Jan 2016 21:45:35 +0000 (16:45 -0500)]
Smaller about window because it doesn't fit in my windows VM

8 years agoAllow use of 7za on linux for package.sh
Youness Alaoui [Thu, 14 Jan 2016 21:39:55 +0000 (16:39 -0500)]
Allow use of 7za on linux for package.sh

8 years agoUpdate package.sh to use wxpython 3.0 for win32.
Youness Alaoui [Thu, 14 Jan 2016 21:38:02 +0000 (16:38 -0500)]
Update package.sh to use wxpython 3.0 for win32.

This updates the package.sh script to use PortablePython 2.7.6.1,
instead of the older 2.7.2.1, which includes wxpython 3.0 and numpy
and serial 2.7. It also fixes the package.sh script for it to actually
work as expected.
Fixes T270

8 years agoUpdate copyright date
Youness Alaoui [Thu, 14 Jan 2016 20:58:06 +0000 (15:58 -0500)]
Update copyright date

Fixes T351

8 years agoFix a few merge mistakes
nickthetait [Mon, 11 Jan 2016 20:09:12 +0000 (13:09 -0700)]
Fix a few merge mistakes

8 years agoPrep to add nGen into quickprint
nickthetait [Wed, 6 Jan 2016 17:13:33 +0000 (10:13 -0700)]
Prep to add nGen into quickprint

Contributes to T319

8 years agoUpdate a print profile
nickthetait [Tue, 24 Nov 2015 19:38:29 +0000 (12:38 -0700)]
Update a print profile

8 years agoSeparate Mangrove to have its own first print material
nickthetait [Tue, 24 Nov 2015 18:39:48 +0000 (11:39 -0700)]
Separate Mangrove to have its own first print material

8 years agoAdd a number of quickprint profiles
nickthetait [Mon, 23 Nov 2015 18:35:44 +0000 (11:35 -0700)]
Add a number of quickprint profiles

8 years agoCorrectly link quickprint profiles
nickthetait [Mon, 23 Nov 2015 18:09:00 +0000 (11:09 -0700)]
Correctly link quickprint profiles

8 years agoSet machine dimensions
nickthetait [Mon, 23 Nov 2015 18:07:07 +0000 (11:07 -0700)]
Set machine dimensions

8 years agoFix mangrove creation
nickthetait [Mon, 23 Nov 2015 17:57:23 +0000 (10:57 -0700)]
Fix mangrove creation

Putting things in the correct class is a good idea

8 years agoInitial fakeouts for Mangrove
nickthetait [Mon, 23 Nov 2015 17:39:08 +0000 (10:39 -0700)]
Initial fakeouts for Mangrove

Plenty of things are misplaced, broken and poorly implemented yet

8 years agoImprove user feedback when canceling a print
nickthetait [Wed, 6 Jan 2016 13:54:47 +0000 (06:54 -0700)]
Improve user feedback when canceling a print

Display cancelation message on printers that have an LCD

8 years agoIncrement version number
nickthetait [Wed, 2 Dec 2015 16:25:19 +0000 (09:25 -0700)]
Increment version number

8 years agoAdd a wrapper around serial to monkey patch support for custom baudrates
Youness Alaoui [Mon, 30 Nov 2015 21:17:55 +0000 (16:17 -0500)]
Add a wrapper around serial to monkey patch support for custom baudrates

This fixes T316.
The monkey patch (https://en.wikipedia.org/wiki/Monkey_patch) replaces
the set_special_baudrate from 2.6 by the function from 2.7 which fixes
setting 250000 baudrate on linux.
See T316 for more details on the actual patch

8 years agoCopy LICENSE file to move obvious/visible location
nickthetait [Mon, 30 Nov 2015 15:59:40 +0000 (08:59 -0700)]
Copy LICENSE file to move obvious/visible location

8 years agoSetup "change tool head" for Mangrove
nickthetait [Mon, 30 Nov 2015 15:52:00 +0000 (08:52 -0700)]
Setup "change tool head" for Mangrove

8 years agoSet correct baud rate
nickthetait [Mon, 30 Nov 2015 15:51:13 +0000 (08:51 -0700)]
Set correct baud rate

Fixes T324

8 years agoUpdate a print profile
nickthetait [Tue, 24 Nov 2015 19:38:29 +0000 (12:38 -0700)]
Update a print profile

8 years agoSeparate Mangrove to have its own first print material
nickthetait [Tue, 24 Nov 2015 18:39:48 +0000 (11:39 -0700)]
Separate Mangrove to have its own first print material

8 years agoFormat and organize priority selection of quickprint generator script.
nickthetait [Tue, 24 Nov 2015 17:09:06 +0000 (10:09 -0700)]
Format and organize priority selection of quickprint generator script.

8 years agoAdd a number of quickprint profiles
nickthetait [Mon, 23 Nov 2015 18:35:44 +0000 (11:35 -0700)]
Add a number of quickprint profiles

8 years agoCorrectly link quickprint profiles
nickthetait [Mon, 23 Nov 2015 18:09:00 +0000 (11:09 -0700)]
Correctly link quickprint profiles

8 years agoSet machine dimensions
nickthetait [Mon, 23 Nov 2015 18:07:07 +0000 (11:07 -0700)]
Set machine dimensions

8 years agoFix mangrove creation
nickthetait [Mon, 23 Nov 2015 17:57:23 +0000 (10:57 -0700)]
Fix mangrove creation

Putting things in the correct class is a good idea

8 years agoInitial fakeouts for Mangrove
nickthetait [Mon, 23 Nov 2015 17:39:08 +0000 (10:39 -0700)]
Initial fakeouts for Mangrove

Plenty of things are misplaced, broken and poorly implemented yet

8 years agoFix an exception in firmwareInstall dialog using a variable with wrong name
Youness Alaoui [Wed, 6 Jan 2016 19:07:54 +0000 (14:07 -0500)]
Fix an exception in firmwareInstall dialog using a variable with wrong name

8 years agoFix pyserial 3.0 compatibility issue
Youness Alaoui [Wed, 6 Jan 2016 19:06:05 +0000 (14:06 -0500)]
Fix pyserial 3.0 compatibility issue

The pyserial 3.0 changed the Serial parameter writeTimeout into
write_timeout, which breaks the code. They have a fix planned for
a soon-to-be-released version, but since it's a deprecated argument
anyway, it's best not to use in order to stay future-proof, and also
in case someone installs the 3.0 version itself.
This fixes T355

8 years agoAdd a confirmation dialog before removing machines
Youness Alaoui [Tue, 5 Jan 2016 16:02:31 +0000 (11:02 -0500)]
Add a confirmation dialog before removing machines

Fixes T346

8 years agoRemove 'this dialog is shown only once' from new version dialog
Youness Alaoui [Tue, 5 Jan 2016 15:28:35 +0000 (10:28 -0500)]
Remove 'this dialog is shown only once' from new version dialog

Fixes T350

8 years agoAdd -E argument to python interpreter on windows. lulzbot-18.03
Youness Alaoui [Fri, 11 Dec 2015 21:05:34 +0000 (16:05 -0500)]
Add -E argument to python interpreter on windows.

This will make sure python ignores PYTHONPATH and PYTHONHOME variables
that could be set if another application using python was installed
on the system such as CollabNet's subversion Edge.
See https://forum.lulzbot.com/viewtopic.php?f=8&t=3029&p=18892#p18892

8 years agoAdd a Log button to print window if using dev version
Youness Alaoui [Tue, 8 Dec 2015 20:30:03 +0000 (15:30 -0500)]
Add a Log button to print window if using dev version

8 years agoIncrement version number
nickthetait [Fri, 11 Dec 2015 21:05:32 +0000 (14:05 -0700)]
Increment version number

8 years agoKeep updating the temperature even in paused state
Youness Alaoui [Tue, 8 Dec 2015 20:08:55 +0000 (15:08 -0500)]
Keep updating the temperature even in paused state

8 years agoAdd a thread lock to the machineCom _sendCommand
Youness Alaoui [Tue, 8 Dec 2015 19:52:49 +0000 (14:52 -0500)]
Add a thread lock to the machineCom _sendCommand

This is the real cause for the serial WriteTimeout on Windows.
It looks like the win32 pyserial has a concurrency issue and is not
thread-safe, so when we receive commands from the UI (such as 'print',
'pause', 'resume', 'temp' or custom gcode), they get executed from the
main thread and if we receive an 'ok' from the firmware on the serial
monitor thread, it can cause the next command to be sent from the monitor
thread causing data to be written to serial from two threads, which causes
pyserial to just cancel both writes with a WriteTimeoutException.
Fixes T332

8 years agoKeep track of which commands are in the command queue of Marlin
Youness Alaoui [Tue, 8 Dec 2015 18:34:08 +0000 (13:34 -0500)]
Keep track of which commands are in the command queue of Marlin

This allows us to have better control on our timeouts and to know when
we can send a command or when we should just buffer it instead.
This can help us avoid having issues such as buffer overruns or
write timeout for windows.
Hopefully fixes T332

8 years agoOnly cooldown the number of configured extruders. Avoid an 'invalid extruder' error
Youness Alaoui [Tue, 8 Dec 2015 18:29:19 +0000 (13:29 -0500)]
Only cooldown the number of configured extruders. Avoid an 'invalid extruder' error

8 years agoDo not spam M105 when heating up extruder/bed finishes
Youness Alaoui [Tue, 8 Dec 2015 18:28:47 +0000 (13:28 -0500)]
Do not spam M105 when heating up extruder/bed finishes

8 years agoFix issue where a line could be sent twice due to race condition
Youness Alaoui [Mon, 7 Dec 2015 19:58:00 +0000 (14:58 -0500)]
Fix issue where a line could be sent twice due to race condition

8 years agoSpeed up getting operational by sending M105 as soon as Marlin is ready, not after...
Youness Alaoui [Mon, 7 Dec 2015 19:56:33 +0000 (14:56 -0500)]
Speed up getting operational by sending M105 as soon as Marlin is ready, not after 2s timeout

8 years agoFix the change toolhead command when cooling down
Youness Alaoui [Mon, 7 Dec 2015 19:55:42 +0000 (14:55 -0500)]
Fix the change toolhead command when cooling down

8 years agoMove this commit onto Mangrove branch
nickthetait [Mon, 30 Nov 2015 21:42:28 +0000 (14:42 -0700)]
Move this commit onto Mangrove branch

Revert "Add a wrapper around serial to monkey patch support for custom baudrates"

This reverts commit 97a4808bf2e4e133ee610405508f5abd6330fed4.

8 years agoAdd a wrapper around serial to monkey patch support for custom baudrates
Youness Alaoui [Mon, 30 Nov 2015 21:17:55 +0000 (16:17 -0500)]
Add a wrapper around serial to monkey patch support for custom baudrates

This fixes T316.
The monkey patch (https://en.wikipedia.org/wiki/Monkey_patch) replaces
the set_special_baudrate from 2.6 by the function from 2.7 which fixes
setting 250000 baudrate on linux.
See T316 for more details on the actual patch

8 years agoRemove python 3 depencies from fedora package and add python-power
Youness Alaoui [Mon, 30 Nov 2015 17:02:22 +0000 (12:02 -0500)]
Remove python 3 depencies from fedora package and add python-power

8 years agoIncrement version number lulzbot-18.02
nickthetait [Mon, 30 Nov 2015 16:36:15 +0000 (09:36 -0700)]
Increment version number

8 years agoMake the power module an optional dependency
Youness Alaoui [Thu, 26 Nov 2015 20:05:14 +0000 (15:05 -0500)]
Make the power module an optional dependency

If power module is not loadable, then all it will affect is the
warning label about the PC being on battery vs. AC power in the print
window.

8 years agoStep up major version number for release lulzbot-18.01
nickthetait [Thu, 19 Nov 2015 15:40:50 +0000 (08:40 -0700)]
Step up major version number for release

8 years agoPrevent infinite loop
nickthetait [Tue, 17 Nov 2015 19:52:32 +0000 (12:52 -0700)]
Prevent infinite loop

Changing width/height previously resulted in "RuntimeError: maximum recursion depth exceeded"s which gave very strange behavior.

8 years agoUse an alternative method to check for wxPython if distutils is not available
Youness Alaoui [Mon, 16 Nov 2015 22:51:10 +0000 (17:51 -0500)]
Use an alternative method to check for wxPython if distutils is not available

8 years agoFix capitalization of colorFabb
nickthetait [Fri, 13 Nov 2015 18:41:27 +0000 (11:41 -0700)]
Fix capitalization of colorFabb

8 years agoIncrement version number lulzbot-17.15
nickthetait [Thu, 12 Nov 2015 22:48:05 +0000 (15:48 -0700)]
Increment version number

8 years agoRemove \n from sendCommand
Youness Alaoui [Thu, 12 Nov 2015 20:27:24 +0000 (15:27 -0500)]
Remove \n from sendCommand

The sendCommand is already adding a \n, having the \n in the argument
made it send an empty line to the serialCommunication process
which would then interpret it as an unknown (empty) command, which
caused [''] to be printed in stderr.

Fixes T321

8 years agoMerge URL updates for quickprint, fixes T290
nickthetait [Thu, 12 Nov 2015 18:16:53 +0000 (11:16 -0700)]
Merge URL updates for quickprint, fixes T290

8 years agoUpdate URLs for new website going live
nickthetait [Thu, 12 Nov 2015 16:29:05 +0000 (09:29 -0700)]
Update URLs for new website going live

8 years agoUpdate quickprint profiles
nickthetait [Wed, 11 Nov 2015 22:07:35 +0000 (15:07 -0700)]
Update quickprint profiles

8 years agoMove print progress % into print window title bar
nickthetait [Wed, 11 Nov 2015 19:48:56 +0000 (12:48 -0700)]
Move print progress % into print window title bar

8 years agoAdd URL link to source code in about page
nickthetait [Tue, 10 Nov 2015 17:55:38 +0000 (10:55 -0700)]
Add URL link to source code in about page

8 years agoUpdate URL structure
nickthetait [Tue, 10 Nov 2015 17:51:45 +0000 (10:51 -0700)]
Update URL structure

8 years agoSet referer field
nickthetait [Tue, 10 Nov 2015 17:18:24 +0000 (10:18 -0700)]
Set referer field

8 years agoIncrement version number lulzbot-17.14
nickthetait [Tue, 10 Nov 2015 16:49:37 +0000 (09:49 -0700)]
Increment version number

8 years agoRemove extra filament push on resume
nickthetait [Tue, 10 Nov 2015 16:31:17 +0000 (09:31 -0700)]
Remove extra filament push on resume

8 years agoSmall update to comments
nickthetait [Tue, 10 Nov 2015 16:13:43 +0000 (09:13 -0700)]
Small update to comments

8 years agoAttempt to improve nozzle priming on resume
nickthetait [Tue, 10 Nov 2015 16:07:14 +0000 (09:07 -0700)]
Attempt to improve nozzle priming on resume

Wastes a little filament, seems neccesary for very narrow/small prints

8 years agoCombine retract and head lift into same step when pausing
nickthetait [Tue, 10 Nov 2015 15:23:40 +0000 (08:23 -0700)]
Combine retract and head lift into same step when pausing

8 years agoAdd a park toolhead on Pause feature
Youness Alaoui [Fri, 6 Nov 2015 19:50:19 +0000 (14:50 -0500)]
Add a park toolhead on Pause feature

This will add a park toolhead feature when Pause is clicked.
The park position is at 10 mm from the x/y limits and 10mm above the
current Z unless we're 10mm away from the max height of the printer.
On resume, the E position is reset, last feedrate value is restored
and the toolhead is primed for new filament before being moved back
into position.

The print window will now also display a "Please wait" for 10 seconds
while disabling the pause/resume button to avoid excessive commands
being sent while the printer is still busy with a move.
This also helps the user realize that pausing is not an instantenous feature.
The serial connection has been fixed to send queued commands when in paused state.
Feature was taken in part from the pauseAtZ plugin.
Only E movements are now allowd in paused state.

Hopefully fixes T220 and makes everyone happy

8 years agochange wx 2.8 to 3.0 in README file
Youness Alaoui [Fri, 6 Nov 2015 19:19:43 +0000 (14:19 -0500)]
change wx 2.8 to 3.0 in README file

8 years agofor Z change, also accept negative Z values
Youness Alaoui [Fri, 6 Nov 2015 19:18:43 +0000 (14:18 -0500)]
for Z change, also accept negative Z values

8 years agoDo not flood terminal with progress numbers when doing a 'split object into parts'
Youness Alaoui [Fri, 6 Nov 2015 16:37:13 +0000 (11:37 -0500)]
Do not flood terminal with progress numbers when doing a 'split object into parts'

Noticed in P3

8 years agoCleanup print status label text and clear content once done
Youness Alaoui [Fri, 6 Nov 2015 16:36:37 +0000 (11:36 -0500)]
Cleanup print status label text and clear content once done

8 years agoRevert "Disable pause feature"
nickthetait [Mon, 12 Oct 2015 21:11:23 +0000 (15:11 -0600)]
Revert "Disable pause feature"

This reverts commit 5544eba5ad653b11169cb60eefb64f590a884975.

8 years agoShorten print progress percentage to one decimal place
nickthetait [Fri, 6 Nov 2015 15:31:16 +0000 (08:31 -0700)]
Shorten print progress percentage to one decimal place

8 years agoAdd a print progress status text to the print window and show current Z
Youness Alaoui [Thu, 5 Nov 2015 20:34:14 +0000 (15:34 -0500)]
Add a print progress status text to the print window and show current Z

This shows current percentage, currnet line and Z in the print window.

8 years agoIncrement version number lulzbot-17.13
nickthetait [Thu, 5 Nov 2015 20:02:50 +0000 (13:02 -0700)]
Increment version number

8 years agoRemove wxgtk2.8 as a dependency and require 3.0 only
nickthetait [Thu, 5 Nov 2015 20:00:15 +0000 (13:00 -0700)]
Remove wxgtk2.8 as a dependency and require 3.0 only

Fixes T314

8 years agoIncrement version number lulzbot-17.12
nickthetait [Wed, 4 Nov 2015 18:24:16 +0000 (11:24 -0700)]
Increment version number