Can this be done...
-
Hi,
Is there anyway to execute, using M98, the filament specific config.g for the currently selected filament?
Thanks.
Frederick
-
@fcwilt
I assume you can't use M703 because you're doing something inside a load/unload file?You can access the currently loaded filament using
move.extruders[state.currentTool].filament
So your M98 could look something like this.
var myFilament = move.extruders[state.currentTool].filament M98 P{"0:\filaments\" ^ var.myFilament ^ "\config.g"}
You would of course have to do checks and react if there is no loaded filament.
-