#If Statement based on type of filament loaded via spoolman

5 messages · Page 1 of 1 (latest)

astral jasper
#

I would like to set up an if statement in my start g code based on filament loaded. Basically I want to do a purge line if I have TPU loaded, and use my blobifier if anything else is loaded. Anyone know how to do this? Some cursory google searches didn't seem to have any good answers

tulip roost
#

Hi! I'd achieve that in another way. The filament profile, in the slicer, provides space for custom G-code. I'd add the routine you mention into that section, after the PRINT_START macro call. I'm using SuperSlicer, but I guess all slicers allow custom g-code per filament profile. Would that something like this work for you?

dull cloak
astral jasper