Commit graph

130 commits

Author SHA1 Message Date
Mark Walker
23ba898fe2 Eat 'None' lines out of .ini files 2018-04-25 23:46:33 +00:00
Mark Walker
cd9ad5167f Pick up latest GPX 2018-04-05 22:32:11 +00:00
Mark Walker
f243524012 Treat 'None' the same as 'undefined' in json payload 2018-04-05 07:19:24 +00:00
Mark Walker
7c19190b70 Add one kind of AUTO for GPX
It'll recognize a MakerBot The Replicator or clone that reports the same
usb ids and AUTO for baudrate means 115200.

Anything else will fail with an error that says to choose a port and
baudrate.
2017-07-13 06:49:05 +00:00
Mark Walker
302463ef8e Merge branch 'dev/zero-coords-on-start' 2017-07-13 05:35:17 +00:00
Mark Walker
85b1ccbacb Some fresher notes in the README 2017-07-11 23:55:29 -07:00
Mark Walker
d96e896d1c A new flag that forces all the coordinates to be
defined at the start of a print.  This is because there are so many
start gcodes floating around out there that don't ever define all the
axes.
2017-07-11 05:48:21 +00:00
Mark Walker
cc623cfbd9 Fix line breaks on readnext
Happens when in a wait state with verbose logging
2017-06-29 10:29:18 +00:00
Mark Walker
f579206cf3 Fix magic resetting settings
If the onSettingsBeforeSave gets called before we've populated the view
model, boom, user's gpx.ini gets set back to defaults

I think this fixes #37
2017-06-29 10:26:02 +00:00
Mark Walker
d8e0428a92 Switch start print detection strategy to
use gcode script insertion rather than relying on line number behavior
2017-06-28 05:05:38 +00:00
Mark Walker
d39ca98701 Update submodule 2017-06-27 17:42:19 +00:00
Mark Walker
3e138a6893 Preparing to consume the new GPX 2017-04-04 18:44:39 +00:00
Mark Walker
3b864ea566 Fix issue where connecting makes LCD show 0% progress 2017-03-02 05:44:59 +00:00
Mark Walker
5121befa16 Use the OctoPrint API to do ajax
This also helps if the user has reconfigured the basedir by letting
OctoPrint compute the proper url.  See #31
2016-12-05 22:56:42 -07:00
Mark Walker
0c8659974d Fix AttributeError when current job is None 2016-11-19 11:42:49 -07:00
Mark Walker
cc6f0ba630 Pick up gpxmodule changes for SD print status and cancel 2016-07-28 15:47:34 -07:00
Mark Walker
359e246215 Get rid of confusing buffer overflow message 2016-07-28 15:47:34 -07:00
Mark Walker
7149baa54c Pick up gpxmodule changes
Hopefully addresses SD print completion detection
2016-07-28 15:01:57 -07:00
Mark Walker
2e5e7b602e Serial.write returns number of bytes written 2016-07-18 18:45:19 -07:00
Mark Walker
5f537dfb75 Pick up GPX 2.5.2 2016-05-05 18:26:05 -07:00
Mark Walker
46a7e5c67c Let native code do the fast buffer overflow retry
Plus fixup the build and sdist due to autotoolization of GPX
2016-05-02 22:32:55 -07:00
Mark Walker
379e70e96b Fix hang after cancel 2016-04-28 14:11:59 -07:00
Mark Walker
a00721a7f6 Pause and buffer overflow handling
* Complicate the buffer overflow handling code to go fast at first and
  slow later and really slow if pause at bot detected
* Simplify readline since readnext is also simpler
2016-04-18 09:55:20 -07:00
Mark Walker
ac856d0e22 Fix some SD printing communication issues
Should address markwal/GPX#6 and markwal/OctoPrint-GPX#16
2016-04-01 00:13:18 -07:00
Mark Walker
8fd75e85a0 Pick up fix in GPX submodule 2016-03-21 15:51:41 -07:00
Mark Walker
703a637606 Added HBP PID terms to eeprom editor 2016-01-17 22:25:34 -07:00
Mark Walker
4f76be8212 Fix relative extruders (GPX submodule) 2016-01-02 15:47:21 -07:00
Mark Walker
5030516a21 Two progress fixes
If we get a progress event before the build start notification or after
a build end notification we ignore it rather than sending it to GPX so
that we don't inadvertantly restart a finishing build

Also, surround the job name in quotes in case it has spaces or starts
with a number
2015-12-30 02:21:33 -07:00
Mark Walker
90e027cdd1 Fix warning about extra parameter 2015-12-22 20:29:44 -08:00
Mark Walker
84cd23adc8 Add winsio.c to Windows build 2015-12-22 19:22:39 -08:00
Mark Walker
c7d51e3ee9 GPX submodule changes 2015-12-10 00:38:27 -07:00
Mark Walker
f202a882ec Simplify build start 2015-12-09 12:41:32 -07:00
Mark Walker
f3132d3342 Remove requirement on cancel for a reconnect
Up to this point we relied on a disconnect/connect after throwing an
error on cancel.  Now we have to distinguish between cancel's initiated
by OctoPrint and those initiated on the LCD panel.

Why do we want to avoid disconnect/connect?  Well, since the bot always
returns the cancel build status first on an overtemp condition we have
to stay connected to get to hear the overtemp in case we want to take
some action in OctoPrint (like turn off a relay for example)
2015-10-12 18:46:58 -07:00
Mark Walker
0f8edfd1de Merge branch 'master' of github.com:markwal/OctoPrint-GPX 2015-10-11 16:06:27 -07:00
Mark Walker
efdbcfe758 EEPROM Fans panel 2015-10-11 16:05:32 -07:00
Mark Walker
829c70a0e4 Pick up GPX 2.3 2015-10-03 21:30:30 +00:00
Mark Walker
13c684c224 Sense of Z-hold is 1=off 0=on 2015-09-30 20:05:09 -07:00
Mark Walker
2fffb24e2e Turn on eeprom writing + a few tweaky bugfixes 2015-09-30 17:09:49 -07:00
Mark Walker
671b0c4857 Better warning message for eeprom settings 2015-09-30 00:01:27 -07:00
Mark Walker
ad9df7b581 Log what will change on "Save" for eeprom settings 2015-09-29 23:55:03 -07:00
Mark Walker
ade886eddd Merge branch 'master' into onboardprefs 2015-09-24 10:37:14 -07:00
Mark Walker
c641e258f9 Autoconnect on boot, gcode handling
- If autoconnect is turned on, the hook gets called before the plugin
  gets called for post startup initialization (on_after_startup).
- The checksum stripping was dumb and also killed comments that had
  asterisks in them
- There was a race in the timeout while waiting state where a response line could
  get eaten. With this fix it still has a chance of being out of order.
- With the submodule update, now OctoPrint can print the dual nozzle
  calibration gcode from RepG (M108 for toolchange)
2015-09-24 01:32:42 -07:00
Mark Walker
53aa5b6e1e Set up for writing the batch EEPROM 2015-09-23 22:01:25 -07:00
Mark Walker
fdc6b00a8e Warning message for EEPROM settings panel 2015-09-23 01:46:50 -07:00
Mark Walker
b3ff5bfe9b Make REST eeprombatch work 2015-09-22 15:42:43 -07:00
Mark Walker
b9a3498321 Start (non-functioning) on REST EEPROM endpoints 2015-09-20 21:19:24 -07:00
Mark Walker
914f21503a Pick up okPending change from submodule 2015-09-20 12:51:22 -07:00
Mark Walker
0b2ccf2e67 Add a few more settings 2015-09-12 00:06:28 -07:00
Mark Walker
ac3ec57fae Initial checkin of new EEPROM settings
button and sub-dialog
2015-09-11 22:24:46 -07:00
Mark Walker
0185726a52 GPX submodule has a new source file 2015-09-07 22:02:43 -07:00