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
parent 8ccae50e1b
commit 6d7eeb89dc
7876 changed files with 8152 additions and 6541 deletions

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC Artemis 0.4 nozzle",
"from": "System",
"setting_id": "sHym4CslP0KOSKI1",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC Artemis 0.5 nozzle",
"from": "System",
"setting_id": "T7UbsCeU4Spvljh1",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC Artemis 0.7 nozzle",
"from": "System",
"setting_id": "H2RRgI7dIfsMQ3rs",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC Artemis 1.0 nozzle",
"from": "System",
"setting_id": "cIMj4tl0mO4HaWLx",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 500 0505 0.4 nozzle",
"from": "System",
"setting_id": "bKDY3mKmFHGblw2f",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 500 0505 0.5 nozzle",
"from": "System",
"setting_id": "bbCgpQrgYeNm7xmM",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 500 0505 0.7 nozzle",
"from": "System",
"setting_id": "wOVFwA2YO9lmLsUl",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 500 0505 1.0 nozzle",
"from": "System",
"setting_id": "VntbaD5J3Z2V53xT",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 500 0510 0.4 nozzle",
"from": "System",
"setting_id": "4HquBCNYnIarQDsn",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 500 0510 0.5 nozzle",
"from": "System",
"setting_id": "dqRikHfYjnYGOwny",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 500 0510 0.7 nozzle",
"from": "System",
"setting_id": "UnxDqeIJHopmYKe7",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 500 0510 1.0 nozzle",
"from": "System",
"setting_id": "Ej8fGYSyvxZhotWJ",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 500 0521 0.4 nozzle",
"from": "System",
"setting_id": "5yqhnwvAafqWtWsv",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 500 0521 0.5 nozzle",
"from": "System",
"setting_id": "axWBBdCAXW5CXaKr",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 500 0521 0.7 nozzle",
"from": "System",
"setting_id": "Tb8laqV8TCI1qx9w",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 500 0521 1.0 nozzle",
"from": "System",
"setting_id": "IB6YBnzQFlrlk4LO",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 300 0.4 nozzle",
"from": "System",
"setting_id": "bBNCF2OJnObaQjUG",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 300 0.5 nozzle",
"from": "System",
"setting_id": "KBZADRGFxUw1Eid7",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 300 0.7 nozzle",
"from": "System",
"setting_id": "I8EEuRh2zT6CFuqG",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC BOSSdelta 300 1.0 nozzle",
"from": "System",
"setting_id": "yxOpcVyr6daKB02x",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC RostockMAX v3.2 0.4 nozzle",
"from": "System",
"setting_id": "bUvbKp9xiJEdV37g",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC RostockMAX v3.2 0.5 nozzle",
"from": "System",
"setting_id": "YKAdnr8IlQPpfIBg",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC RostockMAX v3.2 0.7 nozzle",
"from": "System",
"setting_id": "7hwa9LgYIF4lNiRe",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC RostockMAX v3.2 1.0 nozzle",
"from": "System",
"setting_id": "tN9vDLuDGWY20khZ",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC RostockMAX v4 0.4 nozzle",
"from": "System",
"setting_id": "yFgIq1rgfud4b25W",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC RostockMAX v4 0.5 nozzle",
"from": "System",
"setting_id": "bqOjdOdOT50Z95OU",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC RostockMAX v4 0.7 nozzle",
"from": "System",
"setting_id": "7mKOD4UYFgtVkZkp",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",

View File

@@ -2,6 +2,7 @@
"type": "machine",
"name": "SeeMeCNC RostockMAX v4 1.0 nozzle",
"from": "System",
"setting_id": "Rpn6GMVVSAtHh1pn",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",