GcodeFilenameFormatPlus
GcodeFilenameFormatPlus copied to clipboard
Feature Request: Lower case filename
First of all, thanks for building this plugin, it was such a pain manually formatting filenames without it.
Would it be possible to lower case the filename? I like to use snake case when naming my files (e.g., bed-level-calibration-abs.gcode
), but the format options like filament are in upper case so it ends up naming the file bed-level-calibration-abs.gcode
.
The syntax could be something like this:
lower([base_name]-[material]) # bed-level-calibration-abs.gcode
Or you could just lower individual tokens:
lower([base_name])-[material] # bed-level-calibration-ABS.gcode
Thanks again for putting together this plugin.
Hi @jonathanfoster. Sorry just saw this issue.
Can you try making this change on line 109 of GcodeFilenameFormatPlus.py:
self._print_information._job_name = file_name.lower()
You can open the Cura configuration folder that contains the GFF+ plugin files by selecting Help -> Show Configuration Folder while Cura is running. You need to restart Cura for the change to take effect.