OctoPrint-FilamentManager icon indicating copy to clipboard operation
OctoPrint-FilamentManager copied to clipboard

G Code Filament Selection

Open demitrix opened this issue 3 years ago • 5 comments

PrusaSlicer allows for custom start G-code per filament. Using this filament manager could automatically select the correct spool. This would be useful for print jobs started from outside OctoPrint when changing filaments.

demitrix avatar Jun 20 '21 00:06 demitrix

Hi, I like this idea.

You could add some program lines to search some like: ;FILAMENT_MANAGER: {filament_settings_id[0]}

In my case, this line generate something like: ;FILAMENT_MANAGER: Warhorse-Black-PETG@Asun3Pro

Where @Asun3Pro is the name of the printer. This is the way i identify which filament belongs to each printer, but could be replaced with some other pattern that your could ignore and only take into account of "Warhorse-Black-PETG"

Thank you so much in advance.

ldiegos avatar Jul 24 '21 06:07 ldiegos

This feature is already tracked in the SpoolManager-Backlog (https://github.com/OllisGit/OctoPrint-SpoolManager/projects/1) ... unfortunately for you, this is tracked in the column "mid-term". So it will take a while to complete.

OllisGit avatar Oct 17 '21 09:10 OllisGit

Adding here my use case: Improve my change filament macro (using Klipper but that shouldn't be relevant) so that when I run it, it tells the Spool Manager to set that no filament has been selected.

Another cool thing would be to use the camera (frequently connected to OctoPrint) so scan the QR code and set the new spool (if any). This could easily also be linked to an RFID reader calling the that QR code URL.

wernight avatar Dec 16 '21 17:12 wernight

fyi: @wernight "scanning" spools is also already tracked: https://github.com/OllisGit/OctoPrint-SpoolManager/projects/1#card-27695769

OllisGit avatar Jan 12 '22 21:01 OllisGit

So, I came here because I found issue#110, which is what I wanted to track. Looking at the GCODE generated by Prusa Slicer, I have the following lines.

;COLOR_CHANGE,T0,#E8AA2A
M600

So it seems like Prusa already injects the color I have selected in the UI, even though it doesn't necessarily matches the color code of the filament. Maybe that helps?

Also: I tried looking at the project list under the "mid-term" column and could not find this request. So where is it being tracked?

badnetmask avatar Apr 15 '24 20:04 badnetmask