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 ASA @EN4 Series",
"inherits": "Elegoo ASA @base",
"from": "system",
"setting_id": "EASAEN4",
"setting_id": "a1NS4HIOx4RdcEcd",
"instantiation": "true",
"nozzle_temperature": [
"270"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PETG @EN4 Series",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "EPETGEN4",
"setting_id": "F2QHmHHESauqsO4I",
"instantiation": "true",
"pressure_advance": [
"0.024"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PETG PRO @EN4 Series",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "EPETGPROEN4",
"setting_id": "9vWaWFD7kELXCz9k",
"instantiation": "true",
"compatible_printers": [
"Elegoo Neptune 4 0.4 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PETG Translucent @EN4 Series",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "EPETGTRANSEN4",
"setting_id": "MGNtc9J7whLEQzfo",
"instantiation": "true",
"pressure_advance": [
"0.024"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PETG-CF @EN4 Series",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "EPETGCFEN4",
"setting_id": "OqmWX74QvP3luz8T",
"instantiation": "true",
"pressure_advance": [
"0.024"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PETG-GF @EN4 Series",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "EPETGFEN4",
"setting_id": "l9VHRBqMe9jvI5x6",
"instantiation": "true",
"pressure_advance": [
"0.024"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA @EN4 Series",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAEN4",
"setting_id": "qZaGbJyYQ8uh1oFU",
"instantiation": "true",
"filament_max_volumetric_speed": [
"16"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Basic @EN4 Series",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLABASICEN4",
"setting_id": "djQpscbgnpi9yeDU",
"instantiation": "true",
"nozzle_temperature": [
"220"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Galaxy @EN4 Series",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAGALAXYEN4",
"setting_id": "rDOS8SneslZCJyiY",
"instantiation": "true",
"fan_min_speed": [
"80"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Marble @EN4 Series",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAMARBLEEN4",
"setting_id": "EXITbaYE2JGd9m6w",
"instantiation": "true",
"fan_min_speed": [
"80"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Matte @EN4 Series",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAMEN4",
"setting_id": "PKKBmF1QUn3byAbe",
"instantiation": "true",
"fan_cooling_layer_time": [
"80"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA PRO @EN4 Series",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAPROEN4",
"setting_id": "912jZphbXGIftHOj",
"instantiation": "true",
"filament_max_volumetric_speed": [
"20"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Silk @EN4 Series",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLASEN4",
"setting_id": "3Gwsgkj54YfChaTX",
"instantiation": "true",
"fan_cooling_layer_time": [
"80"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Sparkle @EN4 Series",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLASPARKLEEN4",
"setting_id": "fpSoENagRf6Xkgtr",
"instantiation": "true",
"fan_min_speed": [
"80"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA Wood @EN4 Series",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAWOODEN4",
"setting_id": "9HTUZ0mmSCp2asTR",
"instantiation": "true",
"fan_min_speed": [
"80"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA+ @EN4 Series",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLAPLUSEN4",
"setting_id": "aFHpETdqnjrmKoh2",
"instantiation": "true",
"filament_max_volumetric_speed": [
"20"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo PLA-CF @EN4 Series",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "EPLACFEN4",
"setting_id": "tRWzBsYXsnpNVsQ4",
"instantiation": "true",
"fan_cooling_layer_time": [
"80"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Elegoo RAPID PETG @EN4 Series",
"inherits": "Elegoo PETG @base",
"from": "system",
"setting_id": "ERPETGEN4",
"setting_id": "fvbwrYR63t9NnL8m",
"instantiation": "true",
"fan_max_speed": [
"80"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Elegoo RAPID PLA+ @EN4 Series",
"inherits": "Elegoo PLA @base",
"from": "system",
"setting_id": "ERPLAPLUSEN4",
"setting_id": "Eu5Ao6aTdlnV5o7e",
"instantiation": "true",
"fan_cooling_layer_time": [
"80"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Elegoo RAPID TPU 95A @EN4 Series",
"inherits": "Elegoo TPU @base",
"from": "system",
"setting_id": "ERTPU95AEN4",
"setting_id": "0FWDHJF7V9rGXugP",
"instantiation": "true",
"pressure_advance": [
"0.024"

View File

@@ -3,7 +3,7 @@
"name": "Elegoo TPU 95A @EN4 Series",
"inherits": "Elegoo TPU @base",
"from": "system",
"setting_id": "ETPU95AEN4",
"setting_id": "6pp381J3ahRYYtFE",
"instantiation": "true",
"filament_max_volumetric_speed": [
"3.2"