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,6 +3,7 @@
"name": "0.10mm Standard @Thinker X400 0.2 nozzle",
"inherits": "0.20mm Standard @Thinker X400",
"from": "system",
"setting_id": "tO27DW2I42BFee5R",
"instantiation": "true",
"bottom_shell_layers": "5",
"gap_infill_speed": "150",

View File

@@ -3,6 +3,7 @@
"name": "0.12mm Standard @Thinker X400",
"inherits": "0.20mm Standard @Thinker X400",
"from": "User",
"setting_id": "jifvkql7qz6po7bB",
"instantiation": "true",
"brim_object_gap": "0",
"default_acceleration": "10000",

View File

@@ -3,6 +3,7 @@
"name": "0.16mm Standard @Thinker X400",
"inherits": "0.20mm Standard @Thinker X400",
"from": "User",
"setting_id": "YZvPJK8iIG1BFWs3",
"instantiation": "true",
"brim_object_gap": "0",
"default_acceleration": "10000",

View File

@@ -3,7 +3,7 @@
"name": "0.20mm Standard @Thinker X400",
"inherits": "fdm_process_common",
"from": "",
"setting_id": "GP004",
"setting_id": "XuXFgmQdgSDywHuc",
"instantiation": "true",
"compatible_printers": [
"Thinker X400 0.4 nozzle"

View File

@@ -3,6 +3,7 @@
"name": "0.24mm Standard @Thinker X400",
"inherits": "0.20mm Standard @Thinker X400",
"from": "User",
"setting_id": "QLS70K9RFSLlzGH8",
"instantiation": "true",
"brim_object_gap": "0",
"default_acceleration": "10000",

View File

@@ -3,6 +3,7 @@
"name": "0.06mm High Quality @Eryone ER20 0.2 nozzle",
"inherits": "fdm_process_ER20_0.06_nozzle_0.2",
"from": "system",
"setting_id": "GhfBuKKydzWt05Zt",
"instantiation": "true",
"sparse_infill_pattern": "gyroid",
"compatible_printers": [

View File

@@ -3,6 +3,7 @@
"name": "0.08mm Optimal @Eryone ER20 0.2 nozzle",
"inherits": "fdm_process_ER20_0.08_nozzle_0.2",
"from": "system",
"setting_id": "BK7hqXdVKuKFphxz",
"instantiation": "true",
"compatible_printers": [
"Eryone ER20 0.2 nozzle"

View File

@@ -3,6 +3,7 @@
"name": "0.10mm Standard @Eryone ER20 0.2 nozzle",
"inherits": "fdm_process_ER20_0.10_nozzle_0.2",
"from": "system",
"setting_id": "hSb8DkaIx4UoSNh6",
"instantiation": "true",
"sparse_infill_pattern": "gyroid",
"compatible_printers": [

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.12_nozzle_0.2",
"setting_id": "X5RY5e2qDLLXRw73",
"instantiation": "true",
"name": "0.12mm Draft @Eryone ER20 0.2 nozzle",
"sparse_infill_pattern": "gyroid",

View File

@@ -4,6 +4,7 @@
],
"from": "system",
"inherits": "fdm_process_ER20_0.12",
"setting_id": "H7ODK5fAAYDUoeSH",
"instantiation": "true",
"name": "0.12mm High Quality @Eryone ER20",
"sparse_infill_pattern": "gyroid",

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.14_nozzle_0.2",
"setting_id": "USrHobTi6gZB0qfs",
"instantiation": "true",
"name": "0.14mm Extra Draft @Eryone ER20 0.2 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.15_nozzle_0.5",
"setting_id": "oapNf4dk0MGlHc1t",
"instantiation": "true",
"name": "0.15mm Optimal @Eryone ER20 0.5 nozzle",
"type": "process"

View File

@@ -4,6 +4,7 @@
],
"from": "system",
"inherits": "fdm_process_ER20_0.16",
"setting_id": "T7CLbKpkDxOdqBWk",
"instantiation": "true",
"name": "0.16mm Optimal @Eryone ER20",
"sparse_infill_pattern": "gyroid",

View File

@@ -4,6 +4,7 @@
],
"from": "system",
"inherits": "fdm_process_ER20_0.18_nozzle_0.6",
"setting_id": "XnzfgUygXaUCzqsa",
"instantiation": "true",
"name": "0.18mm Fine @Eryone ER20 0.6 nozzle",
"type": "process"

View File

@@ -4,6 +4,7 @@
],
"from": "system",
"inherits": "fdm_process_ER20_0.20",
"setting_id": "TMsKM3bODapym77c",
"instantiation": "true",
"layer_height": "0.20",
"name": "0.20mm Standard @Eryone ER20",

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.20",
"setting_id": "GFfpctaMRI4Nuqk9",
"instantiation": "true",
"name": "0.20mm Strength @Eryone ER20",
"sparse_infill_density": "25%",

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.24",
"setting_id": "8rfQRPMh82vmdDeb",
"instantiation": "true",
"name": "0.24mm Draft @Eryone ER20",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.24_nozzle_0.8",
"setting_id": "0Ham5AnvDEnEzaSY",
"instantiation": "true",
"name": "0.24mm Fine @Eryone ER20 0.8 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.24_nozzle_0.6",
"setting_id": "0CRLvmSKxkmglWRi",
"instantiation": "true",
"name": "0.24mm Optimal @Eryone ER20 0.6 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.25_nozzle_0.5",
"setting_id": "oEjMrkTjRF6zL46C",
"instantiation": "true",
"name": "0.25mm Standard @Eryone ER20 0.5 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.28",
"setting_id": "oyoecLMFQzjbIfcd",
"instantiation": "true",
"name": "0.28mm Extra Draft @Eryone ER20",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.30_nozzle_0.6",
"setting_id": "jw5QUhazCifzzM6Q",
"instantiation": "true",
"name": "0.30mm Standard @Eryone ER20 0.6 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.30_nozzle_0.6",
"setting_id": "LqOFomJiS10Vbrdp",
"instantiation": "true",
"name": "0.30mm Strength @Eryone ER20 0.6 nozzle",
"sparse_infill_density": "25%",

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.32_nozzle_0.8",
"setting_id": "5lYVYrlEfVVl2n0F",
"instantiation": "true",
"name": "0.32mm Optimal @Eryone ER20 0.8 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.36_nozzle_0.6",
"setting_id": "vavNueSF5zRpUlTZ",
"instantiation": "true",
"name": "0.36mm Draft @Eryone ER20 0.6 nozzle",
"travel_speed": "250",

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.40_nozzle_0.8",
"setting_id": "TlCbtZYdCRCkpIf6",
"instantiation": "true",
"name": "0.40mm Standard @Eryone ER20 0.8 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.42_nozzle_0.6",
"setting_id": "q6PozBOTtWU7CMb0",
"instantiation": "true",
"name": "0.42mm Extra Draft @Eryone ER20 0.6 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.48_nozzle_0.8",
"setting_id": "O3BhYAmUROrYm64x",
"instantiation": "true",
"name": "0.48mm Draft @Eryone ER20 0.8 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_0.56_nozzle_0.8",
"setting_id": "RCycTBzuArwmwrj1",
"instantiation": "true",
"name": "0.56mm Extra Draft @Eryone ER20 0.8 nozzle",
"type": "process"

View File

@@ -3,6 +3,7 @@
"name": "0.06mm High Quality @Eryone ER20 Klipper 0.2 nozzle",
"inherits": "fdm_process_ER20_Klipper_0.06_nozzle_0.2",
"from": "system",
"setting_id": "DbmPfmdtSO6eADNc",
"instantiation": "true",
"sparse_infill_pattern": "gyroid",
"compatible_printers": [

View File

@@ -3,6 +3,7 @@
"name": "0.08mm Optimal @Eryone ER20 Klipper 0.2 nozzle",
"inherits": "fdm_process_ER20_Klipper_0.08_nozzle_0.2",
"from": "system",
"setting_id": "PqKmdbXHvL7dQKNU",
"instantiation": "true",
"compatible_printers": [
"Eryone ER20 Klipper 0.2 nozzle"

View File

@@ -3,6 +3,7 @@
"name": "0.10mm Standard @Eryone ER20 Klipper 0.2 nozzle",
"inherits": "fdm_process_ER20_Klipper_0.10_nozzle_0.2",
"from": "system",
"setting_id": "L6ZKLo92qFpTcGkx",
"instantiation": "true",
"sparse_infill_pattern": "gyroid",
"compatible_printers": [

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.12_nozzle_0.2",
"setting_id": "G6ezw9j2ZskBlDcf",
"instantiation": "true",
"name": "0.12mm Draft @Eryone ER20 Klipper 0.2 nozzle",
"sparse_infill_pattern": "gyroid",

View File

@@ -4,6 +4,7 @@
],
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.12",
"setting_id": "FdNIlqPmjcMxniJL",
"instantiation": "true",
"name": "0.12mm High Quality @Eryone ER20 Klipper",
"sparse_infill_pattern": "gyroid",

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.14_nozzle_0.2",
"setting_id": "REb8DrBmb84Jz1RU",
"instantiation": "true",
"name": "0.14mm Extra Draft @Eryone ER20 Klipper 0.2 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.15_nozzle_0.5",
"setting_id": "bwykEBgiXSoyw8zd",
"instantiation": "true",
"name": "0.15mm Optimal @Eryone ER20 Klipper 0.5 nozzle",
"type": "process"

View File

@@ -4,6 +4,7 @@
],
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.16",
"setting_id": "T6D9ljLTeYJNh7LY",
"instantiation": "true",
"name": "0.16mm Optimal @Eryone ER20 Klipper",
"sparse_infill_pattern": "gyroid",

View File

@@ -4,6 +4,7 @@
],
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.18_nozzle_0.6",
"setting_id": "4Wh9O5o6h68TEy69",
"instantiation": "true",
"name": "0.18mm Fine @Eryone ER20 Klipper 0.6 nozzle",
"type": "process"

View File

@@ -4,6 +4,7 @@
],
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.20",
"setting_id": "08wgu9MP0trL3JBg",
"instantiation": "true",
"layer_height": "0.20",
"name": "0.20mm Standard @Eryone ER20 Klipper",

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.20",
"setting_id": "7pYaosUUA3Kv13pI",
"instantiation": "true",
"name": "0.20mm Strength @Eryone ER20 Klipper",
"sparse_infill_density": "25%",

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.24",
"setting_id": "SJzxe1s82yL2Lgrj",
"instantiation": "true",
"name": "0.24mm Draft @Eryone ER20 Klipper",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.24_nozzle_0.8",
"setting_id": "FaQ9qpjWF28hexB2",
"instantiation": "true",
"name": "0.24mm Fine @Eryone ER20 Klipper 0.8 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.24_nozzle_0.6",
"setting_id": "BaYIyJyVUiPXPjMr",
"instantiation": "true",
"name": "0.24mm Optimal @Eryone ER20 Klipper 0.6 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.25_nozzle_0.5",
"setting_id": "GFnRlK2ceYBvswLe",
"instantiation": "true",
"name": "0.25mm Standard @Eryone ER20 Klipper 0.5 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.28",
"setting_id": "q5VO6Fykaq7MeqA3",
"instantiation": "true",
"name": "0.28mm Extra Draft @Eryone ER20 Klipper",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.30_nozzle_0.6",
"setting_id": "uteDUtHF4ALpNDE9",
"instantiation": "true",
"name": "0.30mm Standard @Eryone ER20 Klipper 0.6 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.30_nozzle_0.6",
"setting_id": "I69wf0KGngqBKs6d",
"instantiation": "true",
"name": "0.30mm Strength @Eryone ER20 Klipper 0.6 nozzle",
"sparse_infill_density": "25%",

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.32_nozzle_0.8",
"setting_id": "6ULt0zBZlGeQj0zL",
"instantiation": "true",
"name": "0.32mm Optimal @Eryone ER20 Klipper 0.8 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.36_nozzle_0.6",
"setting_id": "JLPcqoC2Uib9aRUQ",
"instantiation": "true",
"name": "0.36mm Draft @Eryone ER20 Klipper 0.6 nozzle",
"travel_speed": "250",

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.40_nozzle_0.8",
"setting_id": "Rar12YnTox9pGeWw",
"instantiation": "true",
"name": "0.40mm Standard @Eryone ER20 Klipper 0.8 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.42_nozzle_0.6",
"setting_id": "8XAFm1qhJ5VbrcDt",
"instantiation": "true",
"name": "0.42mm Extra Draft @Eryone ER20 Klipper 0.6 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.48_nozzle_0.8",
"setting_id": "PtwzuflLVEwcJU1s",
"instantiation": "true",
"name": "0.48mm Draft @Eryone ER20 Klipper 0.8 nozzle",
"type": "process"

View File

@@ -5,6 +5,7 @@
"elefant_foot_compensation": "0",
"from": "system",
"inherits": "fdm_process_ER20_Klipper_0.56_nozzle_0.8",
"setting_id": "yjLp31EgxsGWg3AY",
"instantiation": "true",
"name": "0.56mm Extra Draft @Eryone ER20 Klipper 0.8 nozzle",
"type": "process"