Where are the default settings stored for Objects?

I want to be able to change certain settings as a default. However, some of these settings are elusive and they reset back to defaults. I’m hoping the answer isn’t “It’s baked into the code”. What I was looking for is a JSON file that I can edit. Here are just examples, The order of inner wall settings under Object/Quality and under the same tab, Ironing type.

2 Likes

In Windows, I think the defaults are in "C:\Users\%username%\AppData\Roaming\BambuStudio\system\BBL\process"

From the dates there, I think these are overwritten with every update.

Process files created by the user are at "C:\Users\%username%\AppData\Roaming\BambuStudio\user\process"

I’ve changed process settings (and filament settings) and as long as I save with a new name, none has ever changed back to the defaults. I have not found a need to edit the .json files directly.

Tweaks to my preferred settings used just for a particular print are preserved in the .3mf file.

Dude!!! You were so spot-on. That is exactly what I was looking for. Once I looked in the directory I grepped the terms I was looking for and low and behold, there is a file called “fdm_process_bbl_common.json” hidden in plain sight in the BambuStudio\sysytem\BBL\Process directory. Within that one file lies all the defaults that one would want.

I’ll document it here for others to find but one oddity I found was that the parameter names do not match up exactly with what one sees on the screen. Perhaps this is the language translation imperfectly at work. Here’s an example of what I found.

As found on the screen. Note “inner/outer/infill” in lower case.
image

However in the JSON file it is spelled very differently . Note “inner wall/outer wall/infill” With a little experimentation, I figured out that one could simply follow that form so for default “outer/inner/infill” I had to spell it “outer wall/inner wall/infill”. It’s different enough to trip someone up.

Also, compliments of the use of %username% environmental variables in naming the directories on-screen. Nicely done. Call it a pet peeve but I always find it annoying when I see nomenclature like [Your User] name in technical articles written by supposed “experts”. Real Windows power users know when to use the environmental variables so one can simply copy and paste what they read on the screen into the run command or explorer address bar. :clap::+1:

Remember that not all of us are on Windows so the “power users” have to make sure that their instructions (and code) are cross platform… %username% does nothing on Mac or Linux

1 Like

Indeed, the utilization of Windows environmental variables in diverse contexts lacks inherent context, rendering the references ostensibly irrelevant to even the most casual observer. Moreover, should individuals lack comprehension of the distinctions between the disparate folder structures across environments, the aforementioned references would inevitably elude their comprehension. This scenario parallels providing an explanation in Greek to an individual wholly unversed in the art of reading or writing in said language, thereby presenting an insurmountable barrier to understanding.

Or you could simply say that it would be piss poor planning and as such not to be done.

I cannot very well provide an answer to the original question that is correct for Mac or Linux users since I don’t use those operating systems. Which is why the very first thing I said was “In Windows,”

So, would it have been better to ignore the question, or to provide what little knowledge I have, in hopes that it might be useful to the OP? (As it apparently was.)

Even a casual Windows user could cut and paste the locations I provided into File Explorer and reach the correct folder. I also doubt that casual user should or would be directly editing .json files anyway. As I stated, I don’t see a need to do so when Studio makes it so easy to make changes, and saves them for future use. But some people like to dig down into the code…

Instead of complaining that I did not have an answer for all, perhaps you could instead answer the question for your fellow Mac or Linux users?

1 Like

As Ikraus stated, this is not the correct way to modify “default” settings as they will get overwritten every time you install a new version of Bambu Studio. It is much better to make all the changes you want/need to a default profile and then save it as a custom user profile for use on other projects. Just click the little disk icon and enter any name you want for that setup. You can do this for Printer Settings, Filament and Process but not for build plates for some reason.

2 Likes

My comment was in regards to the other poster’s “power user” and the vendor should do as he thought, not to your response.

azCub76,

As it turns out. That process does not appear to be working well for me. Which is the reason for me attempting brain surgery on the JSON files directly. So I went down a rabbit hole to try to find out why each time I make a change, my changes would not persist between sessions. I finally stumbled upon one item worth discussing here if anyone has any insights.

As it turns out, I completely forgot the little question that pops up “Do you want to sync your personal dat from the Bambu Cloud”.

That only comes up the first time you log in so I long forgot about it. At any rate, I kept a window open with the USER setting folder on another monitor. I had already deleted all the files only to see them magically reappear in what was an empty folder. This was reproducible 100% of the time. After logging out and severing my connection with the internet and then restarting Bambu Studio. The folder remained empty. Once I logged in, it repopulated the settings from the cloud. So the work around was to log log out and then log in and say no to syncing the settings. However, this is annoying since it prompts me each time I start up to initialize Bambu Studio asking for me to go through the setup process. This is more of an annoyance than anything else because I prefer Orca Slicer over Bambu Studio anyway. Although I may end up switching back to Studio based on some of the things I’m seeing in the beta version of Studio 1.7.

This weekend when I have more time I will try to completely uninstall Bambu Studio and reinstall it on another machine just to see if the setting persist. But if anyone has any theories as to why I cannot get settings to persist between sessions, I’d love to hear it. In my experience, they keep switching back to the defaults which is why I stated that I went down this rabbit hole to begin with. I’d love to just have the software work as one would expect it to.

%username% does not work in all contexts, so you still end up explaining because it isn’t as obvious as REPLACE_USERNAME_HERE that it needs to be replaced. And then you get users that leave in the % meaning it still won’t work.

1 Like

nickbits, I’d like to understand under what context %username% does not work. It’s a Windows 10 environmental variable defined by the OS.

I posted a reply but I misread the results and it did work there so I deleted it.
But another example? Offhand I’m not sure. Maybe most areas do work with now but that was not always the case. So it’s matter of when people learned to do things.

A custom user setting is not the same as a default setting.