Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leading space in postfix gets removed after project open #26

Open
hijomojo opened this issue Jul 10, 2021 · 1 comment
Open

Leading space in postfix gets removed after project open #26

hijomojo opened this issue Jul 10, 2021 · 1 comment

Comments

@hijomojo
Copy link

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!

@RoCkHeLuCk
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants