mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-01 15:22:21 +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:
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon ABS @Cubicon xCeler-I 0.4 nozzle",
|
||||
"inherits": "Cubicon ABS @base",
|
||||
"setting_id": "VJEyK87ZYvHmamB9",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-I 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon ABS @Cubicon xCeler-Mini 0.4 nozzle",
|
||||
"inherits": "Cubicon ABS @base",
|
||||
"from": "system",
|
||||
"setting_id": "Kz41mb2M9xLbEJ97",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Mini 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon ABS @Cubicon xCeler-Plus 0.4 nozzle",
|
||||
"inherits": "Cubicon ABS @base",
|
||||
"setting_id": "A5FQdwh0Xo7aTRpq",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Plus 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon ABS @base",
|
||||
"inherits": "fdm_filament_abs",
|
||||
"setting_id": "aZRVIlDze62Bbw81",
|
||||
"filament_id": "P510cfb0",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon ABS-A100 @Cubicon xCeler-I 0.4 nozzle",
|
||||
"inherits": "Cubicon ABS-A100 @base",
|
||||
"setting_id": "OfiOryklf7FDVCz8",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-I 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon ABS-A100 @Cubicon xCeler-Mini 0.4 nozzle",
|
||||
"inherits": "Cubicon ABS-A100 @base",
|
||||
"from": "system",
|
||||
"setting_id": "pIyU9uXQ5V3hsg5F",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Mini 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon ABS-A100 @Cubicon xCeler-Plus 0.4 nozzle",
|
||||
"inherits": "Cubicon ABS-A100 @base",
|
||||
"setting_id": "xhYh9x1vescinfbF",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Plus 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon ABS-A100 @base",
|
||||
"inherits": "Cubicon ABS @base",
|
||||
"setting_id": "vGIT4KZvqojIh2up",
|
||||
"filament_id": "P510cfb1",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon ABSk @Cubicon xCeler-I 0.4 nozzle",
|
||||
"inherits": "Cubicon ABSk @base",
|
||||
"setting_id": "TXcodZkab4fofnEn",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-I 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon ABSk @Cubicon xCeler-Mini 0.4 nozzle",
|
||||
"inherits": "Cubicon ABSk @base",
|
||||
"from": "system",
|
||||
"setting_id": "CsthNnKn8WlBbkP4",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Mini 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon ABSk @Cubicon xCeler-Plus 0.4 nozzle",
|
||||
"inherits": "Cubicon ABSk @base",
|
||||
"setting_id": "UVitMFMxvdf34qZw",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Plus 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon ABSk @base",
|
||||
"inherits": "Cubicon ABS @base",
|
||||
"setting_id": "UbOUO0K3Y2iRPBtf",
|
||||
"filament_id": "P510cfb2",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon PA-CF @Cubicon xCeler-I 0.4 nozzle",
|
||||
"inherits": "Cubicon PA-CF @base",
|
||||
"setting_id": "nupuIJggdc1EKDqG",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-I 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PA-CF @Cubicon xCeler-Mini 0.4 nozzle",
|
||||
"inherits": "Cubicon PA-CF @base",
|
||||
"from": "system",
|
||||
"setting_id": "NPjuy4deP6Ly7u9s",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Mini 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon PA-CF @Cubicon xCeler-Plus 0.4 nozzle",
|
||||
"inherits": "Cubicon PA-CF @base",
|
||||
"setting_id": "ygB1Uf9Vbw9LJZc8",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Plus 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon PA-CF @base",
|
||||
"inherits": "fdm_filament_pa",
|
||||
"setting_id": "55cJDyCoEudfOePY",
|
||||
"filament_id": "P510cfd0",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon PC @Cubicon xCeler-I 0.4 nozzle",
|
||||
"inherits": "Cubicon PC @base",
|
||||
"setting_id": "c0sUPS0SRYUNjEpB",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-I 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PC @Cubicon xCeler-Mini 0.4 nozzle",
|
||||
"inherits": "Cubicon PC @base",
|
||||
"from": "system",
|
||||
"setting_id": "XGXjHwuHUjtAJGl1",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Mini 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon PC @Cubicon xCeler-Plus 0.4 nozzle",
|
||||
"inherits": "Cubicon PC @base",
|
||||
"setting_id": "jbYKOK1A0Oxm9t0f",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Plus 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon PC @base",
|
||||
"inherits": "fdm_filament_pc",
|
||||
"setting_id": "Mzg6jfwb2nqfGkdV",
|
||||
"filament_id": "P510cfd0",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon PETG @Cubicon xCeler-I 0.4 nozzle",
|
||||
"inherits": "Cubicon PETG @base",
|
||||
"setting_id": "dsX01tCkd2Usk104",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-I 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PETG @Cubicon xCeler-Mini 0.4 nozzle",
|
||||
"inherits": "Cubicon PETG @base",
|
||||
"from": "system",
|
||||
"setting_id": "2hYoCR5qUXCWIAxZ",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Mini 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon PETG @Cubicon xCeler-Plus 0.4 nozzle",
|
||||
"inherits": "Cubicon PETG @base",
|
||||
"setting_id": "5pfiRdyNz9dvT4Q6",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Plus 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon PETG @base",
|
||||
"inherits": "fdm_filament_pet",
|
||||
"setting_id": "bGfz4phwIdqSz0Hx",
|
||||
"filament_id": "P510cfc0",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PLA @Cubicon xCeler-I 0.4 nozzle",
|
||||
"inherits": "Cubicon PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "xXJgHAeNf1JdCitr",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-I 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PLA @Cubicon xCeler-Mini 0.4 nozzle",
|
||||
"inherits": "Cubicon PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "o2BQL6OKtxDmBkWV",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Mini 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PLA @Cubicon xCeler-Plus 0.4 nozzle",
|
||||
"inherits": "Cubicon PLA @base",
|
||||
"from": "system",
|
||||
"setting_id": "WkZrzDlGvb25OtrF",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Plus 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PLA @base",
|
||||
"inherits": "fdm_filament_pla",
|
||||
"from": "system",
|
||||
"setting_id": "ypwdJAu0NlEsWpf4",
|
||||
"filament_id": "P510cfa0",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PLA+ @Cubicon xCeler-I 0.4 nozzle",
|
||||
"inherits": "Cubicon PLA+ @base",
|
||||
"from": "system",
|
||||
"setting_id": "fNR2Bw3e4TGcWhq0",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-I 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PLA+ @Cubicon xCeler-Mini 0.4 nozzle",
|
||||
"inherits": "Cubicon PLA+ @base",
|
||||
"from": "system",
|
||||
"setting_id": "wukhnaCJaOLUUdiU",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Mini 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PLA+ @Cubicon xCeler-Plus 0.4 nozzle",
|
||||
"inherits": "Cubicon PLA+ @base",
|
||||
"from": "system",
|
||||
"setting_id": "JVShu8DKQ3euGHec",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Plus 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon PLA+ @base",
|
||||
"inherits": "Cubicon PLA @base",
|
||||
"setting_id": "ETnuhiOZRh1jxrVk",
|
||||
"filament_id": "P510cfa1",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PLAi21 @Cubicon xCeler-I 0.4 nozzle",
|
||||
"inherits": "Cubicon PLAi21 @base",
|
||||
"from": "system",
|
||||
"setting_id": "vcLVF3cglagBfVAF",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-I 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PLAi21 @Cubicon xCeler-Mini 0.4 nozzle",
|
||||
"inherits": "Cubicon PLAi21 @base",
|
||||
"from": "system",
|
||||
"setting_id": "3TbOucKB5TGk8sXG",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Mini 0.4 nozzle"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon PLAi21 @Cubicon xCeler-Plus 0.4 nozzle",
|
||||
"inherits": "Cubicon PLAi21 @base",
|
||||
"from": "system",
|
||||
"setting_id": "Vm1oDASHoFUfDrzQ",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
"Cubicon xCeler-Plus 0.4 nozzle"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "filament",
|
||||
"name": "Cubicon PLAi21 @base",
|
||||
"inherits": "Cubicon PLA @base",
|
||||
"setting_id": "mnwC7ijXXV72lBOt",
|
||||
"filament_id": "P510cfa2",
|
||||
"instantiation": "true",
|
||||
"compatible_printers": [
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon xCeler-I 0.4 nozzle",
|
||||
"inherits": "fdm_machine_common",
|
||||
"from": "system",
|
||||
"setting_id": "Num5CMrrTDvWXQVQ",
|
||||
"instantiation": "true",
|
||||
"adaptive_bed_mesh_margin": "0",
|
||||
"auxiliary_fan": "1",
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon xCeler-Mini 0.4 nozzle",
|
||||
"inherits": "fdm_machine_common",
|
||||
"from": "system",
|
||||
"setting_id": "rr7eQd0tw3utAK9f",
|
||||
"instantiation": "true",
|
||||
"adaptive_bed_mesh_margin": "0",
|
||||
"auxiliary_fan": "1",
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "Cubicon xCeler-Plus 0.4 nozzle",
|
||||
"inherits": "fdm_machine_common",
|
||||
"from": "system",
|
||||
"setting_id": "7HzIqD1n0ns79wV1",
|
||||
"instantiation": "true",
|
||||
"adaptive_bed_mesh_margin": "0",
|
||||
"auxiliary_fan": "1",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "process",
|
||||
"name": "cubicon default @Cubicon xCeler-I 0.4 nozzle",
|
||||
"inherits": "cubicon common @base",
|
||||
"setting_id": "atkrxehaOoWETk2P",
|
||||
"instantiation": "true",
|
||||
"print_settings_id": "cubicon default @Cubicon xCeler-I 0.4 nozzle",
|
||||
"compatible_printers": [
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "process",
|
||||
"name": "cubicon default @Cubicon xCeler-Mini 0.4 nozzle",
|
||||
"inherits": "cubicon common @base",
|
||||
"setting_id": "M1SrvVfJvyiFUKDZ",
|
||||
"instantiation": "true",
|
||||
"print_settings_id": "cubicon default @Cubicon xCeler-Mini 0.4 nozzle",
|
||||
"compatible_printers": [
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"type": "process",
|
||||
"name": "cubicon default @Cubicon xCeler-Plus 0.4 nozzle",
|
||||
"inherits": "cubicon common @base",
|
||||
"setting_id": "SZJtXlK6E6XAKk1Z",
|
||||
"instantiation": "true",
|
||||
"print_settings_id": "cubicon default @Cubicon xCeler-Plus 0.4 nozzle",
|
||||
"compatible_printers": [
|
||||
|
||||
Reference in New Issue
Block a user