Skip to content

Save as User preset does not save full preset file/json #1207

Open

Description

@Hakun1n

Is there an existing issue for this problem?

  • I have searched the existing issues

Snapmaker_Orca Version

2.4.1

Operating System (OS)

Windows

OS Version

Win10 Pro

Additional system information

No response

Printer

Snapmaker U1

How to reproduce

  • Open 3mf file which also contains Project-inside preset
  • Do some adjustments and then save the project as another 3MF (See the attached project as an example)
  • Open the new project again and save the process preset as "User preset"
  • Process preset file (json) gets created under AppData but it is NOT a full profile but just a partial preset referencing the Project-inside preset from the original 3MF file (not the copy)

Actual results

The json contains only few lines referencing the "parent" preset. The issue is that when new project is created, the saved (partial) profile can not be used since the "parent" file does not exist (as it is embedded in another 3MF and not present under AppData)
Panchroma PLA (0.24) - TEST.json

{
    "brim_type": "no_brim",
    "enable_prime_tower": "0",
    "from": "User",
    "inherits": "0.24mm Standard figet star (converted)(10+STAR+FIDGET+TOY-U1.3mf)",
    "name": "Panchroma PLA (0.24) - TEST",
    "print_settings_id": "Panchroma PLA (0.24) - TEST",
    "version": "0.0.0.0"
}

Expected results

When saving new User preset where the source was "Project-inside preset" then automatically store a FULL preset (without the Inherits: ...)

Alternatively: Add a way to create a full user preset instead of inheriting other presets.

Project file & Debug log uploads

Star_Fidget_large-PLA.zip

Checklist of files to include

  • Log file
  • Project file

Anything else?

image image

Activity

  1. added
    bug
    on Nov 14, 2026
  2. alandebortolo commented on Nov 14, 2026

    @alandebortolo

    I could reproduce the cause from your attached project, and there is a way to get a full preset out of it today.

    What happens: the saved file keeps only the changed keys plus "inherits": "0.24mm Standard figet star (converted)(10+STAR+FIDGET+TOY-U1.3mf)". That parent is a Project-inside preset, so it exists only inside the .3mf (Metadata/process_settings_1.config, 335 keys). In any other project the slicer cannot find it and skips your preset: PresetBundle::import_json_presets in 2.4.1 logs "can not find inherit preset for user preset ..., just skip". The same function accepts a preset with an empty inherits as a root preset, so a full file does load.

    Until the slicer writes the full preset itself, this small script does it from the .3mf (Python 3, no dependencies):

    https://github.com/DesignMaster-Solutions/u1-fixpack/blob/main/tools/flatten_preset.py

    python flatten_preset.py Star_Fidget_large-PLA.3mf "Panchroma PLA (0.24) - TEST.json"
    

    It reads the parent chain from the project, writes one JSON with every key and no parent, and then you bring it in with File > Import > Import Configs. With your two files it wrote 335 keys: layer height 0.24, 10% infill and 1 wall from the parent, no brim and no prime tower from your preset.

    One more thing it fixes on the way: the parent in your project still lists compatible_printers as four Bambu Lab printers (it was converted from a Bambu profile). A standalone preset with that list would be hidden on the U1, so the script sets it to the project's printer, "Snapmaker U1 (0.4 nozzle)".

    What I checked and what I did not: I sliced with the resulting file on the 2.4.1 command line (macOS) and the G-code header shows the values above. I did not run the import dialog itself, and nothing on Windows. If the import refuses the file on your side, tell me what it says and I will look at it.

  3. Hakun1n commented on Nov 17, 2026

    @Hakun1n
    Author

    @alandebortolo Hi, thanks for superfast feedback. I tried the python script but it is throwing error even though the the files are correct

    image image

    Here is the ZIP with the profile, converted 3mf and the original 3MF (before conversion)

    FixPreset1.zip

    By the way there is another catch when the preset was created from standard SnOrca preset. I have one which contains this:
    "inherits": "0.20mm Standard @Snapmaker U1 (0.4 nozzle)",

    But this is a "System" preset (AppData\Roaming\Snapmaker_Orca\system\Snapmaker\process) , not sure if that one is even stored in the 3MF ?

    Regarding the compatible_printers ... nice catch, I'll raise Issue for the U1convert , thanks

  4. alandebortolo commented on Nov 17, 2026

    @alandebortolo

    Thanks for the files, they showed the gap. My script only looked for Metadata/process_settings_N.config, which is what Snapmaker Orca 2.4.1 writes when it saves a project. Your 10+STAR+FIDGET+TOY-U1.3mf came out of the converter and has only the merged Metadata/project_settings.config (556 keys, process, filament and printer together), so the parent was "not inside" as far as the script could tell.

    The slicer handles that case by cutting the process keys out of project_settings.config and showing the result as <print_settings_id>(<file name>), which is the name in your screenshot. The script now does the same. Please download it again, same link, same command:

    https://github.com/DesignMaster-Solutions/u1-fixpack/blob/main/tools/flatten_preset.py

    python flatten_preset.py "10+STAR+FIDGET+TOY-U1.3mf" "Panchroma PLA (0.24) - TEST.json"
    

    With the two files from your ZIP it writes 316 keys with no parent: layer height 0.24, 10% infill and 1 wall from the project, no brim and no prime tower from your preset, compatible_printers set to "Snapmaker U1 (0.4 nozzle)". It also works if the .3mf was renamed after you saved the preset, since the parent name carries the old file name.

    About the preset with "inherits": "0.20mm Standard @Snapmaker U1 (0.4 nozzle)": that one needs nothing. You are right that a system preset is not stored in the .3mf, but it ships with the slicer, so the parent is found in every project and on every machine with Snapmaker Orca installed. Only a parent that lives inside a project breaks. If you run the script on such a file it now says so instead of the old message.

    What I checked and what I did not: I ran the script on your two files on macOS and read the output, and the repo has a test for this project layout. This time I did not slice with the result, and I still have not run the import dialog or anything on Windows. The 316 keys are the ones your project carries; a setting it does not carry takes the slicer default on import (that is what import_json_presets does for a preset with no parent).

  5. Hakun1n commented on Nov 17, 2026

    @Hakun1n
    Author

    Ha, the updated one worked, thanks!

    About the preset with "inherits": "0.20mm Standard @Snapmaker U1 (0.4 nozzle)": that one needs nothing. You are right that a system preset is not stored in the .3mf, but it ships with the slicer, so the parent is found in every project and on every machine with Snapmaker Orca installed. Only a parent that lives inside a project breaks. If you run the script on such a file it now says so instead of the old message.

    Yea you're right, unless Snapmaker does a change in the system profile(s) and/or rename/replace it, then suddenly things will (silently) break apart. But I guess I can just take a copy of the profile and replace whatever is in the custom preset and merge things together + import again.

    Anyway, thanks again for quick solution. Now i just need to fix the other mess.

  6. alandebortolo commented on Nov 17, 2026

    @alandebortolo

    Glad it worked. On the system preset case, you are right that a rename or a change on Snapmaker's side would break it without a word, so I added the merge you describe to the same script:

    python flatten_preset.py --system "%AppData%\Snapmaker_Orca\system\Snapmaker\process" "My preset.json"
    

    It reads the parent chain from the slicer's own folder and writes one file with every key and no parent, so the preset keeps the values it has today whatever happens to the system profile later. Import it the same way (File > Import > Import Configs).

    What I checked: with the four files of the 0.20mm Standard @Snapmaker U1 (0.4 nozzle) chain taken from the v2.4.1 tag it writes 138 keys, keeps the override from the saved preset and drops the system preset's setting_id. The repo has a test for it. I did not run it on Windows or against a real AppData folder, and I did not slice with the result.

    The trade-off is the usual one: a frozen copy also stops receiving the fixes Snapmaker makes to that profile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions