Change preset configuration globally (for all other presets)
 
Notifications
Clear all

[Solved] Change preset configuration globally (for all other presets)  

  RSS
Eccomi
(@eccomi)
Member
Change preset configuration globally (for all other presets)

Hey all,

I am currently wondering if there is a way to apply configuration settings globally.
for example, I changed the setting Output filename format

from;

{input_filename_base}_{layer_height}mm_{printing_filament_types}_{printer_model}_{print_time}.gcode

to;

{input_filename_base}_{layer_height}mm_{printing_filament_types}_{print_time}.gcode

and would like to apply this setting over all profiles without having to go into each one and change it for each manually.
This scenario happens quite often where I adjust a support setting and would like to apply that to all the different layer height profiles
Is there a way?

Best Answer by Neophyl:

Where to start.  There's the whole dependency system/hierarchy 

If your custom profiles are based on any of the system ones (so you changed something and then saved it with a new name) then it will still be linked to the system profile (unless you specifically detach it using the detach button).  For example say you start with a 0.2 Quality profile on the MK3s.  Then you change it to a 0.3 layer height and infill to 30% and save it.  The profile will basically be saving as that system profile but with 2 entries in to define what settings are different from the system profile.  
If Prusa push out an update to the system ones that for example changed the file name output format string then your saved ones would also inherit that change and so output different gcode name.  If they pushed out an update that changed the default infill you wouldn't have that change as your profile has a specific entry for infill.

Its why I detached all of mine ages ago so that I have complete control over what's in them and upstream changes cant replace a setting.  So depending on how you have done it custom profiles might not stay completely custom.

 

On to modifiers.  One not so common technique for these is to make use of the 3mf project system capabilities.  A 3mf project saved from PS stores everything.  So the combination of print, filament and printer profiles in current use, any objects, modifiers etc.  Its basically a snapshot of your work environment.  As you can save as many projects as you want it means you can save as many working environments as you like.
Most Modifiers (but not all) can be copied between one object and another.  You can make use of that fact by creating library objects.  You just add a simple cube, make it non printable and drop it off to one side.  The you can save the modifiers to the object.  Each object can have multiple modifiers of course.  These non printable objects can be used as a library of common modifiers that you use later.  Save the project.

What you end up with is a saved project with several small non  printable objects with your settings attached to them.  You can then open this 'default' project and then load your thing to be sliced.  Then just copy and paste the modifiers you want over.  As you can have as many projects as you want you can have as many different defaults as needed.

Personally I have them for different printer and filament combinations.

Don't forget that you can also import profile settings from existing projects too (File>Import>import config from project).  While you don't get the library objects that way it is still useful in that I can just load all the settings in one go from previous work.  As I got into the habit a long time ago of saving almost everything I work on as a 3mf project I now have quite a large assemblage of settings I can import.

Saving everything you slice as a project is a good habit to get into.  It makes it easy to revisit older work and update it.  Remember that it saves everything, so positioning, anything painted, variable layer heights etc.  A 3mf can actually be smaller than the stl file too as its compressed.

Thank you for your time.

Napsal : 26/06/2023 2:44 pm
Neophyl
(@neophyl)
Illustrious Member
RE: Change preset configuration globally (for all other presets)

Beyond hand editing the PRUSA default .ini files and dependency files then not really. Also the next time there’s a configuration update pushed out then it will over write any changes you made if you have that set to auto or you manually say yes when it prompts you. 

Napsal : 26/06/2023 4:28 pm
Eccomi
(@eccomi)
Member
Topic starter answered:
RE: Change preset configuration globally (for all other presets)

Thank you for your answer, it certainly answered part of the question I had, but I suppose I also worded it poorly looking back at it.

I want the default profiles to stay default, but I do have a bunch of custom profiles at different layer heights that pretty much only differ in layer height usually. Thinking about it now, it might be smarter to just have one custom profile and use height range modifiers to adjust layer height so I don't need to change anything else every time I make an adjustment to support or infill. Are you aware of any "best practice" in that regard?

Thank you for your time.

Napsal : 27/06/2023 12:05 pm
Diem
 Diem
(@diem)
Illustrious Member

For that sort of setting save a project and treat it as a pro-forma.

Cheerio,

Napsal : 27/06/2023 1:12 pm
Neophyl
(@neophyl)
Illustrious Member
RE: Change preset configuration globally (for all other presets)

Where to start.  There's the whole dependency system/hierarchy 

If your custom profiles are based on any of the system ones (so you changed something and then saved it with a new name) then it will still be linked to the system profile (unless you specifically detach it using the detach button).  For example say you start with a 0.2 Quality profile on the MK3s.  Then you change it to a 0.3 layer height and infill to 30% and save it.  The profile will basically be saving as that system profile but with 2 entries in to define what settings are different from the system profile.  
If Prusa push out an update to the system ones that for example changed the file name output format string then your saved ones would also inherit that change and so output different gcode name.  If they pushed out an update that changed the default infill you wouldn't have that change as your profile has a specific entry for infill.

Its why I detached all of mine ages ago so that I have complete control over what's in them and upstream changes cant replace a setting.  So depending on how you have done it custom profiles might not stay completely custom.

 

On to modifiers.  One not so common technique for these is to make use of the 3mf project system capabilities.  A 3mf project saved from PS stores everything.  So the combination of print, filament and printer profiles in current use, any objects, modifiers etc.  Its basically a snapshot of your work environment.  As you can save as many projects as you want it means you can save as many working environments as you like.
Most Modifiers (but not all) can be copied between one object and another.  You can make use of that fact by creating library objects.  You just add a simple cube, make it non printable and drop it off to one side.  The you can save the modifiers to the object.  Each object can have multiple modifiers of course.  These non printable objects can be used as a library of common modifiers that you use later.  Save the project.

What you end up with is a saved project with several small non  printable objects with your settings attached to them.  You can then open this 'default' project and then load your thing to be sliced.  Then just copy and paste the modifiers you want over.  As you can have as many projects as you want you can have as many different defaults as needed.

Personally I have them for different printer and filament combinations.

Don't forget that you can also import profile settings from existing projects too (File>Import>import config from project).  While you don't get the library objects that way it is still useful in that I can just load all the settings in one go from previous work.  As I got into the habit a long time ago of saving almost everything I work on as a 3mf project I now have quite a large assemblage of settings I can import.

Saving everything you slice as a project is a good habit to get into.  It makes it easy to revisit older work and update it.  Remember that it saves everything, so positioning, anything painted, variable layer heights etc.  A 3mf can actually be smaller than the stl file too as its compressed.

Napsal : 27/06/2023 1:19 pm
Share: