How to inherit print settings profile from own custom profile
Hi!
I'm trying to create two profiles:
- A 0.2mm layer height profile that inherits from a profile that comes with prusaslicer. It is currently called "0.20mm NORMAL @CREALITY - Copy".
- A 0.2mm layer height profile that inherits from "0.20mm NORMAL @CREALITY - Copy". This should have the same settings as it (and be updated automatically), but with faster print speeds. The purpose is for prints that I don't care much about quality and just want a rough output as fast as possible. I call it "0.20mm NORMAL @CREALITY - Copy FAST".
The first profile was created by simple "save profile" and choosing a different name. It works well.
I created the second profile based off the first one in the same way. Then, I stripped out all the non-differing settings and changed the "inherits = " parameter to match the first profile. I did this because I found some information here: https://github.com/prusa3d/PrusaSlicer/issues/3566
Which says: "Would it be advisable to strip out everything from a profile that doesn't differ from the inherited profiles?" -- "yes".
However, it doesn't seem to work as I expected: Settings from the first profile are not applied to the second profile at all.
Any ideas where I might be wrong? Or does inheritance not work in that way at all for PrusaSlicer?
One thing I've noticed is that the first profile also seems to contain a complete copy of all settings. So maybe removing the non-differing settings does not work as I've understood from the GitHub issue linked above.
I am on 2.3.0 RC1, Windows 64-bit version. I have attached the two profile files in question.
Edit: Seems I'm not yet allowed to add attachments. I've uploaded the two profiles to google drive instead:
- https://drive.google.com/file/d/1ctwJgh6luRtnthPTqNq2vu4vRUAQmN5u/view?usp=sharing
- https://drive.google.com/file/d/1egh2S4MjGmV6yTEnBEjOChWvK3TEICWS/view?usp=sharing
RE: How to inherit print settings profile from own custom profile
I've got sample print profiles making heavy use of dependencies here that might be useful as a starting point.
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
RE: How to inherit print settings profile from own custom profile
I'm starting a 2nd post to dodge the short edit timeout. I see what's wrong in your files. You have saved them as configs. These contain printer, print, and filament settings in one file. Think of it as a snapshot of all of your current settings. What you need to use inheritance is a config bundle. This saves copies of all of your current profiles in one file. Think of it as a backup of all of your available settings profiles. The distinction is that each printer, print, and filament profile in a bundle starts with a header identifying the type and name. For example, here's one of my printer profiles:
[print:*MK3 Baseline (RLG 20200508)*]
inherits = *MK3 Baseline (RLG 20200508)*
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
RE: How to inherit print settings profile from own custom profile
[...] Edit: Seems I'm not yet allowed to add attachments.
For most file types, zip them up and attach the zip archive to a post or reply.
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
RE: How to inherit print settings profile from own custom profile
Thanks! I'll try your suggestion sometime soon. Unfortunately, I wasn't able to find a whole lot of info about this in the docs. I guess it's not a publicly supported feature (yet).
RE: How to inherit print settings profile from own custom profile
If the profile name is surrounded by asterisks (*), it will be hidden in the display lists. This is a good way to set up baseline configs.
Any way to find (and remove) a baseline printer profile imported from config bundle, with asterisks surrounding the name, not longer needed / that needs edits?
Thanks in advance!
RE: How to inherit print settings profile from own custom profile
Any way to find (and remove) a baseline printer profile imported from config bundle, with asterisks surrounding the name, not longer needed / that needs edits?
I'm not sure I'm following what you're trying to do here. Any profile surrounded by asterisks will be invisible to the user. It contains values that can be inherited by other profiles in the same config bundle file. If you remove a baseline profile, you have to copy the desired settings over to every other profile that needs them, so it's a lot more work to maintain. Yes, you can do it, but I certainly wouldn't.
If you import a config bundle, then export a config bundle, the exported bundle will only contain the fully-expanded profiles with all the redundant settings, so that would create what you're asking for. You could then edit down that config bundle file if you only want a few of the config profiles to share, for example.
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
RE: How to inherit print settings profile from own custom profile
I'm not sure I'm following what you're trying to do here. Any profile surrounded by asterisks will be invisible to the user. It contains values that can be inherited by other profiles in the same config bundle file. If you remove a baseline profile, you have to copy the desired settings over to every other profile that needs them, so it's a lot more work to maintain. Yes, you can do it, but I certainly wouldn't.
I would like to remove an imported "baseline" profile surrounded by asterisks (actually, alongside the derived profiles), to re-import them all, but with the baseline not hidden, so I can change one or two global parameters like when I'll switch to direct drive or similar.
Probably I could do so even without deleting anything, I would just like to keep the thing clean and organized...
RE: How to inherit print settings profile from own custom profile
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
RE: How to inherit print settings profile from own custom profile
Posted by: @bobstro
If you change the baseline profile after importing, none of the changes propagate to the other profiles. I wish they did!
This means you really have to maintain your config bundle by hand with an editor.
God.
Damn.
It.
Thanks for the info, time to issue a second FR on GH then 😆
RE: How to inherit print settings profile from own custom profile
@bobstro, is there any chance you and I could chat more about profiles? Telegram, Google Meet or something. I'm trying to wrap my head around the inheritance stuff, but it is quite confusing to me.
RE: How to inherit print settings profile from own custom profile
@bobstro, is there any chance you and I could chat more about profiles? Telegram, Google Meet or something. I'm trying to wrap my head around the inheritance stuff, but it is quite confusing to me.
Happy to talk, Sean. I'll PM you separately for details.
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