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
committed by GitHub
parent 3b58217b47
commit 8cb2e4e01e
7876 changed files with 8152 additions and 6541 deletions

View File

@@ -3,7 +3,7 @@
"name": "WonderMaker ABS @WonderMaker ZR Ultra S",
"inherits": "WonderMaker ABS",
"from": "system",
"setting_id": "GFSB01_07",
"setting_id": "uDsaIAQaCZJNxUcR",
"instantiation": "true",
"chamber_temperatures": [
"60"

View File

@@ -3,6 +3,7 @@
"name": "WonderMaker ABS",
"inherits": "fdm_filament_abs",
"from": "system",
"setting_id": "cyLAXg9zBIDNkYNx",
"filament_id": "GFB00",
"instantiation": "true",
"description": "When printing this filament, there's a risk of warping and low layer adhesion strength. To get better results, please refer to this wiki: Printing Tips for High Temp / Engineering materials.",

View File

@@ -3,7 +3,7 @@
"name": "WonderMaker ASA @WonderMaker ZR Ultra S",
"inherits": "WonderMaker ASA",
"from": "system",
"setting_id": "GFSB01_07",
"setting_id": "UFAjAywKaIFE8fh4",
"instantiation": "true",
"chamber_temperatures": [
"60"

View File

@@ -3,6 +3,7 @@
"name": "WonderMaker ASA",
"inherits": "fdm_filament_asa",
"from": "system",
"setting_id": "Wu70ukKHBqIa4TDv",
"filament_id": "GFB01",
"instantiation": "true",
"description": "When printing this filament, there's a risk of warping and low layer adhesion strength. To get better results, please refer to this wiki: Printing Tips for High Temp / Engineering materials.",

View File

@@ -3,7 +3,7 @@
"name": "WonderMaker PET-CF @WonderMaker ZR Ultra S",
"inherits": "WonderMaker PET-CF",
"from": "system",
"setting_id": "GFST01_00",
"setting_id": "StweV7VENDenJpre",
"instantiation": "true",
"chamber_temperatures": [
"60"

View File

@@ -3,6 +3,7 @@
"name": "WonderMaker PET-CF",
"inherits": "fdm_filament_pet",
"from": "system",
"setting_id": "Rnm03E1ifi5A2vrQ",
"filament_id": "GFT01",
"instantiation": "true",
"description": "When printing this filament, there's a risk of nozzle clogging, oozing, warping and low layer adhesion strength. To get better results, please refer to this wiki: Printing Tips for High Temp / Engineering materials.",

View File

@@ -3,6 +3,7 @@
"name": "WonderMaker PETG Basic",
"inherits": "fdm_filament_pet",
"from": "system",
"setting_id": "ZtPZlMNIqq3Gaavc",
"filament_id": "GFG00",
"instantiation": "true",
"description": "To get better transparent or translucent results with the corresponding filament, please refer to this wiki: Printing tips for transparent PETG.",

View File

@@ -3,6 +3,7 @@
"name": "WonderMaker PLA Basic",
"inherits": "fdm_filament_pla",
"from": "system",
"setting_id": "HRFI81hKAaT1LwjF",
"filament_id": "GFA00",
"instantiation": "true",
"filament_cost": [

View File

@@ -3,6 +3,7 @@
"name": "WonderMaker PLA Marble",
"inherits": "fdm_filament_pla",
"from": "system",
"setting_id": "eudiDwK2EVLlGnha",
"filament_id": "GFA07",
"instantiation": "true",
"filament_cost": [

View File

@@ -3,6 +3,7 @@
"name": "WonderMaker PLA Matte",
"inherits": "fdm_filament_pla",
"from": "system",
"setting_id": "YufHNkKBRBBxucHO",
"filament_id": "GFA01",
"instantiation": "true",
"filament_cost": [

View File

@@ -3,6 +3,7 @@
"name": "WonderMaker PLA Metal",
"inherits": "fdm_filament_pla",
"from": "system",
"setting_id": "4B7gD5YwPbUCvLAh",
"filament_id": "GFA02",
"instantiation": "true",
"description": "To make the prints get higher gloss, please dry the filament before use, and set the outer wall speed to be 40 to 60 mm/s when slicing.",

View File

@@ -3,6 +3,7 @@
"name": "WonderMaker PLA Silk",
"inherits": "fdm_filament_pla",
"from": "system",
"setting_id": "8kSWEkCpitdwX11c",
"filament_id": "GFA05",
"instantiation": "true",
"description": "To make the prints get higher gloss, please dry the filament before use, and set the outer wall speed to be 40 to 60 mm/s when slicing.",

View File

@@ -3,6 +3,7 @@
"name": "WonderMaker PLA Wood",
"inherits": "fdm_filament_pla",
"from": "system",
"setting_id": "KxnOjANQuyO10zzH",
"filament_id": "GFA16",
"instantiation": "true",
"filament_cost": [

View File

@@ -3,6 +3,7 @@
"name": "WonderMaker PVA",
"inherits": "fdm_filament_pva",
"from": "system",
"setting_id": "PRdEoagTzltjzJCQ",
"filament_id": "GFS04",
"instantiation": "true",
"description": "This is a water-soluble support filament, and usually it is only for the support structure and not for the model body. Printing this filament is of many requirements, and to get better printing quality, please refer to this wiki: PVA Printing Guide.",

View File

@@ -3,6 +3,7 @@
"name": "WonderMaker TPU 95A",
"inherits": "fdm_filament_tpu",
"from": "system",
"setting_id": "eUyRprcb22IdYNv3",
"filament_id": "GFU01",
"instantiation": "true",
"description": "This filament is too soft and not compatible with the AMS. Printing it is of many requirements, and to get better printing quality, please refer to this wiki: TPU printing guide.",