Solved Filament-type visible in Object Model?
-
I was expecting to find the currently loaded filament in the object model, but fail to find it (perhaps I'm just blind).
If it actually is not present in the object model, then this is a wish for future versions.Background:
I'm running RRF 3.4 and would like to access the currently loaded filament in order to have a startup script which checks that the filament set in the slicer matches the filament loaded in the machine. I realize that this could be achieved by setting some "magical" global variable in each of the filament config.g-files, but this solution feels unnecessarily fragile./Ö
-
-
It's buried in the move section.
move.extruders[<#>].filament
You need to give an extruder number. For the extruder on the current tool:
move.extruders[state.currentTool].filament
If you tool has multiple extruders... I'm not sure
-
@mikeabuilder Thanks!
-