Commit Graph

12 Commits (master)

Author SHA1 Message Date
Gina Häußge 0747336c0f Bugfix: Do not run gcode analyzer when a print is ongoing
Evaluate active flag on gcode analyzer AFTER fetching an item from the work queue, otherwise it will always start working once it finds something if the active flag was true once but then switched to false while the queue was still empty.  Thanks to @Salandora for spotting this.

Fixes #357

(manually cherry-picked from 592f3dc)
2014-02-24 10:00:11 +01:00
Gina Häußge d51aa65cd2 Added .gco to supported extensions 2013-08-25 14:05:52 +02:00
Bryan Mayland 1726e85a68 Merge gcodeInterpreter optimizations from daid/Cura 2013-08-07 11:01:48 -04:00
Gina Häußge 2cafc6114d Just in case we'll use subfolders in the future... 2013-07-20 16:20:34 +02:00
Bryan Mayland fb9fd7e6c9 Fix metadata removal on upload for files with un-sane characters in them
When re-uploading a file with characters that will be later sanitized,
the old metadata entry wasn't removed because it checked the unsane
filename rather than the sanitized version that will later be stored.

This was creating an inconsistent metadata view during analysis for
files with spaces in them.
2013-07-14 11:20:37 -04:00
Gina Häußge 22ea55746c Overall better gcode file handling
See #182 and https://groups.google.com/forum/#!topic/octoprint/YnOzyToxfkI
2013-07-13 16:30:41 +02:00
Gina Häußge 7c85013389 Added filament diameter retrieval from gcode generated by Cura, fixed Slic3r version 2013-06-18 21:28:05 +02:00
Bryan Mayland e32afe147a Add extrusion volume calculation for Slic3r gcode files 2013-06-17 14:39:52 +00:00
Gina Häußge 98a7c3d8b8 New option to sort gcode files by size, reverted former utc "fix" (doesn't work anymore, works without the fix, I have no idea...), added adjusted modernizr, delete metadata from old gcode file version when adding a new one 2013-03-03 19:37:52 +01:00
Gina Häußge 5f55ebd90a GCode file list now automatically switches to page with newly uploaded file as soon as upload request comes back from backend as finished. Progress bar also gets emptied again then. Careful: might take a bit after the upload progress reaches 100% since the file still has to be written to disk in the backend (have to look into how to get this done in a streaming way), metadata analysis gets triggered after returning a response.
Different sorting options are still on my mental todo list ;)

Closes #34.
2013-02-04 22:24:32 +01:00
Gina Häußge 6fd0646128 Revamped gcode analysis.
Now UI and backend take data from saved metadata (if available). Metadata gets written after file upload and also on startup (for files that have not been added yet). Gcode analysis is interrupted if a printjob is started and resumed when it ends. Frontend is notified when new metadata comes available and UI triggers reload of gcode file list.  Also started on implementing proper logging.
2013-02-03 21:14:22 +01:00
Gina Häußge 49cd1ffbd6 Gcode filemanagement now lives in its own module. Upload triggers gcode analysis, result is stored into metadata file. Print jobs triggered and their results are saved as well. Adjusted UI to display gcode analysis result and last print date and (color coded) result if available. Also adjusted gcode file list to color code entries according to last print result. 2013-01-30 20:56:17 +01:00