chiark / gitweb /
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>
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>
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>
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>
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>
nickthetait [Thu, 28 Jan 2016 22:24:15 +0000 (15:24 -0700)]
Increment version number
nickthetait [Thu, 28 Jan 2016 22:19:38 +0000 (15:19 -0700)]
Update several flexystruder profiles for Mini
nickthetait [Tue, 26 Jan 2016 21:56:03 +0000 (14:56 -0700)]
Update stock quickprint profiles for TAZ6
nickthetait [Tue, 26 Jan 2016 21:43:59 +0000 (14:43 -0700)]
Sight improvement in usefulness of LulzBot ready page
nickthetait [Mon, 25 Jan 2016 19:20:18 +0000 (12:20 -0700)]
Update a few more items in about screen
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
nickthetait [Mon, 25 Jan 2016 17:07:32 +0000 (10:07 -0700)]
Small refactor of version upgrade
nickthetait [Fri, 22 Jan 2016 17:57:24 +0000 (10:57 -0700)]
Fix merge problem
nickthetait [Fri, 22 Jan 2016 16:32:59 +0000 (09:32 -0700)]
Add a default firmware for Taz 6
Fixes T326
nickthetait [Fri, 22 Jan 2016 16:28:31 +0000 (09:28 -0700)]
Update gitignore rules for firmware
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.
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
nickthetait [Fri, 22 Jan 2016 15:48:25 +0000 (08:48 -0700)]
Update labeling in about screen
Youness Alaoui [Wed, 20 Jan 2016 17:36:55 +0000 (12:36 -0500)]
Increase log limit to 200 lines
Youness Alaoui [Wed, 20 Jan 2016 17:34:09 +0000 (12:34 -0500)]
Fix center coords for lulzbot mini if using non square size
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.
nickthetait [Mon, 18 Jan 2016 15:10:42 +0000 (08:10 -0700)]
Update LulzBot Mini's maximum print height
Now aligns with advertized specs
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
Youness Alaoui [Thu, 14 Jan 2016 21:39:55 +0000 (16:39 -0500)]
Allow use of 7za on linux for package.sh
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
Youness Alaoui [Thu, 14 Jan 2016 20:58:06 +0000 (15:58 -0500)]
Update copyright date
Fixes T351
nickthetait [Mon, 11 Jan 2016 20:09:12 +0000 (13:09 -0700)]
Fix a few merge mistakes
nickthetait [Wed, 6 Jan 2016 17:13:33 +0000 (10:13 -0700)]
Prep to add nGen into quickprint
Contributes to T319
nickthetait [Tue, 24 Nov 2015 19:38:29 +0000 (12:38 -0700)]
Update a print profile
nickthetait [Tue, 24 Nov 2015 18:39:48 +0000 (11:39 -0700)]
Separate Mangrove to have its own first print material
nickthetait [Mon, 23 Nov 2015 18:35:44 +0000 (11:35 -0700)]
Add a number of quickprint profiles
nickthetait [Mon, 23 Nov 2015 18:09:00 +0000 (11:09 -0700)]
Correctly link quickprint profiles
nickthetait [Mon, 23 Nov 2015 18:07:07 +0000 (11:07 -0700)]
Set machine dimensions
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
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
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
nickthetait [Wed, 2 Dec 2015 16:25:19 +0000 (09:25 -0700)]
Increment version number
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
nickthetait [Mon, 30 Nov 2015 15:59:40 +0000 (08:59 -0700)]
Copy LICENSE file to move obvious/visible location
nickthetait [Mon, 30 Nov 2015 15:52:00 +0000 (08:52 -0700)]
Setup "change tool head" for Mangrove
nickthetait [Mon, 30 Nov 2015 15:51:13 +0000 (08:51 -0700)]
Set correct baud rate
Fixes T324
nickthetait [Tue, 24 Nov 2015 19:38:29 +0000 (12:38 -0700)]
Update a print profile
nickthetait [Tue, 24 Nov 2015 18:39:48 +0000 (11:39 -0700)]
Separate Mangrove to have its own first print material
nickthetait [Tue, 24 Nov 2015 17:09:06 +0000 (10:09 -0700)]
Format and organize priority selection of quickprint generator script.
nickthetait [Mon, 23 Nov 2015 18:35:44 +0000 (11:35 -0700)]
Add a number of quickprint profiles
nickthetait [Mon, 23 Nov 2015 18:09:00 +0000 (11:09 -0700)]
Correctly link quickprint profiles
nickthetait [Mon, 23 Nov 2015 18:07:07 +0000 (11:07 -0700)]
Set machine dimensions
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
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
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
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
Youness Alaoui [Tue, 5 Jan 2016 16:02:31 +0000 (11:02 -0500)]
Add a confirmation dialog before removing machines
Fixes T346
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
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
Youness Alaoui [Tue, 8 Dec 2015 20:30:03 +0000 (15:30 -0500)]
Add a Log button to print window if using dev version
nickthetait [Fri, 11 Dec 2015 21:05:32 +0000 (14:05 -0700)]
Increment version number
Youness Alaoui [Tue, 8 Dec 2015 20:08:55 +0000 (15:08 -0500)]
Keep updating the temperature even in paused state
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
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
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
Youness Alaoui [Tue, 8 Dec 2015 18:28:47 +0000 (13:28 -0500)]
Do not spam M105 when heating up extruder/bed finishes
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
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
Youness Alaoui [Mon, 7 Dec 2015 19:55:42 +0000 (14:55 -0500)]
Fix the change toolhead command when cooling down
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.
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
Youness Alaoui [Mon, 30 Nov 2015 17:02:22 +0000 (12:02 -0500)]
Remove python 3 depencies from fedora package and add python-power
nickthetait [Mon, 30 Nov 2015 16:36:15 +0000 (09:36 -0700)]
Increment version number
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.
nickthetait [Thu, 19 Nov 2015 15:40:50 +0000 (08:40 -0700)]
Step up major version number for release
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.
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
nickthetait [Fri, 13 Nov 2015 18:41:27 +0000 (11:41 -0700)]
Fix capitalization of colorFabb
nickthetait [Thu, 12 Nov 2015 22:48:05 +0000 (15:48 -0700)]
Increment version number
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
nickthetait [Thu, 12 Nov 2015 18:16:53 +0000 (11:16 -0700)]
Merge URL updates for quickprint, fixes T290
nickthetait [Thu, 12 Nov 2015 16:29:05 +0000 (09:29 -0700)]
Update URLs for new website going live
nickthetait [Wed, 11 Nov 2015 22:07:35 +0000 (15:07 -0700)]
Update quickprint profiles
nickthetait [Wed, 11 Nov 2015 19:48:56 +0000 (12:48 -0700)]
Move print progress % into print window title bar
nickthetait [Tue, 10 Nov 2015 17:55:38 +0000 (10:55 -0700)]
Add URL link to source code in about page
nickthetait [Tue, 10 Nov 2015 17:51:45 +0000 (10:51 -0700)]
Update URL structure
nickthetait [Tue, 10 Nov 2015 17:18:24 +0000 (10:18 -0700)]
Set referer field
nickthetait [Tue, 10 Nov 2015 16:49:37 +0000 (09:49 -0700)]
Increment version number
nickthetait [Tue, 10 Nov 2015 16:31:17 +0000 (09:31 -0700)]
Remove extra filament push on resume
nickthetait [Tue, 10 Nov 2015 16:13:43 +0000 (09:13 -0700)]
Small update to comments
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
nickthetait [Tue, 10 Nov 2015 15:23:40 +0000 (08:23 -0700)]
Combine retract and head lift into same step when pausing
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
Youness Alaoui [Fri, 6 Nov 2015 19:19:43 +0000 (14:19 -0500)]
change wx 2.8 to 3.0 in README file
Youness Alaoui [Fri, 6 Nov 2015 19:18:43 +0000 (14:18 -0500)]
for Z change, also accept negative Z values
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
Youness Alaoui [Fri, 6 Nov 2015 16:36:37 +0000 (11:36 -0500)]
Cleanup print status label text and clear content once done
nickthetait [Mon, 12 Oct 2015 21:11:23 +0000 (15:11 -0600)]
Revert "Disable pause feature"
This reverts commit
5544eba5ad653b11169cb60eefb64f590a884975.
nickthetait [Fri, 6 Nov 2015 15:31:16 +0000 (08:31 -0700)]
Shorten print progress percentage to one decimal place
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.
nickthetait [Thu, 5 Nov 2015 20:02:50 +0000 (13:02 -0700)]
Increment version number
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
nickthetait [Wed, 4 Nov 2015 18:24:16 +0000 (11:24 -0700)]
Increment version number
nickthetait [Tue, 3 Nov 2015 17:14:46 +0000 (10:14 -0700)]
Update firmware flashing description text
nickthetait [Wed, 28 Oct 2015 16:16:13 +0000 (10:16 -0600)]
Add 5 new Colorfabb profiles into quickprint