supermerill / SuperSlicer

G-code generator for 3D printers (Prusa, Voron, Creality, etc.)
4.04k stars 514 forks source link

Missing recent printer profiles? 2.5.59.7 #4128

Open TLMcNulty opened 4 months ago

TLMcNulty commented 4 months ago

Bug description As I understand it the Prusa Mk4 should have a profile available in the wizard automatically? I can't find this profile, and exporting one from prusaslicer is not importing what I would expect. I've set the application to update profiles automatically, and tried to import/export multiple times, but selecting the imported profile wipes the material and quality settings, and gives me dubious print time estimates. Selecting filament to be added to the dropdowns doesn't populate the fields.

Expected behavior Select Mk4 in profile wizard, slice with filament and quality dropdown settings as normal.

!!>> Project File <<!! Califlower v29-bug-proj.zip

To Reproduce Steps to reproduce the behavior:

  1. Open the configuration wizard
  2. Select Prusa FFF OR
  3. Import exported prusa config
  4. Attempt to change quality settings

Screenshots image Untitled image

Desktop (please complete the following information):

Additional context This has got to be user error, but I can't find docs to help me solve, or other relevant issues.

neophyl commented 4 months ago

Importing a Printer profile (such as importing the MK4 from PS) ONLY imports that single profile. It wont import the associated print and filament profiles. Unless all of those have been put into a specific Config Bundle. A config bundle can contain several profiles of all the 3 types.

As to if the MK4 should be in the config wizard at this point, that's a question for Merill. Of course once it is added to the wizard properly then all the associated print and filament profiles should also be added with it.

TLMcNulty commented 4 months ago

Thanks, filament and quality do come in with an exported config bundle, but the printer preset gets set to my first user preset and doesn't seem to pull in the printer name.

Also this message comes up but I don't think that's much of a problem image

supermerill commented 4 months ago

It's not much of a problem. For the mk4, as prusa doesn't have a profile for the 2.5 but for newer version, I was thinking to adding it with the 2.7 merge.

If you want, you can try to add it yourself: . replace the prusa.ini & prusa.idx & the prusa directory in resources/profiles by the one that comes with prusaslicer . edit the translate_from_prusa.py to put prusa.ini as the filename_in and filename_out . run the script with python translate_from_prusa (you need python installed) . then open SuperSlicer, it should ask you if you want to upgrade But the script only goes over the big stuff. It may still not work, or at least optimally.

TLMcNulty commented 4 months ago

The prusa.ini/idx files you mentioned are actually PrusaResearch.ini/idx, so I stepped along your instructions and changed them to keep the full PrusaResearch filename.

I ran the script and started the app twice, once without changing filename_out to add _out to the end of the translated file, and once with in case that mattered. Either way the application never produced any prompts and the profiles are unchanged. I tried to manually import the files with the config importer in the app, but there are a number of duplicate keys in the translated file. I replaced a few here and there but didn't want to keep going line by line. I could strip them programmatically but I think it might be best to simply wait for your 2.7 merge. My python version is 3.11.3 if that matters. image

image

I did get the config importer to import one of the files in what looks like a nonstandard way? I'm not entirely sure what I did, but I'll keep poking at it. Your comment has been very helpful in elucidating the profile file structure.

Thank you for your reply and your tireless work in support of this project and app. If I was more familiar with it I'd contribute; I'll keep my eyes up and see if I can help where I can.

supermerill commented 4 months ago

Ah yes, it can duplicate some keys. I forgot.