-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Export as gcode actually exports bgcode #11498
Comments
The format of the file is set according to the checkbox in |
Thanks for the info. This is definitely confusing for Mac users, since the file-save dialog has been specifically used to set the "save as" file format since as far as I can remember (system 6 over 30 years ago). I would expect that the settings only affect the default value, but that by selecting the file format of |
If you took a page from image and document editors, the format chosen for save should be the deciding element. So if gcode is selected, save in ASCII. If bgcode is selected, save in binary. Perhaps the printer has a setting if it supports binary gcode and if it does, the bgcode option is available. But if it isn't, then bgcode isn't available. |
Saving ASCII gcode as bgcode or vice versa is reported as an error in 2.7.0-beta1. |
If you don't do things the correct way and put the save-as dialog up before generating the export, it would be nice if the dialog box didn't give the user the illusion of choice at all, and hard-coded the appropriate extension. However, I suppose throwing an error if they specify an incompatible type/extension (hopefully explaining where to go to make the change) is better than the old behavior. |
I have to agree with @ex-nerd . An error message works... but given the illusion of choice is not really useful. I have not looked into how PrusaSlicer is doing it, but I know from libbgcode, you still need to pass in an ASCII gcode to the So unless the concern is disk space being taken up by tmp files and/or some extra processing power when Generating Gcode, it is entirely possible to write both an ascii tmp file and a bgcode tmp file at the same time, with just:
and then when the file save dialog returns, to check the save filetype and copy the appropriate one. |
This GUI is just very very bad. |
Description of the bug
PrusaSlicer 2.7.0-alpha1: When I click the
Export G-code
button, and then explicitly select*.gcode
from the menu as the file type, the file exported file is still in the newbgcode
format. The opposite is true if I change the printer from my Prusa XL to my older DuetWifi printer (it always exportsgcode
even if I explicitly requestbgcode
).Project file & How to reproduce
This happens with any project file I've tested.
Export G-code
button*.gcode
as the export file format, and save the file*.gcode
file suffix*.bgcode
as the export file format, and save the file*.bgcode
file suffixChecklist of files included above
Version of PrusaSlicer
2.7.0-alpha1
Operating system
MacOS 14.0, ARM (M2 Pro)
Printer model
Prusa XL (latest beta firmware)
The text was updated successfully, but these errors were encountered: