Notifications
Clear all

Switch inherited profile  

  RSS
freiser
(@freiser)
Active Member
Switch inherited profile

Hello,

I use the MK3S with 0.4mm and 0.6mm nozzle. When I build a custom printing profile for the 0.4mm nozzle, I would often like to migrate it to the 0.6mm nozzle. The customized properties should be migrated, the default ones set to the default for the 0.6mm nozzle.

I wish there was something like a possibility to switch the inherits property to some other profile, like "0.30mm@MK3" to "0.30mm [email protected] MK3"

Greetings

Opublikowany : 24/04/2021 9:26 am
Neophyl
(@neophyl)
Illustrious Member
RE: Switch inherited profile

Its easy to manually do it.  Start Prusa Slicer and go to Help>Show Configuration folder.  That will open the location where all your custom saved profiles are stored.  They are just text based .ini files so can be opened in any text editor.  So for example if you already have one called "My settings for 0.4mm nozzle" that is the one you want to base a new one on for a 0.6mm nozzle then open it up. 
Look for the Inherits line in there "inherits = " and then change the name of the file its inheriting from.  You will need to put the new name in exactly so you will need to check what its called in the PrusaResearch.ini file. 

The save the updated profile with a new suitable name "My settings for 0.6mm nozzle" for example.  Now restart Prusa Slicer and your new profile should be available.  

The only gotchas you need to check for in the files are the compatible printers/filaments/  conditions in both the inherited profiles and your saved custom one as that can make them not show if there is a mismatch.  

Opublikowany : 24/04/2021 10:23 am
freiser
(@freiser)
Active Member
Topic starter answered:
RE: Switch inherited profile

Hello @neophyl,

I know that I can do it manually. As I can do with basically every setting. But it would be much more convenient and error safe, if there would be a drop-down for the inherits field or some other selection possibility.

 

Opublikowany : 24/04/2021 10:28 am
Neophyl
(@neophyl)
Illustrious Member
RE: Switch inherited profile

If its a feature request then you need to use github,  https://github.com/prusa3d/PrusaSlicer/issues as this is a user to user forum.  Requests on github get a tracked number and at least stand a chance of making it onto a roadmap to be potentially implemented at some point.  

I know similar requests have been made though ever since they changed to the new inherited method.  I guess the 1600+ other issues kind of get in the way though.

Opublikowany : 24/04/2021 10:46 am
bobstro
(@bobstro)
Illustrious Member
RE: Switch inherited profile
Posted by: @freiser

I know that I can do it manually. As I can do with basically every setting. But it would be much more convenient and error safe, if there would be a drop-down for the inherits field or some other selection possibility.

Unfortunately, we're stuck with doing it manually for now. Changing the current mode seems to be more complicated than just adding a drop box. In my testing, I've noticed the following:

  • You can only inherit from presets defined in the same file that you are importing. You cannot inherit from system or other pre-installed presets.
  • Preset inheritance is only applied when importing. If you change the baseline preset, the changes do not automatically ripple down into presets that inherit from it. A preset inherits only once at import.
  • On import, all presets are fully expanded. All of the settings that are inherited are applied, any changes for the child preset applied, and the "inherited" feature is removed. If you export a config or config bundle, all presets will have all settings expanded and no "inherited" lines.

I've put together a bunch of related notes starting here that you might find helpful. My take is that this would not be a trivial update to PrusaSlicer, although submitting a feature request is definitely a good idea. I've found that the key is to judiciously only use your custom config bundle for updates and keep it up to date. I keep my printer definitions here.

My notes and disclaimers on 3D printing

and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan

Opublikowany : 24/04/2021 6:39 pm
Share: