Commit Graph

30 Commits

Author SHA1 Message Date
6d7eeb89dc profiles: deterministic setting_id from vendor/type/name (#14432)
* profiles: enforce globally-unique, per-vendor-namespaced setting_id

Many non-Bambu vendors copied Bambu's generic setting_ids (GFSA04 alone
appeared in 1557 files), so setting_id was not globally unique. This
namespaces every vendor's ids and reserves Bambu/OrcaFilamentLibrary space.

- Reserve "G*" (Bambu) and "O*" (OrcaFilamentLibrary) id spaces.
- Assign each other vendor a 2-char prefix (first+last letter, collision
  resolved) and renumber every instantiated preset to <PREFIX><NNNN>.
- Strip setting_id from base profiles (instantiation:false) per Bambu's
  convention; assign one to instantiated presets that lacked it.
- Remove the pre-existing misspelled "settings_id" key (91 files).
- filament_id is left untouched (it is a per-material id).
- Add one-time migration script scripts/assign_vendor_setting_ids.py with a
  persisted registry resources/profiles/vendor_prefixes.json. Re-runs freeze
  existing ids; only new vendors/profiles get new ids.
- Bump version in each changed vendor index file.
- Extend scripts/orca_extra_profile_check.py with a CI guard: global
  uniqueness, in-namespace, no base setting_id, no gaps, no settings_id typo.

7425 profile files changed across 61 vendors; 0 cross-vendor collisions;
validator clean; migration idempotent. BBL and OrcaFilamentLibrary id spaces
untouched.

* profiles: add setting_id authoring guide for new vendors / profiles

* profiles: drop in-repo README; setting_id guide now lives in the wiki

* profiles: derive setting_id deterministically from vendor/type/name

* bump profile version
2026-06-28 01:42:16 +08:00
16a992b4d5 bump profile version 2026-05-22 02:27:34 +08:00
16727644bb Reduce size by Json Fromatting (#13163)
Reduce the size of current and new JSONs by standardising them with 1 tab indentation instead of 4 spaces.
This effectively reduces the size by almost 20 MB.

| Current | New |
|---|---|
| 85.2 Mib | 67 Mib |

Used [JQ](https://jqlang.org/) `--tab` to automatically format every current JSON.

> [!NOTE]
> Some profiles had the arrays on the same line, but those created by Orca were in the standard format (each object below the previous one). In some cases, this increases the number of tabs due to the new lines, but the increase is negligible, and this way both the base profiles and those created by Orca maintain the same style.
2026-04-15 22:58:12 +08:00
f4224e9780 tidy up and bump profile version (#12889)
* tidy up and bump profile version

* fix error

* tidy up

* fix

* tide up more

* fix errors

* fix more errors
2026-03-23 01:17:34 +08:00
0f92dec77d update profile version 2026-03-06 11:44:20 +08:00
7cabde6ca6 update profile version 2026-03-01 00:41:54 +08:00
06cee7ffe7 bump profile version to "02.03.02.40" (#12309) 2026-02-15 14:24:36 +08:00
7736b31015 update profile version 2025-09-29 22:57:27 +08:00
4f50fdc94e Fixed many profile issues and cleaned up some messes. (#10686) 2025-09-11 17:50:53 +08:00
e3d55b3c5b update profiles 2025-09-10 23:21:45 +08:00
4ebbadb2a6 update profile version 2025-03-16 22:59:07 +08:00
c17b52ad66 bump profile version to "02.03.00.02" 2025-03-09 15:25:44 +08:00
0965b92895 update profile version 2025-03-01 17:49:00 +08:00
a49460d8d8 bump profile versions 2025-02-20 21:44:39 +08:00
4b46bfcbdf update profile version 2024-10-27 23:11:44 +08:00
04c65b750d bump profile version 2024-09-23 21:29:19 +08:00
a141e4fbf7 bump profile version 2024-09-08 23:12:46 +08:00
e0daca73ab upgrade profiles version to 02.01.01.00 2024-06-26 21:32:45 +08:00
9ee33e30df bump profile version to 02.01.00.01 2024-06-16 21:22:23 +08:00
f13dc1fdcd bump profiles version to 2.1, change most profiles' top_surface_pattern to monotonicline as default pattern 2024-05-22 22:54:56 +08:00
676a190a77 update profile version 2024-03-29 18:37:40 +08:00
f88e3f2c64 bump profile version to 2.0.1 2024-03-23 16:31:13 +08:00
8a1313aa43 bump printer profile version to 2.0 2024-03-11 22:42:32 +08:00
18b52fd780 bump version profile version to "01.09.00.02" 2024-01-06 09:22:44 +08:00
7db0ad3112 bump profile version to 1.9.0 2023-12-24 11:41:55 +08:00
09c77c45da update profile version to 1.08.00.00 2023-11-16 23:02:10 +08:00
e6fcbfae07 fix 2023-08-26 20:55:44 +08:00
a14943665b Revise and add new Creality profiles & Fix SecKit Filaments (#974)
* Revise and add new Creality profiles

* Correction of SecKit filaments

* Add Creality Ender-3 S1 Pro Profile & change snapmaker printer images

* Revision of the printer Creality & SecKit Printer ID
2023-05-07 22:50:18 +08:00
b5829b4556 New Seckit Profile. (#943)
* Added SK-Go3 profile and supporting resources.

* Moved .stl location

* wrong location removed.

* Changed filament settings as SK-Go3 was not set.

* Changed setting_id as requested.
2023-05-05 21:08:53 +08:00
02e2335337 Added profile for SecKit SK-Tank 2023-04-27 16:11:50 -04:00