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

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP017",
"setting_id": "GFSEP017_00",
"setting_id": "R1lkPc60BdFq6i2Z",
"name": "Eolas Prints ABS @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP018",
"setting_id": "GFSEP018_00",
"setting_id": "JFXFsEzqXxNqxnsL",
"name": "Eolas Prints ASA @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP010",
"setting_id": "GFSEP010_00",
"setting_id": "u9fzEmHRAACOHT6J",
"name": "Eolas Prints PETG @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP012",
"setting_id": "GFSEP012_00",
"setting_id": "BY3z4yKW9PQZwgto",
"name": "Eolas Prints PETG Transition @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP011",
"setting_id": "GFSEP011_00",
"setting_id": "eexjO9xiesNROPCK",
"name": "Eolas Prints PETG UV Resistant @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP008",
"setting_id": "GFSEP008_00",
"setting_id": "LAihILsSxo3djWjq",
"name": "Eolas Prints PLA Antibacterial @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP005",
"setting_id": "GFSEP005_00",
"setting_id": "5g69jS4PRY0PbXvI",
"name": "Eolas Prints PLA High Speed @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP006",
"setting_id": "GFSEP006_00",
"setting_id": "jdjLUTsIovrt3UAF",
"name": "Eolas Prints PLA INGEO 850 @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP007",
"setting_id": "GFSEP007_00",
"setting_id": "AafBj7XbFWaNhKHu",
"name": "Eolas Prints PLA INGEO 870 @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP002",
"setting_id": "GFSEP002_00",
"setting_id": "7LiJHuwirgABvbUa",
"name": "Eolas Prints PLA Matte @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP004",
"setting_id": "GFSEP004_00",
"setting_id": "sKgUBhF3VvETDkwg",
"name": "Eolas Prints PLA Neon @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP001",
"setting_id": "GFSEP001_00",
"setting_id": "O2Ur7FIG2YlVEyZp",
"name": "Eolas Prints PLA Premium @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP003",
"setting_id": "GFSEP003_00",
"setting_id": "WN0GdqBsjhvnyDmG",
"name": "Eolas Prints PLA Silk @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP009",
"setting_id": "GFSEP009_00",
"setting_id": "o3RoG3NGSBlyBkfZ",
"name": "Eolas Prints PLA Transition @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP013",
"setting_id": "GFSEP013_00",
"setting_id": "bQPvp6BCMzcG8FOi",
"name": "Eolas Prints TPU Flex 93A @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP014",
"setting_id": "GFSEP014_00",
"setting_id": "XIFP4KMuMtXF5bjQ",
"name": "Eolas Prints TPU Flex D53 @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP015",
"setting_id": "GFSEP015_00",
"setting_id": "rJmsm0zjvsk9Dy0G",
"name": "Eolas Prints TPU D60 UV Resistant @System",
"from": "system",
"instantiation": "true",

View File

@@ -1,7 +1,7 @@
{
"type": "filament",
"filament_id": "GFSEP016",
"setting_id": "GFSEP016_00",
"setting_id": "CM24KGoHLt0yLH93",
"name": "Eolas Prints TPU Transition @System",
"from": "system",
"instantiation": "true",