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
This commit is contained in:
SoftFever
2026-06-27 20:11:25 +08:00
committed by GitHub
parent 3b58217b47
commit 8cb2e4e01e
7876 changed files with 8152 additions and 6541 deletions

View File

@@ -3,7 +3,7 @@
"name": "Elegoo ABS @ECC2",
"inherits": "Elegoo ABS @base",
"from": "system",
"setting_id": "EABSECC2",
"setting_id": "Yrf1rCjVfmeDdegq",
"instantiation": "true",
"fan_max_speed": [
"40"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo ASA @ECC2",
"inherits": "Elegoo ASA @base",
"from": "system",
"setting_id": "EASAECC2",
"setting_id": "GlyfzHNVKZtaIj3S",
"instantiation": "true",
"pressure_advance": [
"0.04"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo ASA-CF @ECC2",
"inherits": "Elegoo ASA @base",
"from": "system",
"setting_id": "EASACFECC2",
"setting_id": "X7ugJOOrWixpeke8",
"instantiation": "true",
"pressure_advance": [
"0.04"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PAHT-CF @ECC2",
"inherits": "Elegoo PAHT @base",
"from": "system",
"setting_id": "EPAHTCFECC2",
"setting_id": "hmTwVvyCAIZI7rSY",
"instantiation": "true",
"close_fan_the_first_x_layers": [
"3"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PC @ECC2",
"inherits": "Elegoo PC @base",
"from": "system",
"setting_id": "EPCECC2",
"setting_id": "9DjHFRqI041QXR50",
"instantiation": "true",
"pressure_advance": [
"0.052"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PC-FR @ECC2",
"inherits": "Elegoo PC @base",
"from": "system",
"setting_id": "EPCFRECC2",
"setting_id": "M86WAPT5jr5ge7Ni",
"instantiation": "true",
"pressure_advance": [
"0.05"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PET-CF @ECC2",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "EPETCFECC2",
"setting_id": "sIwAf2oRC7VqYjIR",
"instantiation": "true",
"pressure_advance": [
"0.05"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PETG @ECC2",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "EPETGECC2",
"setting_id": "3HGwQZvPPZuLpmi8",
"instantiation": "true",
"pressure_advance": [
"0.05"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PETG HF @ECC2",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "ERPETGHFECC2",
"setting_id": "EAt1AJX3ZupILYWV",
"instantiation": "true",
"pressure_advance": [
"0.052"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PETG PRO @ECC2",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "EPETGPROECC2",
"setting_id": "YjUFi1BuigQdJGfe",
"instantiation": "true",
"pressure_advance": [
"0.1"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PETG Translucent @ECC2",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "EPETGTRANSECC2",
"setting_id": "Nk21n7x4I5xjwNqV",
"instantiation": "true",
"pressure_advance": [
"0.052"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PETG-CF @ECC2",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "EPETGCFECC2",
"setting_id": "TsJJG9mgzBt5GWPZ",
"instantiation": "true",
"pressure_advance": [
"0.052"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PETG-GF @ECC2",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "EPETGFECC2",
"setting_id": "Po38QP4RqkGBZTHq",
"instantiation": "true",
"pressure_advance": [
"0.052"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAECC2",
"setting_id": "49fzd1JgB0epXI3n",
"instantiation": "true",
"filament_max_volumetric_speed": [
"21"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Basic @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLABASICECC2",
"setting_id": "CG6nOQRYTWN0jJNV",
"instantiation": "true",
"nozzle_temperature": [
"220"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Galaxy @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAGALAXYECC2",
"setting_id": "jieMxZQRwSJ8lOQK",
"instantiation": "true",
"fan_min_speed": [
"80"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Glow @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAGLOWECC2",
"setting_id": "S6c2IXcIWDpViP2T",
"instantiation": "true",
"pressure_advance": [
"0.04"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Marble @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAMARBLEECC2",
"setting_id": "vBkiE3Uh1LdCiOig",
"instantiation": "true",
"fan_min_speed": [
"80"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Matte @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAMECC2",
"setting_id": "C3IdNUQ5dSe1wQua",
"instantiation": "true",
"fan_cooling_layer_time": [
"80"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA PRO @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAPROECC2",
"setting_id": "nIBhL1ZCxYZSMZTO",
"instantiation": "true",
"filament_max_volumetric_speed": [
"20"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Silk @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLASECC2",
"setting_id": "R20HD2TcTFmVt8ei",
"instantiation": "true",
"fan_cooling_layer_time": [
"80"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Sparkle @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLASPARKLEECC2",
"setting_id": "RoM3TYRuszinvW6b",
"instantiation": "true",
"fan_min_speed": [
"80"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Translucent2 @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLATRA2ECC2",
"setting_id": "K1pIYbrCCJUBwAOt",
"instantiation": "true",
"pressure_advance": [
"0.04"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Wood @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAWOODECC2",
"setting_id": "7D7QoTRo7U4HGaZB",
"instantiation": "true",
"fan_min_speed": [
"80"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA+ @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAPLUSECC2",
"setting_id": "GCMagCIZUPjPBpuH",
"instantiation": "true",
"filament_max_volumetric_speed": [
"20"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA-CF @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLACFECC2",
"setting_id": "0pllUBj7uWuhIr0v",
"instantiation": "true",
"fan_cooling_layer_time": [
"80"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Elegoo RAPID PETG @ECC2",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "ERPETGECC2",
"setting_id": "oVp14HbITUsNcgvp",
"instantiation": "true",
"pressure_advance": [
"0.052"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Elegoo RAPID PLA+ @ECC2",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "ERPLAPLUSECC2",
"setting_id": "qXybozVO1oL7MEud",
"instantiation": "true",
"fan_cooling_layer_time": [
"80"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Elegoo RAPID TPU 95A @ECC2",
"inherits": "Elegoo TPU @base",
"from": "system",
"setting_id": "ERTPU95AECC2",
"setting_id": "5osmvljNWBUEc9Kc",
"instantiation": "true",
"pressure_advance": [
"0.1"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo TPU 95A @ECC2",
"inherits": "Elegoo TPU @base",
"from": "system",
"setting_id": "ETPU95AECC2",
"setting_id": "v0Qj3xMBkUGnxZPi",
"instantiation": "true",
"filament_max_volumetric_speed": [
"3.2"