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": "Flashforge AD5X 0.25 nozzle",
"inherits": "Flashforge Adventurer 5M 0.25 Nozzle",
"from": "system",
"setting_id": "GM006",
"setting_id": "LyLdzfhgxndhsc7w",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge AD5X 0.4 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.4 Nozzle",
"from": "system",
"setting_id": "GM001",
"setting_id": "D4l8zt8PRijp1mvT",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge AD5X 0.6 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.6 Nozzle",
"from": "system",
"setting_id": "GM001",
"setting_id": "ByYUTKP0IJn1sgf9",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge AD5X 0.8 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.8 Nozzle",
"from": "system",
"setting_id": "GM009",
"setting_id": "nSqJzbo2qKeVBRFp",
"instantiation": "true",
"printer_model": "Flashforge AD5X",
"adaptive_bed_mesh_margin": "0",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 3 Series 0.4 Nozzle",
"inherits": "fdm_adventurer3_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "t5JKEUBlsjdEeRNe",
"instantiation": "true",
"printer_model": "Flashforge Adventurer 3 Series",
"default_print_profile": "0.20mm Standard @Flashforge AD3 0.4 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 3 Series 0.6 Nozzle",
"inherits": "fdm_adventurer3_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "UDfjcTtL3vUxC6VO",
"instantiation": "true",
"printer_model": "Flashforge Adventurer 3 Series",
"default_print_profile": "0.20mm Standard @Flashforge AD3 0.6 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 4 Series 0.3 Nozzle",
"inherits": "fdm_adventurer4_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "PRljA8KgQoirDtHm",
"instantiation": "true",
"printer_model": "Flashforge Adventurer 4 Series",
"default_print_profile": "0.13mm Standard @Flashforge AD4 0.3 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 4 Series 0.4 Nozzle",
"inherits": "fdm_adventurer4_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "bBT6oy7bTQGITL6W",
"instantiation": "true",
"printer_variant": "0.4",
"printer_model": "Flashforge Adventurer 4 Series",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 4 Series 0.6 Nozzle",
"inherits": "fdm_adventurer4_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "wlYxOL7g5BrpCXHH",
"instantiation": "true",
"printer_model": "Flashforge Adventurer 4 Series",
"default_print_profile": "0.30mm Standard @Flashforge AD4 0.6 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 4 Series HS Nozzle",
"inherits": "fdm_adventurer4_common",
"from": "system",
"setting_id": "GM002",
"setting_id": "bO7OA2EOVlYEA4aS",
"instantiation": "true",
"printer_variant": "0.4HS",
"printer_model": "Flashforge Adventurer 4 Series",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 5M 0.25 Nozzle",
"inherits": "fdm_adventurer5m_common",
"from": "system",
"setting_id": "GM006",
"setting_id": "8bQYnYO44IWdBVc0",
"instantiation": "true",
"printer_model": "Flashforge Adventurer 5M",
"default_print_profile": "0.12mm Standard @Flashforge AD5M 0.25 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 5M 0.4 Nozzle",
"inherits": "fdm_adventurer5m_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "n2MSk8g91mAD7PZb",
"instantiation": "true",
"printer_model": "Flashforge Adventurer 5M",
"default_print_profile": "0.20mm Standard @Flashforge AD5M 0.4 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 5M 0.6 Nozzle",
"inherits": "fdm_adventurer5m_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "saCGEstG7DaiYhZY",
"instantiation": "true",
"printer_model": "Flashforge Adventurer 5M",
"default_print_profile": "0.30mm Standard @Flashforge AD5M 0.6 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 5M 0.8 Nozzle",
"inherits": "fdm_adventurer5m_common",
"from": "system",
"setting_id": "GM005",
"setting_id": "Pej2PnncDEXUe7PI",
"instantiation": "true",
"printer_model": "Flashforge Adventurer 5M",
"default_print_profile": "0.40mm Standard @Flashforge AD5M 0.8 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 5M Pro 0.25 Nozzle",
"inherits": "fdm_adventurer5m_common",
"from": "system",
"setting_id": "GM010",
"setting_id": "kWmeC9KnTnmGGJFL",
"instantiation": "true",
"printer_model": "Flashforge Adventurer 5M Pro",
"default_print_profile": "0.12mm Standard @Flashforge AD5M Pro 0.25 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 5M Pro 0.4 Nozzle",
"inherits": "fdm_adventurer5m_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "ThBrRFxO6erzqndo",
"instantiation": "true",
"printer_model": "Flashforge Adventurer 5M Pro",
"default_print_profile": "0.20mm Standard @Flashforge AD5M Pro 0.4 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 5M Pro 0.6 Nozzle",
"inherits": "fdm_adventurer5m_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "qMjPc6vzPMGNc5GD",
"instantiation": "true",
"printer_model": "Flashforge Adventurer 5M Pro",
"default_print_profile": "0.30mm Standard @Flashforge AD5M Pro 0.6 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Adventurer 5M Pro 0.8 Nozzle",
"inherits": "fdm_adventurer5m_common",
"from": "system",
"setting_id": "GM009",
"setting_id": "ayutlcoenZcr7Hny",
"instantiation": "true",
"printer_model": "Flashforge Adventurer 5M Pro",
"default_print_profile": "0.40mm Standard @Flashforge AD5M Pro 0.8 Nozzle",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Artemis 0.4 Nozzle",
"inherits": "fdm_artemis_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "3iGSjKwQd74bDuGc",
"instantiation": "true",
"printer_variant": "0.4",
"printer_model": "Flashforge Artemis",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Creator 5 0.4 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.4 Nozzle",
"from": "system",
"setting_id": "GM001",
"setting_id": "8rfkwQO5Zv1CyFxA",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Creator 5 0.6 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.4 Nozzle",
"from": "system",
"setting_id": "GM001",
"setting_id": "jNm6AagyxA1v0WER",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Creator 5 0.8 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.4 Nozzle",
"from": "system",
"setting_id": "abjALI6WWNzy9B5Q",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Creator 5 Pro 0.4 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.4 Nozzle",
"from": "system",
"setting_id": "DVWFCsTdr2KaH4Sk",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Creator 5 Pro 0.6 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.4 Nozzle",
"from": "system",
"setting_id": "INeuYQNjvwoK1Cjb",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Creator 5 Pro 0.8 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.4 Nozzle",
"from": "system",
"setting_id": "kdQuVclmnVWz2Vfu",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Guider 2s 0.4 nozzle",
"inherits": "fdm_flashforge_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "M9iFVHOKivxm3W4B",
"instantiation": "true",
"printer_model": "Flashforge Guider 2s",
"gcode_flavor": "marlin",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Guider 3 Ultra 0.4 Nozzle",
"inherits": "fdm_guider3_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "g6wtELHjZ8Gr9YPg",
"instantiation": "true",
"auxiliary_fan": "1",
"bed_custom_model": "",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Guider 3 Ultra 0.6 Nozzle",
"inherits": "fdm_guider3_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "VKlxYdoMbSJ54J6s",
"instantiation": "true",
"printer_variant": "0.6",
"printer_model": "Flashforge Guider 3 Ultra",

View File

@@ -3,7 +3,7 @@
"name": "Flashforge Guider 3 Ultra 0.8 Nozzle",
"inherits": "fdm_guider3_common",
"from": "system",
"setting_id": "GM001",
"setting_id": "zqSpSCSeNgnxibvd",
"instantiation": "true",
"printer_variant": "0.8",
"printer_model": "Flashforge Guider 3 Ultra",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Guider4 0.25 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.25 Nozzle",
"from": "system",
"setting_id": "7CkhY1WmcYAzSUG1",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Guider4 0.4 HF nozzle",
"inherits": "Flashforge Guider 3 Ultra 0.4 Nozzle",
"from": "system",
"setting_id": "52GYZAaGoTy0CgMf",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Guider4 0.4 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.4 Nozzle",
"from": "system",
"setting_id": "omiMocXNT3cSNOWQ",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Guider4 0.6 HF nozzle",
"inherits": "Flashforge Guider 3 Ultra 0.6 Nozzle",
"from": "system",
"setting_id": "YhHvRWwxThp9paux",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Guider4 0.6 nozzle",
"inherits": "Flashforge Guider 3 Ultra 0.6 Nozzle",
"from": "system",
"setting_id": "vwHCjHQyazbLKcxE",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Guider4 0.8 HF nozzle",
"inherits": "Flashforge Guider 3 Ultra 0.6 Nozzle",
"from": "system",
"setting_id": "Q84FWmcyIdze15DX",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Guider4 Pro 0.25 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.25 Nozzle",
"from": "system",
"setting_id": "JsOG0rK4CtdAkccy",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Guider4 Pro 0.4 HF nozzle",
"inherits": "Flashforge Guider 3 Ultra 0.4 Nozzle",
"from": "system",
"setting_id": "KUruzX4VuP8d4jLI",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Guider4 Pro 0.4 nozzle",
"inherits": "Flashforge Adventurer 5M Pro 0.4 Nozzle",
"from": "system",
"setting_id": "4e0Km4CkNQC8kyqV",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Guider4 Pro 0.6 HF nozzle",
"inherits": "Flashforge Guider 3 Ultra 0.6 Nozzle",
"from": "system",
"setting_id": "GJbFChOygWNwDNGH",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Guider4 Pro 0.6 nozzle",
"inherits": "Flashforge Guider 3 Ultra 0.6 Nozzle",
"from": "system",
"setting_id": "l735Rr0i9NHHOPcG",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",

View File

@@ -3,6 +3,7 @@
"name": "Flashforge Guider4 Pro 0.8 HF nozzle",
"inherits": "Flashforge Guider 3 Ultra 0.6 Nozzle",
"from": "system",
"setting_id": "FxML8NgInRadUrgi",
"instantiation": "true",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "1",