Commit Graph

943 Commits (1d0fccedf727b879cf72ff574d636af13b67fe3f)

Author SHA1 Message Date
Gina Häußge 1d0fccedf7 Reset gcode state when done loading 2013-01-18 23:44:08 +01:00
Gina Häußge e8a633db8b State is now sent in update bundles to the frontend if updates are available, but not more frequently than every 500ms. 2013-01-18 23:44:08 +01:00
Gina Häußge 4983a00adf Broken commit... redoing the complete messaging to the frontend, part 1 2013-01-18 23:44:07 +01:00
Gina Häußge e51d7dc7a0 Changed message queue... but still not happy with that... 2013-01-18 23:44:07 +01:00
Gina Häußge d9f31fccfd Updated autodetection of server-down for socket.io and updated requirements 2013-01-18 23:44:07 +01:00
Gina Häußge 7567734e1c Decoupled communication thread and frontend serving via update queue, extracted history to separate initial event sent upon connecting, making updates of temperatures, logs and messages smaller 2013-01-18 23:44:07 +01:00
Gina Häußge 534a48ffd7 Throttling for progress reports (every 500ms for now) and mini bugfix 2013-01-18 23:44:06 +01:00
Gina Häußge ddc3ff9563 Refactoring server/client communication to utilize socket.io instead of 500ms-polling for server-side updates 2013-01-18 23:44:06 +01:00
Gina Häußge a777c369c7 Added note about needing a powered USB hub 2013-01-14 14:33:00 +01:00
Gina Häußge 06675100b4 Update README.md 2013-01-13 13:43:44 +01:00
Gina Häußge df0e3b41cf Removed Cura logo as favicon -- isn't fitting anymore 2013-01-08 21:06:24 +01:00
Gina Häußge 40a267e231 Merge pull request #14 from imitation/master
Bugfix: Bed target temp now shows in graph
2013-01-07 11:08:29 -08:00
Thomas Sanladerer ea6b109dec Update printer_webui/util/comm.py
Enables bed target temperature display.
2013-01-07 18:54:49 +01:00
Gina Häußge 83bf6efb1d Ignore "No Checksum with line number" errors as they trigger a resend just as well as e.g. "No Line Number with checksum" (quick check of the Marlin source seems to confirm this).
Should hopefully help with #5 and #9 -- will not reduce the communication errors (that's most probably not the comm stacks fault but rather a noise issue or something) but will lead to a more error resilient behaviour. Please test (I can't reproduce the issue(s)).
2013-01-05 00:00:38 +01:00
Gina Häußge 99ed13160f Changed installation and configuration hints to use avconv on Raspberry Pi instead of ffmpeg (which seems to ignore the bitrate commandline parameter and hence produces horribly blocky videos) 2013-01-04 23:43:32 +01:00
Gina Häußge 7ffb8c3bd7 Only enable timelapse feature when necessary config settings are made. Expanded on documentation. 2013-01-04 18:38:50 +01:00
Gina Häußge ef0820a067 Added timelapse file management 2013-01-04 13:11:00 +01:00
Gina Häußge 2db1cff224 Bugfixes... 2013-01-04 11:08:19 +01:00
Gina Häußge d102bdbfca Ooops... forgot something in a variable name 2013-01-03 23:06:27 +01:00
Gina Häußge b93750619f Added video creation via ffmpeg 2013-01-03 22:58:47 +01:00
Gina Häußge 02f2436cd5 Futher work on timelapse support 2013-01-03 21:38:46 +01:00
Gina Häußge 35e6b19332 Timelapse support. At the moment the feature only creates a series of (grabbed) images in the timelapse folder in the settings dir. Next step will be to create a movie from that. 2013-01-03 15:25:20 +01:00
Gina Häußge 81fb1ae305 Small correction in README 2013-01-03 00:49:44 +01:00
Gina Häußge 4e4eed84bb Removed python based webcam support (didn't work well with the raspi), switched instead to external stream (mjpg-streamer being the preferred webcam server) 2013-01-03 00:39:17 +01:00
Gina Häußge 8dc5e249d5 Stream image directly from memory instead of buffering to disk 2013-01-02 18:24:56 +01:00
Gina Häußge f080468a4d Webcam support for Linux 2013-01-02 16:41:04 +00:00
Gina Häußge e1d541a6e4 First try at webcam support 2013-01-02 16:33:37 +01:00
Gina Häußge a85ea69fb0 Established settings mechanism
Allows reading and writing default serial port and baudrate (this also is available via the web interface) and setting the host and port on which the server should listen. Might allow persisting more options in the future.

The configuration file is stored in ~/.printerwebui/config.ini under Linux, in %APPDATA%/PrinterWebUI/config.ini under Windows and should be stored in ~/Library/Application Support/config.ini under MacOS X

Closes #1
2013-01-01 21:04:00 +01:00
Gina Häußge a0cac835b5 Major reorganization to only include the communication stack from Cura. 2012-12-31 13:18:55 +01:00
Gina Häußge f12cc26fbb Disable UI if server is not reachable.
Implements #1
2012-12-30 20:30:31 +01:00
Gina Häußge 0fd8132a41 Added consistent formatting for print time, print time left and estimated print time
All times are now formatted according to <hours>:<minutes>:<seconds>. Also added formatting of current height

Closes #3
2012-12-29 20:57:02 +01:00
Gina Häußge 459a856556 Close connection tab upon successful connection, open it on disconnect. 2012-12-29 19:34:55 +01:00
Gina Häußge 04b531909d Merge remote-tracking branch 'origin/master'
Conflicts:
	Cura/webui/printer.py
2012-12-29 16:09:21 +01:00
Gina Häußge 39b3639d69 - Added speed controls
- Bugfix for getConnectionOptions under *nix
2012-12-29 15:55:30 +01:00
Gina Häußge 5008502e13 - Added speed controls
- Bugfix for getConnectionOptions under *nix
2012-12-29 15:41:23 +01:00
Gina Häußge cd04fb705f New commandline options for debugging and specifying host/port of server to bind to, also added to readme. 2012-12-29 12:11:49 +01:00
Gina Häußge 0919ac9d81 Disabled debug mode as it causes startup issues when app is called the normal cura way 2012-12-29 11:42:31 +01:00
Gina Häußge f40460d797 - Gcode for printjob is now loaded asynchronously, including a progress indicator in the frontend
- New connection section which also allows selection of port and baudrate to use for connecting to printer (default values from profile file are pre-selected if available)
- Connect button now switches to disconnect-functionality while connected
- Bugfix: Jog controls are now also enabled if no job is loaded
- Cleanups: More consistent quotes, some documentation
2012-12-28 20:37:40 +01:00
Gina Häußge 083498865d Adapted progress callback of gcodeInterpreter to also work if a list object is supplied as gcodeFile (e.g. when using loadList instead of load) 2012-12-28 20:04:43 +01:00
Gina Häußge c6cca8c7a3 Merge remote-tracking branch 'upstream/master' 2012-12-27 23:37:32 +01:00
daid303 3fba2b4d5b Fixed #299 2012-12-27 10:21:06 +01:00
daid303 cabff2d951 Fix starting the printing interface under windows and linux. 2012-12-27 09:22:02 +01:00
Gina Häußge 8e01668e1d Adjusted packing to include new dependencies (flask + friends) in the win32 package and also adjusted some stuff to make packaging even work on my system (will probably revert some of that once I come around to properly analyse the issues I had) 2012-12-27 00:05:29 +01:00
Gina Häußge 375fffdd3f Upload location is now platform dependent
win32 defaults to %APPDATA%/Cura/uploads
macos defaults to ~/Library/Application Support/Cura/uploads (I hope, can't test it...)
linux defaults to ~/.cura/uploads

Server now also checks if file to be uploaded or deleted ends on .gcode and makes filename secure before doing anything on the filesystem

Also added favicon ;) and some bla to the README.md
2012-12-27 00:04:12 +01:00
Gina Häußge 909278897c Added missing files 2012-12-26 16:10:18 +01:00
Gina Häußge aa6e888620 - implemented jog controls
- finalized temperature tab
- UI and code cleaning
2012-12-26 15:03:34 +01:00
daid303 eb6e2bc32a Fix the double click on STL/OBJ files. 2012-12-26 11:39:24 +01:00
Gina Häußge 7c8dd7a81a - refactored Javascript
- introduced knockout.js for data binding
- added gcode file management
2012-12-25 20:49:10 +01:00
Gina Häußge 580ebedfa9 First parts of a webui for Cura 2012-12-25 11:55:00 +01:00
Gina Häußge 5e1998d6a1 Ensure that the simulated temperatures of the virtual printer never drops below 0 (causing a parsing exception after simulated prints) 2012-12-25 11:50:38 +01:00