-
Notifications
You must be signed in to change notification settings - Fork 9
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
Feature request: replace symbols #13
Comments
Hello I'm not familiar with espwebdav and webdav so I will have to do some research on its filename limitations. Are you using espwebdav with a Wifi SD card? What GFF format are you using? Can you give me an example of the filename that Cura and GFF are producing from your sliced objects? |
Hello @thghca do you still have this issue? Or did you find another solution? |
Hi. I had troubles with non ASCII (russian letters), some special characters like %&<>#$... and whitespaces. Well Issue mostly resolved but some simple replace functionality will be good. (filter out problematic chars, replace whitespaces with underscore...) Heh. Printer can't display russian characters. =( |
Can you give me an example filename format you are attempting to use so I can test?
GFF does support whitespace, which makes me think this is more so a character encoding issue. I can easily add support for additional characters like &, #. FYI this is the current regex used in GFF for determining acceptable filenames. The characters after \ "-%°$£€" are accepted and should be included in the filename.
If the characters listed above aren't working for you then I need to see an example of how you're using them to see if they are being filtered out by the regex.
It doesn't make sense to implement character replacement in GFF if the 3D printer can't support them anyways. So I think its better to cleanup the filename before it gets to Cura and GFF. Can I help you implement filename sanitization on your server or ESpWebDAV? Also, if you're interested, I recently released a newer version of the plugin called GcodeFilenameFormatPlus that supports multi-extruder printers and the OctoPrint server. |
Hi. I'm using espwebdav for file upload and it buggy with non ascii and some other chars. Marlin may not like them too. Renaming every time annoying.
Would it possible to implement simple character replace table? And length limiting will be nice too.
The text was updated successfully, but these errors were encountered: