@dc42 said in Add Drive/Extruder Parameter to M207:
It sounds like per-tool is the way to go, but this feature still needs to be specified. Assuming that I add an additional parameter to specify the tool number:
Should a M207 command that doesn't specify a tool number affect only the current tool? Or all tools? Or something else?
If no parameter is given it should be the global default but not overwrite any tools that were explicitly configured. This way M207 can be in config.g without a tool parameter to give a good starting point for all tools or just to set them for single extrusion setups or users who do not have independent settings for materials. Then, the beginning of a gcode file would include the more specific configuration depending on what is set in the slicer custom gcode. This would also allow for the current behavior to be mimicked if no tool numbers are ever specified.
If a second print is run without resetting the firmware, then the second file would contain the specific M207 tool configs for that print and update them as needed.
When a new tool is created, what M207 parameters (if any) should it inherit?
I think it should inherit the global default since this is how the current implementation would behave.
I don't want to break the current behavior as it is working well for me now and I know for other people. I just want to add the possibility of having it be configured per tool to allow me to expand into other slicers while still reducing the amount of manual configuration I have to do for each print/material.