Markus Hitter
27f7e1de63
printcore.py: review resend request line parsing.
...
The new algorithm mangles the request string as before,
but then looks for the first valid number instead of
a number in fixed places. This hopefully works for
all firmwares.
To avoid future regressions, a list of sample strings was
started. Feel free to add more samples in.
2012-08-16 23:48:58 +02:00
Kliment Yanev
a20c1fe4c0
POtential fix for wx unicode decode errors
2012-07-11 20:56:15 +02:00
Andrew Dalgleish
1a6700296a
printcore - send the initial M105 using _send instead of send_now
...
send_now can't be used until the printer is online.
2012-06-29 13:44:20 +10:00
Christopher Keller
8143ee559c
Fixed missing colon in printcore on lines 209 and 231
2012-06-28 13:05:56 -07:00
Andrew Dalgleish
a300fb8eb2
Add online check to printcore send() similar to send_now()
2012-06-29 01:23:52 +10:00
Andrew Dalgleish
adbd5613cf
Add optional wait timeout to printcore send, send_now
2012-06-29 01:09:09 +10:00
Logxen
781265d327
fixed bonehead python-n00b error
2012-06-15 13:00:20 -07:00
Logxen
97cad4e003
make send_now check that the printer is online before talking to it
2012-06-14 23:41:54 -07:00
Kliment Yanev
8a29452af1
DO not clear sent lines dict after each ok - fix for firmware sending resend after ok triggering keyerror
2012-05-23 18:18:21 +02:00
Guillaume Seguin
ba759e9264
Handle another exception most likely caused by a disconnected printer
2012-03-16 04:37:43 +01:00
Nathan Zadoks
501254a72f
Made greetings configurable (no longer just 'start')
2012-03-01 14:12:10 +01:00
Guillaume Seguin
b444ebcd72
Handle the exceptions raised when printer is disconnected.
2012-02-25 22:35:48 +01:00
Alessandro Ranellucci
34ede756a6
Full GPLv3 notice
2012-01-23 12:36:49 +01:00
Alessandro Ranellucci
7d2ef9a6b6
Added licensing info to README and all source files
2012-01-23 12:17:28 +01:00
Kliment Yanev
5b0e0c9878
Merge remote-tracking branch 'origin/master' into experimental
2011-12-21 09:14:06 +01:00
jglauche
5dc84c4fd7
make sure to disconnect and exit when printing is done.
2011-12-19 18:39:10 +01:00
jglauche
f8417bbb10
add some command line options to printcore
2011-12-18 14:54:09 +01:00
jglauche
5e1960dfec
fix printcore: require port
2011-12-16 21:46:24 +01:00
kliment
a2d5cd5d1c
Merge pull request #122 from kliment/master
...
Merge fixes added to master into experimental
2011-12-07 05:08:49 -08:00
ErikZalm
752320aa57
Increased the delay in printcore/_listen. Now the bootloader exits after 1 second.
2011-12-06 19:29:01 +01:00
Kliment Yanev
244350fee1
Merge branch 'master' into experimental
2011-11-27 17:34:09 +01:00
Kliment Yanev
56a4a0d98b
Fix escalating memory usage when multiple large files are printed after each other.
...
React to resend only when the command is in the beginning of a line.
2011-11-22 21:32:16 +01:00
Duane Johnson
167470e638
Added a try/except block around readline so that disconnection does not yield a traceback.
2011-11-15 22:03:18 -06:00
Kliment Yanev
bdba2b1449
Fixes issue #49
2011-09-28 13:41:24 +02:00
Kliment
1307f9801b
Fix crash caused by serial error with fiveD firmware on resend request.
2011-08-22 12:09:39 +02:00
kliment
655ab135e5
Fix permissions, allow commands when printer disconnected
2011-07-15 09:15:12 +02:00
Alessandro Ranellucci
ec6c532112
Do not try to parse DEBUG_ lines from Sprinter.
2011-07-12 10:42:00 +02:00
kliment
e830702be0
Remove unused dependency
2011-06-30 07:11:58 +02:00
kliment
26c174402f
Continue on exceptions in callback functions
2011-06-28 11:38:55 +02:00
kliment
198f6ec5f7
Fix resends to persist on ok
2011-06-26 02:47:39 +02:00
kliment
e97d8df393
Correct mirroring of part in pronterface, strip comments from gcode before sending
2011-06-22 08:19:13 +02:00
kliment
3e40f57309
More lenient online-ness detection made to work with FiveD
2011-06-14 16:04:46 +02:00
kliment
2313474421
Fix M109/M190 handling to not overflow the serial buffer.
2011-06-14 09:23:03 +02:00
Keegi
6fe022c280
remove redundant line endings from 'loud' output in printcore
2011-06-10 13:10:06 +03:00
kliment
7a8819e448
Pronterface: remember dir across opened files
2011-06-09 16:43:03 +02:00
kliment
b513383d04
Accept alternative resend format
2011-06-09 16:23:05 +02:00
kliment
124aef586f
Support rs N0 - style resends
2011-06-09 16:22:04 +02:00
kliment
31da9098a0
Fix pause command. Fix help for pause command.
2011-06-07 07:46:29 +02:00
kliment
fd6eb8ac3a
Add reset command. Make gettemp and monitor less misleading
2011-06-06 19:46:25 +02:00
kliment
4ab811754c
Add skeinforge settings support. Make printing non-modal. Experimental pausing.
2011-06-02 18:47:45 +02:00
kliment
fe9764623a
Fixes online-ness detection on non-Sprinter firmwares.
2011-06-01 14:31:38 +02:00
kliment
6a130c7bc6
Add upload functionality to pronsole
2011-05-28 19:08:22 +02:00
kliment
b679451a43
Add callback support
2011-05-27 00:16:26 +02:00
kliment
7113ab99fb
Add quiet option if statusrepor=True.
2011-05-23 15:39:24 +02:00
kliment
5161eb1ae5
Make printcore usable as a rudimentary command line print program
2011-05-22 22:52:57 +02:00
kliment
140458281e
First working version - can now connect to and talk with firmware, handle flow control and resends.
2011-05-22 20:23:29 +02:00
kliment
72d6bd2784
Changes to make interactive mode use nicer - no RECV message on recv timeout
2011-05-12 09:03:57 +02:00
kliment
86c76a199c
Added documentation and patched up a couple functions
2011-05-11 17:28:35 +02:00
kliment
64137be9a1
Initial commit, basic functionality (send gcode to printer, pause, resume, send intermediate command)
2011-05-10 09:59:28 +02:00