mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Reduce size by Json Fromatting (#13163)
Reduce the size of current and new JSONs by standardising them with 1 tab indentation instead of 4 spaces. This effectively reduces the size by almost 20 MB. | Current | New | |---|---| | 85.2 Mib | 67 Mib | Used [JQ](https://jqlang.org/) `--tab` to automatically format every current JSON. > [!NOTE] > Some profiles had the arrays on the same line, but those created by Orca were in the standard format (each object below the previous one). In some cases, this increases the number of tabs due to the new lines, but the increase is negligible, and this way both the base profiles and those created by Orca maintain the same style.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"type": "machine_model",
|
||||
"name": "Sovol SV08",
|
||||
"model_id": "Sovol-SV08",
|
||||
"nozzle_diameter": "0.2;0.4;0.6;0.8",
|
||||
"machine_tech": "FFF",
|
||||
"family": "Sovol",
|
||||
"bed_model": "sovol_sv08_buildplate_model.stl",
|
||||
"bed_texture": "sovol_sv08_buildplate_texture.png",
|
||||
"hotend_model": "",
|
||||
"default_materials": "Sovol SV08 PLA;Sovol SV08 PLA @SV08 0.2 nozzle;Sovol SV08 ABS;Sovol SV08 PETG;Sovol SV08 TPU"
|
||||
}
|
||||
"type": "machine_model",
|
||||
"name": "Sovol SV08",
|
||||
"model_id": "Sovol-SV08",
|
||||
"nozzle_diameter": "0.2;0.4;0.6;0.8",
|
||||
"machine_tech": "FFF",
|
||||
"family": "Sovol",
|
||||
"bed_model": "sovol_sv08_buildplate_model.stl",
|
||||
"bed_texture": "sovol_sv08_buildplate_texture.png",
|
||||
"hotend_model": "",
|
||||
"default_materials": "Sovol SV08 PLA;Sovol SV08 PLA @SV08 0.2 nozzle;Sovol SV08 ABS;Sovol SV08 PETG;Sovol SV08 TPU"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user