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": "Fiberon ASA-CF08 @Snapmaker U1",
"inherits": "Fiberon ASA-CF08 @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL71_00",
"setting_id": "CdgDze2g0J4T7FEP",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "Fiberon PA12-CF10 @Snapmaker U1",
"inherits": "Fiberon PA12-CF10 @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL56_00",
"setting_id": "x3irDyMqwMgklHKg",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "Fiberon PA6-CF20 @Snapmaker U1",
"inherits": "Fiberon PA6-CF20 @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL57_00",
"setting_id": "AMQyOXYNdWpVXmvK",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "Fiberon PA612-ESD @Snapmaker U1",
"inherits": "Fiberon PA612-ESD @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL72_00",
"setting_id": "hUvnA3XmuC3bGLsi",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "Fiberon PETG-ESD @Snapmaker U1",
"inherits": "Fiberon PETG-ESD @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL06_00",
"setting_id": "AUr4Bm6UMW8S9TBh",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "Fiberon PPS-GF20 @Snapmaker U1",
"inherits": "Fiberon PPS-GF20 @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL73_00",
"setting_id": "7IpyPFHEAOmFlINJ",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma CoPE @U1",
"inherits": "Panchroma CoPE @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM016_00",
"setting_id": "gI7fRuITm0XhElnG",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA @U1",
"inherits": "Panchroma PLA @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM001_00",
"setting_id": "ayBhax9ELaiKfGFt",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Celestial @U1",
"inherits": "Panchroma PLA Celestial @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM008_00",
"setting_id": "OVmWNHpQnLZ67Bxd",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Galaxy @U1",
"inherits": "Panchroma PLA Galaxy @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM007_00",
"setting_id": "FLECN8LIZ5RLgQGi",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Glow @U1",
"inherits": "Panchroma PLA Glow @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM010_00",
"setting_id": "YEf4HFNPNtoFoLJd",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Luminous @U1",
"inherits": "Panchroma PLA Luminous @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM011_00",
"setting_id": "bxbXVqsMWWNfWcAn",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Marble @U1",
"inherits": "Panchroma PLA Marble @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM003_00",
"setting_id": "P9wE2kZSR2Coq1K7",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Matte @U1",
"inherits": "Panchroma PLA Matte @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM002_00",
"setting_id": "0oJUzBq7iYJgJxZ7",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Metallic @U1",
"inherits": "Panchroma PLA Metallic @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM012_00",
"setting_id": "pAQGZzMH04kst11B",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Neon @U1",
"inherits": "Panchroma PLA Neon @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM013_00",
"setting_id": "qVG9q2ci7Cj4pM5c",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Satin @U1",
"inherits": "Panchroma PLA Satin @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM005_00",
"setting_id": "EHMn3LsbZlfuR7hD",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Silk @U1",
"inherits": "Panchroma PLA Silk @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM004_00",
"setting_id": "JfIg6ZkVFA0CKLFI",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Starlight @U1",
"inherits": "Panchroma PLA Starlight @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM009_00",
"setting_id": "pgcdQlQmPFSaduVr",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Temp Shift @U1",
"inherits": "Panchroma PLA Temp Shift @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM015_00",
"setting_id": "SJq26RGx7OoZB4uH",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA Translucent @U1",
"inherits": "Panchroma PLA Translucent @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM006_00",
"setting_id": "CBt541HVuOa7GGb9",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Panchroma PLA UV Shift @U1",
"inherits": "Panchroma PLA UV Shift @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM014_00",
"setting_id": "vfVlN8IokcNnixsV",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "PolyLite CosPLA @Snapmaker U1",
"inherits": "PolyLite CosPLA @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL62_00",
"setting_id": "KwD7WDyJNa4hWfZ8",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"from": "system",
"instantiation": "true",
"name": "PolyLite Dual PLA @0.2 nozzle",
"setting_id": "490991920",
"setting_id": "jhmy4YHi9MuL0DWu",
"inherits": "PolyLite PLA @0.2 nozzle",
"compatible_printers": [
"Snapmaker A250 Dual (0.2 nozzle)",

View File

@@ -3,7 +3,7 @@
"from": "system",
"instantiation": "true",
"name": "PolyLite J1 PLA @0.2 nozzle",
"setting_id": "431382384",
"setting_id": "jFlRSxx0KvN3BOUu",
"inherits": "PolyLite PLA @0.2 nozzle",
"compatible_printers": [
"Snapmaker J1 (0.2 nozzle)"

View File

@@ -3,7 +3,7 @@
"from": "system",
"instantiation": "true",
"name": "PolyLite J1 PLA",
"setting_id": "116125055",
"setting_id": "wcpOTTMyZNPFKyXr",
"inherits": "PolyLite PLA @base",
"compatible_printers": [
"Snapmaker J1 (0.4 nozzle)",

View File

@@ -3,7 +3,7 @@
"name": "PolyLite PETG @Snapmaker U1",
"inherits": "PolyLite PETG @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSG60_00",
"setting_id": "U9U4YmaRxgIdxQOc",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "PolyLite PETG Translucent @Snapmaker U1",
"inherits": "PolyLite PETG Translucent @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL74_00",
"setting_id": "NBQOZiQQ8MpcDnLM",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"from": "system",
"instantiation": "true",
"name": "PolyLite PLA @0.2 nozzle",
"setting_id": "1592803578",
"setting_id": "s9mdMaFca8SHfji9",
"inherits": "PolyLite PLA @base",
"compatible_printers": [
"Snapmaker A250 (0.2 nozzle)",

View File

@@ -4,7 +4,7 @@
"renamed_from": "PolyLite PLA @U1",
"inherits": "PolyLite PLA @Snapmaker U1 base",
"from": "system",
"setting_id": "6486836500",
"setting_id": "RtK3uYFG0OKtnLkP",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "PolyLite PLA Galaxy @Snapmaker U1",
"inherits": "PolyLite PLA Galaxy @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL63_00",
"setting_id": "mNMTe346QAgo61NH",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "PolyLite PLA Glow @Snapmaker U1",
"inherits": "PolyLite PLA Glow @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL64_00",
"setting_id": "xYjGzOzWWE2PBfNd",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "PolyLite PLA Luminous @Snapmaker U1",
"inherits": "PolyLite PLA Luminous @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL65_00",
"setting_id": "pcPG6yUSO8F0e4gM",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "PolyLite PLA Neon @Snapmaker U1",
"inherits": "PolyLite PLA Neon @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL66_00",
"setting_id": "WMoh0mKVmVsdP5rc",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "PolyLite PLA Pro @U1",
"inherits": "PolyLite PLA Pro @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM019_00",
"setting_id": "GxuEzTdHffrvh2q6",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "PolyLite PLA Pro Metallic @Snapmaker U1",
"inherits": "PolyLite PLA Pro Metallic @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL75_00",
"setting_id": "21wjCLo6hOb9p38K",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "PolyLite PLA Starlight @Snapmaker U1",
"inherits": "PolyLite PLA Starlight @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL67_00",
"setting_id": "geXEuSvWTJD0rK7F",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "PolyLite PLA Translucent @Snapmaker U1",
"inherits": "PolyLite PLA Translucent @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL68_00",
"setting_id": "YpMLpguxd61Bs16O",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"from": "system",
"instantiation": "true",
"name": "PolyTerra Dual PLA @0.2 nozzle",
"setting_id": "1258531391",
"setting_id": "UQYgjH1uVxf3d2Nv",
"inherits": "PolyTerra PLA @0.2 nozzle",
"compatible_printers": [
"Snapmaker A250 Dual (0.2 nozzle)",

View File

@@ -3,7 +3,7 @@
"from": "system",
"instantiation": "true",
"name": "PolyTerra J1 PLA @0.2 nozzle",
"setting_id": "1072374370",
"setting_id": "mxKHxGmBZzPLS82O",
"inherits": "PolyTerra PLA @0.2 nozzle",
"compatible_printers": [
"Snapmaker J1 (0.2 nozzle)"

View File

@@ -3,7 +3,7 @@
"from": "system",
"instantiation": "true",
"name": "PolyTerra J1 PLA",
"setting_id": "3958200796",
"setting_id": "4MZWZX7QPBzxdEGj",
"inherits": "PolyTerra PLA @base",
"compatible_printers": [
"Snapmaker J1 (0.4 nozzle)",

View File

@@ -3,7 +3,7 @@
"from": "system",
"instantiation": "true",
"name": "PolyTerra PLA @0.2 nozzle",
"setting_id": "409934824",
"setting_id": "6W1ygT08NordBdIW",
"inherits": "PolyTerra PLA @base",
"compatible_printers": [
"Snapmaker A250 (0.2 nozzle)",

View File

@@ -4,7 +4,7 @@
"renamed_from": "PolyTerra PLA @U1",
"inherits": "PolyTerra PLA @Snapmaker U1 base",
"from": "system",
"setting_id": "12580059400",
"setting_id": "kyxayLqRGrKKBwqp",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "PolyTerra PLA Marble @Snapmaker U1",
"inherits": "PolyTerra PLA Marble @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL69_00",
"setting_id": "VjVt04nDFS9l9Rl9",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "PolyTerra PLA+ @Snapmaker U1",
"inherits": "PolyTerra PLA+ @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL70_00",
"setting_id": "5L213op8PhcYpqiF",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Polymaker HT-PLA @U1",
"inherits": "Polymaker HT-PLA @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM017_00",
"setting_id": "0A5ETOrUTF0P3HS4",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -4,7 +4,7 @@
"renamed_from": "Polymaker HT-PLA-GF @U1",
"inherits": "Polymaker HT-PLA-GF @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSPM018_00",
"setting_id": "i0LA17aaWvgLG7xd",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "Polymaker PETG @Snapmaker U1",
"inherits": "Polymaker PETG @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL76_00",
"setting_id": "kS4t66kFCXtambwx",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "Polymaker PETG Galaxy @Snapmaker U1",
"inherits": "Polymaker PETG Galaxy @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL77_00",
"setting_id": "a5yZ1QlqIGEAW1sU",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "Polymaker PLA @Snapmaker U1",
"inherits": "Polymaker PLA @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL78_00",
"setting_id": "NSuD5f5eVr8SHA4n",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "Polymaker PLA Pro @Snapmaker U1",
"inherits": "Polymaker PLA Pro @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL79_00",
"setting_id": "0iJ5qjVvmrkRzpZD",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"

View File

@@ -3,7 +3,7 @@
"name": "Polymaker PLA Pro Metallic @Snapmaker U1",
"inherits": "Polymaker PLA Pro Metallic @Snapmaker U1 base",
"from": "system",
"setting_id": "GFSL80_00",
"setting_id": "s4F24JmyDykNvtAV",
"instantiation": "true",
"compatible_printers": [
"Snapmaker U1 (0.4 nozzle)"