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": "0.06mm Standard @Arena X1C 0.2 nozzle",
"inherits": "fdm_process_arena_0.06_nozzle_0.2",
"from": "system",
"setting_id": "GP024",
"setting_id": "8hA0aiO1Qtv9IfeR",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.2 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.08mm Extra Fine @Arena X1C",
"inherits": "fdm_process_arena_0.08",
"from": "system",
"setting_id": "GP001",
"setting_id": "t6ZUh6RIxH5i7Ju0",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.4 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.08mm Standard @Arena X1C 0.2 nozzle",
"inherits": "fdm_process_arena_0.08_nozzle_0.2",
"from": "system",
"setting_id": "GP025",
"setting_id": "AnDHc3M6fQLAl6VE",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.2 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.10mm Standard @Arena X1C 0.2 nozzle",
"inherits": "fdm_process_arena_0.10_nozzle_0.2",
"from": "system",
"setting_id": "GP007",
"setting_id": "Z4u3mxJ72aSZDIxB",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.2 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.12mm Fine @Arena X1C",
"inherits": "fdm_process_arena_0.12",
"from": "system",
"setting_id": "GP002",
"setting_id": "orfsZJWNnKXKdxaZ",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.4 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.12mm Standard @Arena X1C 0.2 nozzle",
"inherits": "fdm_process_arena_0.12_nozzle_0.2",
"from": "system",
"setting_id": "GP026",
"setting_id": "GO4dmyDkhygncuJZ",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.2 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.14mm Standard @Arena X1C 0.2 nozzle",
"inherits": "fdm_process_arena_0.14_nozzle_0.2",
"from": "system",
"setting_id": "GP027",
"setting_id": "MVY5JxFxbdSUWTOW",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.2 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.16mm Optimal @Arena X1C",
"inherits": "fdm_process_arena_0.16",
"from": "system",
"setting_id": "GP003",
"setting_id": "KGSeKT36RuDzR3E6",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.4 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.18mm Standard @Arena X1C 0.6 nozzle",
"inherits": "fdm_process_arena_0.18_nozzle_0.6",
"from": "system",
"setting_id": "GP028",
"setting_id": "IbPMWoSXjuZxo5po",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.6 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.20mm Arena Support W @Arena X1C",
"inherits": "fdm_process_arena_0.20",
"from": "system",
"setting_id": "GP008",
"setting_id": "GbnCSaKZmIxFJiQU",
"instantiation": "true",
"enable_support": "1",
"support_interface_top_layers": "3",

View File

@@ -3,7 +3,7 @@
"name": "0.20mm Standard @Arena X1C",
"inherits": "fdm_process_arena_0.20",
"from": "system",
"setting_id": "GP004",
"setting_id": "vKHHMGciyRPz96ys",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.4 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.20mm Strength @Arena X1C",
"inherits": "fdm_process_arena_0.20",
"from": "system",
"setting_id": "GP013",
"setting_id": "FjVoPLBVhhfkZcti",
"instantiation": "true",
"outer_wall_speed": "60",
"wall_loops": "6",

View File

@@ -3,7 +3,7 @@
"name": "0.24mm Draft @Arena X1C",
"inherits": "fdm_process_arena_0.24",
"from": "system",
"setting_id": "GP005",
"setting_id": "A3tBfYESL5BUa6az",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.4 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.24mm Standard @Arena X1C 0.6 nozzle",
"inherits": "fdm_process_arena_0.24_nozzle_0.6",
"from": "system",
"setting_id": "GP029",
"setting_id": "EHZbaCSjWI2NuLBb",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.6 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.24mm Standard @Arena X1C 0.8 nozzle",
"inherits": "fdm_process_arena_0.24_nozzle_0.8",
"from": "system",
"setting_id": "GP032",
"setting_id": "YUmFXao5txOnlhO6",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.8 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.28mm Extra Draft @Arena X1C",
"inherits": "fdm_process_arena_0.28",
"from": "system",
"setting_id": "GP006",
"setting_id": "Q03WAuYXUC4h4Vyk",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.4 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.30mm Standard @Arena X1C 0.6 nozzle",
"inherits": "fdm_process_arena_0.30_nozzle_0.6",
"from": "system",
"setting_id": "GP010",
"setting_id": "QXic13ZwbeezBFC3",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.6 nozzle"

View File

@@ -3,7 +3,7 @@
"name": "0.30mm Strength @Arena X1C 0.6 nozzle",
"inherits": "fdm_process_arena_0.30_nozzle_0.6",
"from": "system",
"setting_id": "GP036",
"setting_id": "Fta7TXvjXtW72vf2",
"instantiation": "true",
"wall_loops": "4",
"sparse_infill_density": "25%",

View File

@@ -3,7 +3,7 @@
"name": "0.32mm Standard @Arena X1C 0.8 nozzle",
"inherits": "fdm_process_arena_0.32_nozzle_0.8",
"from": "system",
"setting_id": "GP033",
"setting_id": "B1M42JYHlcp5aUoq",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.8 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.36mm Standard @Arena X1C 0.6 nozzle",
"inherits": "fdm_process_arena_0.36_nozzle_0.6",
"from": "system",
"setting_id": "GP030",
"setting_id": "N5ONn0pY2DO8xlFq",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.6 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.40mm Standard @Arena X1C 0.8 nozzle",
"inherits": "fdm_process_arena_0.40_nozzle_0.8",
"from": "system",
"setting_id": "GP009",
"setting_id": "4YeU7BBwA2jQJhyO",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.8 nozzle"

View File

@@ -3,7 +3,7 @@
"name": "0.42mm Standard @Arena X1C 0.6 nozzle",
"inherits": "fdm_process_arena_0.42_nozzle_0.6",
"from": "system",
"setting_id": "GP031",
"setting_id": "aKOq8cZ3LHNl61tR",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.6 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.48mm Standard @Arena X1C 0.8 nozzle",
"inherits": "fdm_process_arena_0.48_nozzle_0.8",
"from": "system",
"setting_id": "GP034",
"setting_id": "ZcviTCabCemJLEEa",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.8 nozzle",

View File

@@ -3,7 +3,7 @@
"name": "0.56mm Standard @Arena X1C 0.8 nozzle",
"inherits": "fdm_process_arena_0.56_nozzle_0.8",
"from": "system",
"setting_id": "GP035",
"setting_id": "tqiu1hNVhXEsBBig",
"instantiation": "true",
"compatible_printers": [
"Orca Arena X1 Carbon 0.8 nozzle",