mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-30 06:12:12 +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:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "kJslDhHisZSqoNLu",
|
||||
"name": "0.12mm Fine @Tiertime UP300 HS",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "u1Hfo84e0ffI39MP",
|
||||
"name": "0.12mm Fine @Tiertime UP310 Pro",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "LiT2jc5HHSsxdPOY",
|
||||
"name": "0.12mm Fine @Tiertime UP400 Pro",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP026",
|
||||
"setting_id": "LwKN2IKIgniQAUbc",
|
||||
"name": "0.12mm Fine @Tiertime UP600 HS",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "deEyVahMnJBIUh5W",
|
||||
"name": "0.16mm Optimal @Tiertime UP300 HS",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "89hv0us5IMmhpDol",
|
||||
"name": "0.16mm Optimal @Tiertime UP310 Pro",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "yZBSB83IptM1eMzO",
|
||||
"name": "0.16mm Optimal @Tiertime UP400 Pro",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP025",
|
||||
"setting_id": "BfOJljkGUCnVJ0zM",
|
||||
"name": "0.16mm Optimal @Tiertime UP600 HS",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.18mm Fine @Tiertime UP400 Pro 0.6 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.18_nozzle_0.6",
|
||||
"from": "system",
|
||||
"setting_id": "GP015",
|
||||
"setting_id": "RhyeKvmwkRZhOQwa",
|
||||
"instantiation": "true",
|
||||
"description": "It has a smaller layer height and results in smoother surface and higher printing quality.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.18mm Fine @Tiertime UP600 HS 0.6 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.18_nozzle_0.6_HS",
|
||||
"from": "system",
|
||||
"setting_id": "GP021",
|
||||
"setting_id": "MgQfZdkafqp9eRQO",
|
||||
"instantiation": "true",
|
||||
"description": "It has a smaller layer height and results in smoother surface and higher printing quality.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "4a1IpFohcCPCxI1I",
|
||||
"name": "0.20mm Standard @Tiertime UP300 HS",
|
||||
"from": "system",
|
||||
"inherits": "fdm_process_tiertime_HS_common",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "48QrtoSmDHWLbuck",
|
||||
"name": "0.20mm Standard @Tiertime UP310 Pro",
|
||||
"from": "system",
|
||||
"inherits": "fdm_process_tiertime_common",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP001",
|
||||
"setting_id": "QotYAumKUh7h5cBH",
|
||||
"name": "0.20mm Standard @Tiertime UP400 Pro",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP024",
|
||||
"setting_id": "FKDS8Ql5ApZdlsH8",
|
||||
"name": "0.20mm Standard @Tiertime UP600 HS",
|
||||
"from": "system",
|
||||
"inherits": "fdm_process_tiertime_HS_common",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "clvHKafqg81lxC4s",
|
||||
"name": "0.24mm Draft @Tiertime UP300 HS",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "zr1zPgeqxJog1iO6",
|
||||
"name": "0.24mm Draft @Tiertime UP310 Pro",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "L84Tpur6DqX0WI9U",
|
||||
"name": "0.24mm Draft @Tiertime UP400 Pro",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP027",
|
||||
"setting_id": "D7fl6dZLCLa5n8Es",
|
||||
"name": "0.24mm Draft @Tiertime UP600 HS",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.24mm Fine @Tiertime UP400 Pro 0.8 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.24_nozzle_0.8",
|
||||
"from": "system",
|
||||
"setting_id": "GP027",
|
||||
"setting_id": "aIJRdPXiyB5yUtVg",
|
||||
"instantiation": "true",
|
||||
"description": "It has a smaller layer height and results in smoother surface and higher printing quality.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.24mm Fine @Tiertime UP600 HS 0.8 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.24_nozzle_0.8_HS",
|
||||
"from": "system",
|
||||
"setting_id": "GP032",
|
||||
"setting_id": "elPtw7ApN0MhXk3e",
|
||||
"instantiation": "true",
|
||||
"description": "It has a smaller layer height and results in smoother surface and higher printing quality.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.24mm Standard @Tiertime UP400 Pro 0.6 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.24_nozzle_0.6",
|
||||
"from": "system",
|
||||
"setting_id": "GP016",
|
||||
"setting_id": "ZepNPFY7I5atXJhT",
|
||||
"instantiation": "true",
|
||||
"description": "It has a balanced layer height for good quality and reasonable printing time.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.24mm Standard @Tiertime UP600 HS 0.6 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.24_nozzle_0.6_HS",
|
||||
"from": "system",
|
||||
"setting_id": "GP022",
|
||||
"setting_id": "KqXbGOmER4LTCJyR",
|
||||
"instantiation": "true",
|
||||
"description": "It has a balanced layer height for good quality and reasonable printing time.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "CBOtpFjUICGttrgV",
|
||||
"name": "0.28mm Extra Draft @Tiertime UP300 HS",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "ODXIraViN4sdzaKe",
|
||||
"name": "0.28mm Extra Draft @Tiertime UP310 Pro",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP004",
|
||||
"setting_id": "bfRd7zHG5JoOWdXb",
|
||||
"name": "0.28mm Extra Draft @Tiertime UP400 Pro",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"type": "process",
|
||||
"setting_id": "GP028",
|
||||
"setting_id": "gl1nKSyprhumL6ci",
|
||||
"name": "0.28mm Extra Draft @Tiertime UP600 HS",
|
||||
"from": "system",
|
||||
"instantiation": "true",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.30mm Standard @Tiertime UP400 Pro 0.6 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.30_nozzle_0.6",
|
||||
"from": "system",
|
||||
"setting_id": "GP017",
|
||||
"setting_id": "doqZXTwqsRl0Xbbo",
|
||||
"instantiation": "true",
|
||||
"description": "It has a big layer height, and results in apparent layer lines and ordinary printing quality and printing time.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.30mm Standard @Tiertime UP600 HS 0.6 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.30_nozzle_0.6_HS",
|
||||
"from": "system",
|
||||
"setting_id": "GP023",
|
||||
"setting_id": "feDmukIZ41HO21a6",
|
||||
"instantiation": "true",
|
||||
"description": "It has a big layer height, and results in apparent layer lines and ordinary printing quality and printing time.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.30mm Strength @Tiertime UP400 Pro 0.6 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.30_nozzle_0.6",
|
||||
"from": "system",
|
||||
"setting_id": "GP018",
|
||||
"setting_id": "7XmclqpJEKUMRkAi",
|
||||
"instantiation": "true",
|
||||
"description": "It has a big layer height with optimized settings for stronger parts.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.30mm Strength @Tiertime UP600 HS 0.6 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.30_nozzle_0.6_HS",
|
||||
"from": "system",
|
||||
"setting_id": "GP024",
|
||||
"setting_id": "1iJkZeHaeVc8S4GX",
|
||||
"instantiation": "true",
|
||||
"description": "It has a big layer height with optimized settings for stronger parts.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.32mm Standard @Tiertime UP400 Pro 0.8 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.32_nozzle_0.8",
|
||||
"from": "system",
|
||||
"setting_id": "GP028",
|
||||
"setting_id": "UUbjeI3ZdP1eyTr7",
|
||||
"instantiation": "true",
|
||||
"description": "It has a balanced layer height for good quality and reasonable printing time.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.32mm Standard @Tiertime UP600 HS 0.8 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.32_nozzle_0.8_HS",
|
||||
"from": "system",
|
||||
"setting_id": "GP033",
|
||||
"setting_id": "UfghPlQt1E1jSveG",
|
||||
"instantiation": "true",
|
||||
"description": "It has a balanced layer height for good quality and reasonable printing time.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.36mm Draft @Tiertime UP400 Pro 0.6 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.36_nozzle_0.6",
|
||||
"from": "system",
|
||||
"setting_id": "GP019",
|
||||
"setting_id": "pbY5WSAxRGZxbkHK",
|
||||
"instantiation": "true",
|
||||
"description": "It has a bigger layer height for faster printing but with more visible layer lines.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.36mm Draft @Tiertime UP600 HS 0.6 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.36_nozzle_0.6_HS",
|
||||
"from": "system",
|
||||
"setting_id": "GP025",
|
||||
"setting_id": "JvkM4CnQkKrxFCHj",
|
||||
"instantiation": "true",
|
||||
"description": "It has a bigger layer height for faster printing but with more visible layer lines.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.40mm Standard @Tiertime UP400 Pro 0.8 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.40_nozzle_0.8",
|
||||
"from": "system",
|
||||
"setting_id": "GP029",
|
||||
"setting_id": "W3KtcxitNy5O6vIb",
|
||||
"instantiation": "true",
|
||||
"description": "It has a very big layer height, and results in very apparent layer lines, low printing quality and general printing time.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.40mm Standard @Tiertime UP600 HS 0.8 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.40_nozzle_0.8_HS",
|
||||
"from": "system",
|
||||
"setting_id": "GP034",
|
||||
"setting_id": "3IWyC5P6fXDLIawx",
|
||||
"instantiation": "true",
|
||||
"description": "It has a very big layer height, and results in very apparent layer lines, low printing quality and general printing time.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.42mm Extra Draft @Tiertime UP400 Pro 0.6 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.42_nozzle_0.6",
|
||||
"from": "system",
|
||||
"setting_id": "GP020",
|
||||
"setting_id": "joW9WCRXYDNyiypH",
|
||||
"instantiation": "true",
|
||||
"description": "It has the biggest layer height for fastest printing but with very visible layer lines.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.42mm Extra Draft @Tiertime UP600 HS 0.6 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.42_nozzle_0.6_HS",
|
||||
"from": "system",
|
||||
"setting_id": "GP026",
|
||||
"setting_id": "Ho8RblejrdOKug8S",
|
||||
"instantiation": "true",
|
||||
"description": "It has the biggest layer height for fastest printing but with very visible layer lines.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.48mm Draft @Tiertime UP400 Pro 0.8 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.48_nozzle_0.8",
|
||||
"from": "system",
|
||||
"setting_id": "GP030",
|
||||
"setting_id": "LA7i7oOBcbm5n7bO",
|
||||
"instantiation": "true",
|
||||
"description": "It has a bigger layer height for faster printing but with more visible layer lines.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.48mm Draft @Tiertime UP600 HS 0.8 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.48_nozzle_0.8_HS",
|
||||
"from": "system",
|
||||
"setting_id": "GP035",
|
||||
"setting_id": "sRvgc2kM55MRUvGY",
|
||||
"instantiation": "true",
|
||||
"description": "It has a bigger layer height for faster printing but with more visible layer lines.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.56mm Extra Draft @Tiertime UP400 Pro 0.8 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.56_nozzle_0.8",
|
||||
"from": "system",
|
||||
"setting_id": "GP031",
|
||||
"setting_id": "XAuIJcY4WL1KQyO4",
|
||||
"instantiation": "true",
|
||||
"description": "It has the biggest layer height for fastest printing but with very visible layer lines.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "0.56mm Extra Draft @Tiertime UP600 HS 0.8 nozzle",
|
||||
"inherits": "fdm_process_tiertime_0.56_nozzle_0.8_HS",
|
||||
"from": "system",
|
||||
"setting_id": "GP036",
|
||||
"setting_id": "dDorcGm5vvUGQjaj",
|
||||
"instantiation": "true",
|
||||
"description": "It has the biggest layer height for fastest printing but with very visible layer lines.",
|
||||
"elefant_foot_compensation": "0.15",
|
||||
|
||||
Reference in New Issue
Block a user