Cura-CustomJobPrefix
Cura-CustomJobPrefix copied to clipboard
Leading space in postfix gets removed after project open
Hey there,
I've recently found that if I insert a space before the postfix pattern, that space gets removed (both from the project name, and the extension's settings) when a new project is opened (i.e. via opening a .3mf and picking the 'Open as Project" option.
My extension configuration is: Prefix: (none) Postfix: " {printer_type}" (ignore the quotes, they're just so you can see the space I put in) Path: (none)
Enable prefix and postfix - Yes Add '_' between jobname parts - No Sanitise jobname parts - No
Any help with or resolution of this issue would be much appreciated!
Greetings everyone, I also checked this problem, both the prefix and postfix have problems with spaces at the beginning and end, it works perfectly before reloading Cura, I believe that the way of saving and loading the string is ignoring either a "Trim" in the spaces.