Skip to content

F/R: Print queue mode once a gcode is uploaded to OctoPrint #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
6ffm70 opened this issue Jun 14, 2020 · 8 comments
Closed

F/R: Print queue mode once a gcode is uploaded to OctoPrint #59

6ffm70 opened this issue Jun 14, 2020 · 8 comments
Labels
type: enhancement New feature or request

Comments

@6ffm70
Copy link

6ffm70 commented Jun 14, 2020

Background
The printer is used by multiple users "the uploaders" who upload gcodes to OctoPrint via VPN as they are not physically near the printer. The person in possession of the printer "the attendant" then initiates the print locally.

Problem
The attendant needs to know

  1. which spool to use
  2. how to plan prints in case he wants to have an eye on the printer while printing
  3. how to prioritize prints if there are more than one waiting in the queue
  4. what he will actually print
  5. who uploaded the gcode/whom to hand over the printed parts
  6. when a new job has been uploaded to the queue

Possible Solution
Every gcode uploaded to OctoPrint is automatically listed in the PrintJobHistory, albeit with a label ("queue" or "unprinted" for example) to distinguish it from finished jobs.

  1. the spool may be entered during upload or parsed from the gcode comment (see Populate Spool... fields from PrusaSlicer gcode comments #58)
  2. the calculated duration of the print from the slicer could be shown here
  3. a comment from the uploader could be recorded here in case they have a priority; like desired completion time
  4. the screenshot from the PrusaSlicer files could be shown here
  5. OctoPrint user name here

Bonus Solution

  1. Screenshot and queue number could be sent by Signal text here, just like with https://github.com/aerickson/OctoPrint_Signal-Notifier, but with a separate receiver
@6ffm70 6ffm70 changed the title Print queue mode once a gcode is uploaded to OctoPrint F/R: Print queue mode once a gcode is uploaded to OctoPrint Jun 14, 2020
@6ffm70
Copy link
Author

6ffm70 commented Jun 14, 2020

One addition to the problem: the tool, ie. nozzle diameter is relevant as well

and one on solution 3.): we send the gcode from the PrusaSlicer interface; ie. a browser popup would not be shown, as the OctoPrint UI does not have to be open. One could either comment in the latter, or add comments in PrusaSlicer to #PrintSettings #Notes which could then be parsed from the gcode:
image

The comment function could also work for ; filament_vendor mentioned in #58; though then commented in the filament notes, as these would be saved permanently with the filament settings.

@OllisGit
Copy link
Owner

Wow!!!
Sounds more like a "Preparation-Plugin" instead of a "History-Plugin".
Really nice ideas and the "focus-group" is more a make-space instead of a single "hobby-user" .

Sorry, but for that reasons I am not implementing such features.

Maybe you have more luck, if you get in contact with the [continuousprint] plugin author (https://plugins.octoprint.org/plugins/continuousprint/).

@stale
Copy link

stale bot commented Jul 21, 2020

This issue has been automatically marked for closing, because it has not had activity in 30 days. It will be closed if no further activity occurs in 10 days.

@stale stale bot added the status: markedForAutoClose Issue will be closed automatically label Jul 21, 2020
@6ffm70
Copy link
Author

6ffm70 commented Jul 28, 2020

Hello Olli, thank you for feedback! I would not think that the purpose of your plugin is compromised by that addition; the history of a print job merely starts a little earlier:

  • by recognising a print job by a file being uploaded
  • by adding a third status -queued- to the job besides success and failed

The rest of the (sub-)features would be optional.

@stale stale bot removed the status: markedForAutoClose Issue will be closed automatically label Jul 28, 2020
@OllisGit
Copy link
Owner

hmmm...if you use the "delete after print plugin", then every other existing printjob in the filemananger is in status "queued" ;-)

From implementation side it shouldn't be a big deal to listen on the "file added" event and then create a History Entry.
But from user experience there needs to be more to implement, e.g. (re)print out the Job-Dialog and I am not yet convinced that many will use this queuing function ("implementation effort vs. business value").

@6ffm70
Copy link
Author

6ffm70 commented Jul 29, 2020

Haven't thought about it that way. We just leave the printed files on the Raspi-SD; and the only ones that get reprinted are the heat towers. Though, I understand that there are as many different workflows as there are users.

Looking at the original F/R, from a functional point of view, the main use would be the ability to comment on a print before the print was started. This may also be useful to other users who upload a bunch of files, and want to comment on them to find the right file later; ie. a series of tests to find good print/design parameters. In that case, the pre-print-comments would be useful history content as well.

That wouldn't be a complete queue feature, but already very usable and universal. Prints could be started from the Octoprint file list as usual.

I'd love to contribute the code myself, but I'm hopeless combining the functions of two existing arduino sketches already..

@OllisGit
Copy link
Owner

Suggestion: As a first step I will look how much effort it takes to create a "file add" listener to create a history entry.
This feature could be enabled/disabled (default: disabled).
Next step is to create the "reprint" feature out of the edit-dialog.

@OllisGit
Copy link
Owner

fyi: the add feature is implemented and the "reprint-feature" is scheduled in the project board (long-term):

https://github.com/OllisGit/OctoPrint-PrintJobHistory/projects/1#card-45793778

@OllisGit OllisGit added type: enhancement New feature or request and removed status: analysing labels Apr 11, 2021
@OllisGit OllisGit added the status: inNextRelease Will be implemented/fixed in next release label May 24, 2021
OllisGit added a commit that referenced this issue May 24, 2021
- E #21, #59, #94, #124 reprint feature, if gcode is still available in local file-system
- E disabling of filemanttracking is now possible
- E grab all informations from SpoolManager-Plugin 1.4+
- E reduce plugin zip-size

- B #146, #139 CSV Import fix and ignoring empty lines
- B #123 strip M117 camera-expression
@OllisGit OllisGit removed the status: inNextRelease Will be implemented/fixed in next release label Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants