mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-13 12:07:41 +00:00
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:
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo ASA @EN2 Series",
|
||||
"inherits": "Elegoo ASA @base",
|
||||
"from": "system",
|
||||
"setting_id": "EASAEN2",
|
||||
"setting_id": "EsVhkMWxx6k3L7f9",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"8"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PETG @EN2 Series",
|
||||
"inherits": "Elegoo PETG @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPETGEN2",
|
||||
"setting_id": "nLsZ6NET1mvnoGGC",
|
||||
"instantiation": "true",
|
||||
"pressure_advance": [
|
||||
"0.024"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PETG PRO @EN2 Series",
|
||||
"inherits": "Elegoo PETG @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPETGPROEN2",
|
||||
"setting_id": "47TFK2SdXkanFany",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"8"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PETG Translucent @EN2 Series",
|
||||
"inherits": "Elegoo PETG @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPETGTRANSEN2",
|
||||
"setting_id": "PG4cLzHQ2okqwTVi",
|
||||
"instantiation": "true",
|
||||
"pressure_advance": [
|
||||
"0.024"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PETG-CF @EN2 Series",
|
||||
"inherits": "Elegoo PETG @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPETGCFEN2",
|
||||
"setting_id": "xVvTmdiPx4DqsoSt",
|
||||
"instantiation": "true",
|
||||
"pressure_advance": [
|
||||
"0.024"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PETG-GF @EN2 Series",
|
||||
"inherits": "Elegoo PETG @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPETGFEN2",
|
||||
"setting_id": "Wuj48uGxkjtu1k0E",
|
||||
"instantiation": "true",
|
||||
"pressure_advance": [
|
||||
"0.024"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PLA @EN2 Series",
|
||||
"inherits": "Elegoo PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPLAEN2",
|
||||
"setting_id": "qqTgiLtLxaGimLU9",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"9"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PLA Basic @EN2 Series",
|
||||
"inherits": "Elegoo PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPLABASICEN2",
|
||||
"setting_id": "rKMXIa1T57ARSSew",
|
||||
"instantiation": "true",
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PLA Galaxy @EN2 Series",
|
||||
"inherits": "Elegoo PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPLAGALAXYEN2",
|
||||
"setting_id": "dK5fXHKyvXbajhfU",
|
||||
"instantiation": "true",
|
||||
"fan_min_speed": [
|
||||
"80"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PLA Marble @EN2 Series",
|
||||
"inherits": "Elegoo PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPLAMARBLEEN2",
|
||||
"setting_id": "vcJBgxGVh5Rl3dRy",
|
||||
"instantiation": "true",
|
||||
"fan_min_speed": [
|
||||
"80"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PLA Matte @EN2 Series",
|
||||
"inherits": "Elegoo PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPLAMEN2",
|
||||
"setting_id": "pFzHY2WtgjYBAq1c",
|
||||
"instantiation": "true",
|
||||
"fan_cooling_layer_time": [
|
||||
"80"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PLA PRO @EN2 Series",
|
||||
"inherits": "Elegoo PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPLAPROEN2",
|
||||
"setting_id": "AP6zWYwNv7aXdT4e",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"12"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PLA Silk @EN2 Series",
|
||||
"inherits": "Elegoo PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPLASEN2",
|
||||
"setting_id": "AquzfXzcf6CxPLmL",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"9"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PLA Sparkle @EN2 Series",
|
||||
"inherits": "Elegoo PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPLASPARKLEEN2",
|
||||
"setting_id": "sYpjo9kbuDSM5YXe",
|
||||
"instantiation": "true",
|
||||
"fan_min_speed": [
|
||||
"80"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PLA Wood @EN2 Series",
|
||||
"inherits": "Elegoo PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPLAWOODEN2",
|
||||
"setting_id": "FCCgNMxR3m3CtWBL",
|
||||
"instantiation": "true",
|
||||
"fan_min_speed": [
|
||||
"80"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PLA+ @EN2 Series",
|
||||
"inherits": "Elegoo PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPLAPLUSEN2",
|
||||
"setting_id": "qn1N6b1JCgut6S69",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"12"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "Elegoo PLA-CF @EN2 Series",
|
||||
"inherits": "Elegoo PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "EPLACFEN2",
|
||||
"setting_id": "vmxHMRDkf1EpLGx1",
|
||||
"instantiation": "true",
|
||||
"fan_cooling_layer_time": [
|
||||
"80"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"renamed_from": "Elegoo RAPID PETG @EN2 Series",
|
||||
"inherits": "Elegoo PETG @base",
|
||||
"from": "system",
|
||||
"setting_id": "ERPETGEN2",
|
||||
"setting_id": "7Nqa8yKgcpoRnMhS",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"10"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"renamed_from": "Elegoo RAPID PLA+ @EN2 Series",
|
||||
"inherits": "Elegoo PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "ERPLAPLUSEN2",
|
||||
"setting_id": "GRiM2kKnyW0xiFoS",
|
||||
"instantiation": "true",
|
||||
"fan_cooling_layer_time": [
|
||||
"80"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"renamed_from": "Elegoo RAPID TPU 95A @EN2 Series",
|
||||
"inherits": "Elegoo TPU @base",
|
||||
"from": "system",
|
||||
"setting_id": "ERTPU95AEN2",
|
||||
"setting_id": "NcE57l7rlZXMQqqO",
|
||||
"instantiation": "true",
|
||||
"pressure_advance": [
|
||||
"0.024"
|
||||
|
||||
Reference in New Issue
Block a user