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:
Ian Bassi
2026-04-15 11:58:12 -03:00
committed by GitHub
parent f7ef8a14bd
commit 16727644bb
10101 changed files with 1871226 additions and 1860967 deletions

View File

@@ -1,22 +1,22 @@
{
"type": "machine",
"name": "Tronxy X5SA 400 0.4 nozzle",
"inherits": "fdm_machine_common",
"from": "system",
"setting_id": "GM003",
"instantiation": "true",
"printer_model": "Tronxy X5SA 400 Marlin Firmware",
"default_filament_profile": "Generic PLA @System",
"default_print_profile": "0.20mm Standard @Tronxy",
"nozzle_diameter": [
"0.4"
],
"printable_area": [
"0x0",
"400x0",
"400x400",
"0x400"
],
"printable_height": "400",
"machine_start_gcode": "M104 S[nozzle_temperature_initial_layer] ; start heat nozzle\nM140 S[bed_temperature_initial_layer] ; start heat bed\nG90 ; abs coords\nM83 ; extrude relative\nG28 ; home\nM190 S[bed_temperature_initial_layer] ; wait for bed temp\nM109 S[nozzle_temperature_initial_layer] ; wait for nozzle temp\nG1 X10.1 Y20 Z0.28 F5000.0 ; purge line\nG1 X10.1 Y200.0 Z0.28 F1500.0 E15\nG1 X10.4 Y200.0 Z0.28 F5000.0\nG1 X10.4 Y20 Z0.28 F1500.0 E15\nG1 Z5.0 F3000 ; move Z up"
}
"type": "machine",
"name": "Tronxy X5SA 400 0.4 nozzle",
"inherits": "fdm_machine_common",
"from": "system",
"setting_id": "GM003",
"instantiation": "true",
"printer_model": "Tronxy X5SA 400 Marlin Firmware",
"default_filament_profile": "Generic PLA @System",
"default_print_profile": "0.20mm Standard @Tronxy",
"nozzle_diameter": [
"0.4"
],
"printable_area": [
"0x0",
"400x0",
"400x400",
"0x400"
],
"printable_height": "400",
"machine_start_gcode": "M104 S[nozzle_temperature_initial_layer] ; start heat nozzle\nM140 S[bed_temperature_initial_layer] ; start heat bed\nG90 ; abs coords\nM83 ; extrude relative\nG28 ; home\nM190 S[bed_temperature_initial_layer] ; wait for bed temp\nM109 S[nozzle_temperature_initial_layer] ; wait for nozzle temp\nG1 X10.1 Y20 Z0.28 F5000.0 ; purge line\nG1 X10.1 Y200.0 Z0.28 F1500.0 E15\nG1 X10.4 Y200.0 Z0.28 F5000.0\nG1 X10.4 Y20 Z0.28 F1500.0 E15\nG1 Z5.0 F3000 ; move Z up"
}