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

@@ -3,7 +3,7 @@
"name": "SUNLU PETG @FF AD3",
"inherits": "SUNLU PETG @base",
"from": "system",
"setting_id": "GFSNLS08_03",
"setting_id": "BENcJjUDhHoKoKr4",
"instantiation": "true",
"slow_down_layer_time": [
"8"

View File

@@ -4,7 +4,7 @@
"renamed_from": "SUNLU PETG @FF AD5M 0.25 nozzle",
"inherits": "SUNLU PETG @base",
"from": "system",
"setting_id": "GFSNLS08_00",
"setting_id": "FY14rURQIpMyXsct",
"instantiation": "true",
"filament_max_volumetric_speed": [
"4"

View File

@@ -4,7 +4,7 @@
"renamed_from": "SUNLU PETG @FF AD5M 0.8 nozzle",
"inherits": "SUNLU PETG @base",
"from": "system",
"setting_id": "GFSNLS08_01",
"setting_id": "l8pXGlKwIwoEVp9p",
"instantiation": "true",
"fan_max_speed": [
"60"

View File

@@ -3,7 +3,7 @@
"name": "SUNLU PETG @FF AD5M",
"inherits": "SUNLU PETG @base",
"from": "system",
"setting_id": "GFSNLS08",
"setting_id": "sZhSd1bOSlpCaLF8",
"instantiation": "true",
"filament_max_volumetric_speed": [
"24"

View File

@@ -3,7 +3,7 @@
"name": "SUNLU PLA Marble @FF AD3",
"inherits": "SUNLU PLA Marble @base",
"from": "system",
"setting_id": "GFSNLS06_03",
"setting_id": "6IQtR139p9QmD9xy",
"instantiation": "true",
"nozzle_temperature": [
"215"

View File

@@ -3,7 +3,7 @@
"name": "SUNLU PLA Marble @FF AD5M",
"inherits": "SUNLU PLA Marble @base",
"from": "system",
"setting_id": "GFSNLS06",
"setting_id": "M0wMWwyqvlmLuHeV",
"instantiation": "true",
"compatible_printers": [
"Flashforge Adventurer 5M Pro 0.4 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "SUNLU PLA Matte @FF AD3",
"inherits": "SUNLU PLA Matte @base",
"from": "system",
"setting_id": "GFSNLS02_03",
"setting_id": "5gelEcX6iOtqnbsh",
"instantiation": "true",
"nozzle_temperature": [
"210"

View File

@@ -4,7 +4,7 @@
"renamed_from": "SUNLU PLA Matte @FF AD5M 0.25 nozzle",
"inherits": "SUNLU PLA Matte @base",
"from": "system",
"setting_id": "GFSNLS02_00",
"setting_id": "ph88x4XnBjaumzze",
"instantiation": "true",
"filament_max_volumetric_speed": [
"2"

View File

@@ -3,7 +3,7 @@
"name": "SUNLU PLA Matte @FF AD5M",
"inherits": "SUNLU PLA Matte @base",
"from": "system",
"setting_id": "GFSNLS02",
"setting_id": "H3t7rp2KLCCRuJcq",
"instantiation": "true",
"compatible_printers": [
"Flashforge Adventurer 5M Pro 0.4 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "SUNLU PLA+ 2.0 @FF AD3",
"inherits": "SUNLU PLA+ 2.0 @base",
"from": "system",
"setting_id": "GFSNLS04_03",
"setting_id": "Zen9mJ6TV3zmKH3J",
"instantiation": "true",
"nozzle_temperature": [
"210"

View File

@@ -4,7 +4,7 @@
"renamed_from": "SUNLU PLA+ 2.0 @FF AD5M 0.25 nozzle",
"inherits": "SUNLU PLA+ 2.0 @base",
"from": "system",
"setting_id": "GFSNLS04_01",
"setting_id": "F4PiUlguBysVUHLr",
"instantiation": "true",
"filament_max_volumetric_speed": [
"1.8"

View File

@@ -3,7 +3,7 @@
"name": "SUNLU PLA+ 2.0 @FF AD5M",
"inherits": "SUNLU PLA+ 2.0 @base",
"from": "system",
"setting_id": "GFSNLS04",
"setting_id": "4MRsbnliWaoLU2BQ",
"instantiation": "true",
"compatible_printers": [
"Flashforge Adventurer 5M Pro 0.4 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "SUNLU PLA+ @FF AD3",
"inherits": "SUNLU PLA+ @base",
"from": "system",
"setting_id": "GFSNLS03_03",
"setting_id": "W8RSexSNZp8lB0y4",
"instantiation": "true",
"nozzle_temperature": [
"210"

View File

@@ -4,7 +4,7 @@
"renamed_from": "SUNLU PLA+ @FF AD5M 0.25 nozzle",
"inherits": "SUNLU PLA+ @base",
"from": "system",
"setting_id": "GFSNLS03_01",
"setting_id": "F4D1UV45L9fPm9WG",
"instantiation": "true",
"filament_max_volumetric_speed": [
"1.8"

View File

@@ -3,7 +3,7 @@
"name": "SUNLU PLA+ @FF AD5M",
"inherits": "SUNLU PLA+ @base",
"from": "system",
"setting_id": "GFSNLS03",
"setting_id": "TUTKHeFJoFejsySI",
"instantiation": "true",
"compatible_printers": [
"Flashforge Adventurer 5M Pro 0.4 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "SUNLU Silk PLA+ @FF AD3",
"inherits": "SUNLU Silk PLA+ @base",
"from": "system",
"setting_id": "GFSNLS05_03",
"setting_id": "Gbd8WKfUXl1kdTJL",
"instantiation": "true",
"nozzle_temperature": [
"215"

View File

@@ -4,7 +4,7 @@
"renamed_from": "SUNLU Silk PLA+ @FF AD5M 0.25 nozzle",
"inherits": "SUNLU Silk PLA+ @base",
"from": "system",
"setting_id": "GFSNLS05_01",
"setting_id": "HdD4n2D1quA1yar4",
"instantiation": "true",
"filament_max_volumetric_speed": [
"2"

View File

@@ -3,7 +3,7 @@
"name": "SUNLU Silk PLA+ @FF AD5M",
"inherits": "SUNLU Silk PLA+ @base",
"from": "system",
"setting_id": "GFSNLS05",
"setting_id": "6HbMG3FtDofk4MIm",
"instantiation": "true",
"filament_max_volumetric_speed": [
"24"

View File

@@ -3,7 +3,7 @@
"name": "SUNLU Wood PLA @FF AD3",
"inherits": "SUNLU Wood PLA @base",
"from": "system",
"setting_id": "GFSNLS07_03",
"setting_id": "Kvn22UmFqoNUMOg0",
"instantiation": "true",
"nozzle_temperature": [
"210"

View File

@@ -3,7 +3,7 @@
"name": "SUNLU Wood PLA @FF AD5M",
"inherits": "SUNLU Wood PLA @base",
"from": "system",
"setting_id": "GFSNLS07",
"setting_id": "qNFWJW8dEhdd6HWm",
"instantiation": "true",
"compatible_printers": [
"Flashforge Adventurer 5M Pro 0.4 Nozzle",