fieldOfView / Cura-CustomJobPrefix

A Cura plugin that lets the user set a custom print job prefix
GNU Affero General Public License v3.0
24 stars 5 forks source link

How to change _ to something else #8

Closed Ashteroide closed 4 years ago

Ashteroide commented 4 years ago

I want to know how to change _ between the prefix and job name to something smaller like . or , Anyone know how I can do this?

e.g. 1hr38min_Benchy -> 1hr38min.Benchy

fieldOfView commented 4 years ago

This currently can't be done without modifying the plugin. I'll make adding the _ character between the prefix and the name optional. Then you can just enter the . or , at the end of the prefix.

fieldOfView commented 4 years ago

It would help a lot if you could test this development snapshot for me. Download the file and drag it onto the buildplate in Cura as if you were loading a 3d model.

Ashteroide commented 4 years ago

Here is a screenshot, it looks to work pretty good, would I be able to hold onto it for daily testing so if I encounter some bugs I'll contact you? Screen Shot 2020-06-13 at 8 23 16 am

fieldOfView commented 4 years ago

Great, thanks for testing. I see you also found the postfix.

Sure, you can keep using this version, no problem. When I do a new official release, the Marketplace will show it as an update. By the way, there's an update waiting for you ;-)

Ashteroide commented 4 years ago

@fieldOfView Cura didn't show an update and also when I clear the prefix the postfix doesn't show as well and the prefix is set to I3MEGA for me Screen Shot 2020-06-13 at 11 41 02 pm

Edit: I do like that the prefix and postfix is greyed out so you can change just the filename without affecting anything else

fieldOfView commented 4 years ago

Cura didn't show an update

The development snapshot is a preview release that is not available through the Marketplace.

when I clear the prefix the postfix doesn't show as well

Very well spotted. When I read the "when I clear the prefix" part I knew exactly what you were going to say and what I did wrong. I'll get this fixed.

Ashteroide commented 4 years ago

How are you going with the little buggies? I'm glad to be able to test a development version :)

fieldOfView commented 4 years ago

I appreciate the eagerness, but I do sometimes need a couple of hours to enjoy the weekend.

I fixed this oversight here: https://github.com/fieldOfView/Cura-CustomJobPrefix/commit/5dbb9307b1a644d1e63ee34bcddac15380bea927#diff-0c6f39ca214c9a41217164c3111736fbR115

Ashteroide commented 4 years ago

Apologies for my eagerness, I will wait patiently for you

Ashteroide commented 4 years ago

Hey I found another bug, I'll upload a screenshot, the original STL was named Case1;2 which I suspect would be because of the ; but when I save the Gcode it removes the actual name of it and just puts the prefix Screen Shot 2020-06-20 at 2 33 45 pm

fieldOfView commented 4 years ago

Could you open a new issue for that, and include the values you used for the prefix and postfix?