mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-30 22:32:07 +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": "0.08mm Extra Fine @OpenEYE Peacock V2 0.2 nozzle",
|
||||
"inherits": "fdm_process_openeye_0.08_nozzle_0.2",
|
||||
"from": "system",
|
||||
"setting_id": "GP139",
|
||||
"setting_id": "yzZvIRi5lQjYBhlL",
|
||||
"instantiation": "true",
|
||||
"description": "High quality profile for 0.2mm nozzle, prioritizing print quality.",
|
||||
"default_acceleration": "8000",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.08mm Extra Fine @OpenEYE Peacock V2",
|
||||
"inherits": "fdm_process_openeye_0.08_nozzle_0.4",
|
||||
"from": "system",
|
||||
"setting_id": "GP136",
|
||||
"setting_id": "xwKLqiFWCrUGldma",
|
||||
"instantiation": "true",
|
||||
"default_acceleration": "4000",
|
||||
"gap_infill_speed": "50",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.10mm Standard @OpenEYE Peacock V2 0.2 nozzle",
|
||||
"inherits": "fdm_process_openeye_0.10_nozzle_0.2",
|
||||
"from": "system",
|
||||
"setting_id": "GP123",
|
||||
"setting_id": "rnKBfxEW7XHh12sh",
|
||||
"instantiation": "true",
|
||||
"default_acceleration": "8000",
|
||||
"initial_layer_speed": "40",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.12mm Balanced Quality @OpenEYE Peacock V2 0.2 nozzle",
|
||||
"inherits": "fdm_process_openeye_0.12_nozzle_0.2",
|
||||
"from": "system",
|
||||
"setting_id": "GP140",
|
||||
"setting_id": "fqgA9GWd3xHRa5hs",
|
||||
"instantiation": "true",
|
||||
"default_acceleration": "8000",
|
||||
"initial_layer_speed": "40",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.12mm Fine @OpenEYE Peacock V2",
|
||||
"inherits": "fdm_process_openeye_0.12_nozzle_0.4",
|
||||
"from": "system",
|
||||
"setting_id": "GP142",
|
||||
"setting_id": "U8RMnKyefKwyyEqs",
|
||||
"instantiation": "true",
|
||||
"bottom_shell_layers": "7",
|
||||
"default_acceleration": "4000",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.16mm Balanced Quality @OpenEYE Peacock V2",
|
||||
"inherits": "fdm_process_openeye_0.16_nozzle_0.4",
|
||||
"from": "system",
|
||||
"setting_id": "GP174",
|
||||
"setting_id": "PBks1gcyPcxRhGtr",
|
||||
"instantiation": "true",
|
||||
"description": "High quality profile for 0.16mm layer height, prioritizing print quality and strength.",
|
||||
"default_acceleration": "4000",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.16mm Standard @OpenEYE Peacock V2",
|
||||
"inherits": "fdm_process_openeye_0.16_nozzle_0.4",
|
||||
"from": "system",
|
||||
"setting_id": "GP143",
|
||||
"setting_id": "gArD4KZxMZuJnIUM",
|
||||
"instantiation": "true",
|
||||
"description": "Standard profile for 0.16mm layer height, prioritizing speed.",
|
||||
"default_acceleration": "8000",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.18mm Balanced Quality @OpenEYE Peacock V2 0.6 nozzle",
|
||||
"inherits": "fdm_process_openeye_0.18_nozzle_0.6",
|
||||
"from": "system",
|
||||
"setting_id": "GP137",
|
||||
"setting_id": "EITxuIXk5oMAUbWS",
|
||||
"instantiation": "true",
|
||||
"description": "High quality profile for 0.6mm nozzle, prioritizing print quality and strength.",
|
||||
"bridge_speed": "50",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.20mm Balanced Strength @OpenEYE Peacock V2",
|
||||
"inherits": "fdm_process_openeye_0.20_nozzle_0.4",
|
||||
"from": "system",
|
||||
"setting_id": "GP173",
|
||||
"setting_id": "G98ptq5O00Dv04YG",
|
||||
"instantiation": "true",
|
||||
"description": "High quality profile for 0.2mm layer height, prioritizing strength and print quality.",
|
||||
"bottom_shell_layers": "4",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.20mm Standard @OpenEYE Peacock V2",
|
||||
"inherits": "fdm_process_openeye_0.20_nozzle_0.4",
|
||||
"from": "system",
|
||||
"setting_id": "GP124",
|
||||
"setting_id": "cONwYqNMrRynsMR1",
|
||||
"instantiation": "true",
|
||||
"description": "Standard profile for 0.4mm nozzle, prioritizing speed.",
|
||||
"default_acceleration": "8000",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.24mm Balanced Quality @OpenEYE Peacock V2 0.8 nozzle",
|
||||
"inherits": "fdm_process_openeye_0.24_nozzle_0.8",
|
||||
"from": "system",
|
||||
"setting_id": "GP138",
|
||||
"setting_id": "f21HvEQ2fofjVX5a",
|
||||
"instantiation": "true",
|
||||
"description": "High quality profile for 0.8mm nozzle, prioritizing print quality.",
|
||||
"bridge_speed": "50",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.24mm Balanced Strength @OpenEYE Peacock V2 0.6 nozzle",
|
||||
"inherits": "fdm_process_openeye_0.24_nozzle_0.6",
|
||||
"from": "system",
|
||||
"setting_id": "GP146",
|
||||
"setting_id": "U3qj2P5b6g0bo2MV",
|
||||
"instantiation": "true",
|
||||
"description": "Strength profile for 0.6mm nozzle, prioritizing strength.",
|
||||
"bridge_speed": "50",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.24mm Standard @OpenEYE Peacock V2",
|
||||
"inherits": "fdm_process_openeye_0.24_nozzle_0.4",
|
||||
"from": "system",
|
||||
"setting_id": "GP144",
|
||||
"setting_id": "G27ubepZXkYPQ0IW",
|
||||
"instantiation": "true",
|
||||
"default_acceleration": "8000",
|
||||
"initial_layer_speed": "50",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.30mm Standard @OpenEYE Peacock V2 0.6 nozzle",
|
||||
"inherits": "fdm_process_openeye_0.30_nozzle_0.6",
|
||||
"from": "system",
|
||||
"setting_id": "GP125",
|
||||
"setting_id": "o3HerJQnqHZDinoN",
|
||||
"instantiation": "true",
|
||||
"description": "Standard profile for 0.6mm nozzle, prioritizing speed.",
|
||||
"bridge_speed": "50",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.32mm Balanced Strength @OpenEYE Peacock V2 0.8 nozzle",
|
||||
"inherits": "fdm_process_openeye_0.32_nozzle_0.8",
|
||||
"from": "system",
|
||||
"setting_id": "GP149",
|
||||
"setting_id": "ABm7CjdRKhvk1yYQ",
|
||||
"instantiation": "true",
|
||||
"description": "Strength profile for 0.8mm nozzle, prioritizing strength.",
|
||||
"bridge_speed": "50",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.40mm Standard @OpenEYE Peacock V2 0.8 nozzle",
|
||||
"inherits": "fdm_process_openeye_0.40_nozzle_0.8",
|
||||
"from": "system",
|
||||
"setting_id": "GP126",
|
||||
"setting_id": "SDp0weOnDWdnApMb",
|
||||
"instantiation": "true",
|
||||
"description": "Standard profile for 0.8mm nozzle, prioritizing speed.",
|
||||
"bridge_speed": "50",
|
||||
|
||||
Reference in New Issue
Block a user