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,13 +1,13 @@
{
"type": "machine",
"name": "E3NG v1.2S - 0.2 nozzle",
"type": "machine",
"name": "E3NG v1.2S - 0.2 nozzle",
"printer_model": "E3NG v1.2S",
"inherits": "fdm_common_E3NG v1.2S",
"from": "system",
"instantiation": "true",
"default_print_profile": "0.10mm Standard @E3NG v1.2S",
"nozzle_diameter": [
"0.2"
"inherits": "fdm_common_E3NG v1.2S",
"from": "system",
"instantiation": "true",
"default_print_profile": "0.10mm Standard @E3NG v1.2S",
"nozzle_diameter": [
"0.2"
],
"printer_variant": "0.2"
}
"printer_variant": "0.2"
}

View File

@@ -1,13 +1,13 @@
{
"type": "machine",
"name": "E3NG v1.2S - 0.3 nozzle",
"type": "machine",
"name": "E3NG v1.2S - 0.3 nozzle",
"printer_model": "E3NG v1.2S",
"inherits": "fdm_common_E3NG v1.2S",
"from": "system",
"instantiation": "true",
"default_print_profile": "0.15mm Standard @E3NG v1.2S",
"nozzle_diameter": [
"0.3"
"inherits": "fdm_common_E3NG v1.2S",
"from": "system",
"instantiation": "true",
"default_print_profile": "0.15mm Standard @E3NG v1.2S",
"nozzle_diameter": [
"0.3"
],
"printer_variant": "0.3"
}
"printer_variant": "0.3"
}

View File

@@ -1,13 +1,13 @@
{
"type": "machine",
"name": "E3NG v1.2S - 0.4 nozzle",
"type": "machine",
"name": "E3NG v1.2S - 0.4 nozzle",
"printer_model": "E3NG v1.2S",
"inherits": "fdm_common_E3NG v1.2S",
"from": "system",
"instantiation": "true",
"default_print_profile": "0.20mm Standard @E3NG v1.2S",
"nozzle_diameter": [
"0.4"
"inherits": "fdm_common_E3NG v1.2S",
"from": "system",
"instantiation": "true",
"default_print_profile": "0.20mm Standard @E3NG v1.2S",
"nozzle_diameter": [
"0.4"
],
"printer_variant": "0.4"
}
"printer_variant": "0.4"
}

View File

@@ -1,13 +1,13 @@
{
"type": "machine",
"name": "E3NG v1.2S - 0.5 nozzle",
"type": "machine",
"name": "E3NG v1.2S - 0.5 nozzle",
"printer_model": "E3NG v1.2S",
"inherits": "fdm_common_E3NG v1.2S",
"from": "system",
"instantiation": "true",
"default_print_profile": "0.20mm Standard @E3NG v1.2S",
"nozzle_diameter": [
"0.5"
"inherits": "fdm_common_E3NG v1.2S",
"from": "system",
"instantiation": "true",
"default_print_profile": "0.20mm Standard @E3NG v1.2S",
"nozzle_diameter": [
"0.5"
],
"printer_variant": "0.5"
}
"printer_variant": "0.5"
}

View File

@@ -1,13 +1,13 @@
{
"type": "machine",
"name": "E3NG v1.2S - 0.6 nozzle",
"type": "machine",
"name": "E3NG v1.2S - 0.6 nozzle",
"printer_model": "E3NG v1.2S",
"inherits": "fdm_common_E3NG v1.2S",
"from": "system",
"instantiation": "true",
"default_print_profile": "0.25mm Standard @E3NG v1.2S",
"nozzle_diameter": [
"0.6"
"inherits": "fdm_common_E3NG v1.2S",
"from": "system",
"instantiation": "true",
"default_print_profile": "0.25mm Standard @E3NG v1.2S",
"nozzle_diameter": [
"0.6"
],
"printer_variant": "0.6"
}
"printer_variant": "0.6"
}

View File

@@ -1,12 +1,12 @@
{
"type": "machine_model",
"name": "E3NG v1.2S",
"nozzle_diameter": "0.2;0.3;0.4;0.5;0.6",
"bed_model": "E3NG-bed.stl",
"bed_texture": "E3NG-bed-texture.svg",
"model_id": "E3NGV12S",
"family": "RH3D",
"hotend_model": "",
"machine_tech": "FFF",
"default_materials": "Generic ABS @E3NG v1.2S;Generic ASA @E3NG v1.2S;Generic PCCF @E3NG v1.2S;Generic PETG @E3NG v1.2S;Generic PLA @E3NG v1.2S;Generic TPU @E3NG v1.2S"
"type": "machine_model",
"name": "E3NG v1.2S",
"nozzle_diameter": "0.2;0.3;0.4;0.5;0.6",
"bed_model": "E3NG-bed.stl",
"bed_texture": "E3NG-bed-texture.svg",
"model_id": "E3NGV12S",
"family": "RH3D",
"hotend_model": "",
"machine_tech": "FFF",
"default_materials": "Generic ABS @E3NG v1.2S;Generic ASA @E3NG v1.2S;Generic PCCF @E3NG v1.2S;Generic PETG @E3NG v1.2S;Generic PLA @E3NG v1.2S;Generic TPU @E3NG v1.2S"
}

View File

@@ -1,70 +1,70 @@
{
"type": "machine",
"name": "fdm_common_E3NG v1.2S",
"inherits": "fdm_machine_common",
"from": "system",
"instantiation": "false",
"extruder_clearance_height_to_lid": "140",
"extruder_clearance_height_to_rod": "36",
"extruder_clearance_radius": "65",
"machine_max_acceleration_e": [
"7500",
"7500"
],
"machine_max_acceleration_extruding": [
"20000",
"20000"
],
"machine_max_acceleration_retracting": [
"20000",
"20000"
],
"machine_max_acceleration_travel": [
"10000",
"10000"
],
"machine_max_acceleration_x": [
"20000",
"20000"
],
"machine_max_acceleration_y": [
"20000",
"20000"
],
"machine_max_acceleration_z": [
"500",
"500"
],
"machine_max_speed_e": [
"25",
"25"
],
"machine_max_speed_x": [
"400",
"400"
],
"machine_max_speed_y": [
"400",
"400"
],
"machine_max_speed_z": [
"12",
"12"
],
"printable_area": [
"0x0",
"232x0",
"232x232",
"0x232"
],
"printable_height": "245",
"printer_model": "E3NG v1.2S",
"printer_notes": [
"Design by RH3D"
],
"retract_before_wipe": "80%",
"retract_length_toolchange": "0",
"retract_lift_below": "240",
"retraction_minimum_travel": "1.5",
"travel_slope": "1"
}
"type": "machine",
"name": "fdm_common_E3NG v1.2S",
"inherits": "fdm_machine_common",
"from": "system",
"instantiation": "false",
"extruder_clearance_height_to_lid": "140",
"extruder_clearance_height_to_rod": "36",
"extruder_clearance_radius": "65",
"machine_max_acceleration_e": [
"7500",
"7500"
],
"machine_max_acceleration_extruding": [
"20000",
"20000"
],
"machine_max_acceleration_retracting": [
"20000",
"20000"
],
"machine_max_acceleration_travel": [
"10000",
"10000"
],
"machine_max_acceleration_x": [
"20000",
"20000"
],
"machine_max_acceleration_y": [
"20000",
"20000"
],
"machine_max_acceleration_z": [
"500",
"500"
],
"machine_max_speed_e": [
"25",
"25"
],
"machine_max_speed_x": [
"400",
"400"
],
"machine_max_speed_y": [
"400",
"400"
],
"machine_max_speed_z": [
"12",
"12"
],
"printable_area": [
"0x0",
"232x0",
"232x232",
"0x232"
],
"printable_height": "245",
"printer_model": "E3NG v1.2S",
"printer_notes": [
"Design by RH3D"
],
"retract_before_wipe": "80%",
"retract_length_toolchange": "0",
"retract_lift_below": "240",
"retraction_minimum_travel": "1.5",
"travel_slope": "1"
}

View File

@@ -1,55 +1,55 @@
{
"type": "machine",
"name": "fdm_machine_common",
"from": "system",
"instantiation": "false",
"printer_structure": "corexy",
"gcode_flavor": "klipper",
"machine_start_gcode": "M104 S0 ; Stops OrcaSlicer from sending temp waits separately\nM140 S0\nPRINT_START EXTRUDER=[first_layer_temperature] BED=[first_layer_bed_temperature]\n; Start of actual GCode for the print",
"machine_end_gcode": "PRINT_END",
"extruder_colour": "#02aba2",
"extruder_offset": "0x0",
"type": "machine",
"name": "fdm_machine_common",
"from": "system",
"instantiation": "false",
"printer_structure": "corexy",
"gcode_flavor": "klipper",
"machine_start_gcode": "M104 S0 ; Stops OrcaSlicer from sending temp waits separately\nM140 S0\nPRINT_START EXTRUDER=[first_layer_temperature] BED=[first_layer_bed_temperature]\n; Start of actual GCode for the print",
"machine_end_gcode": "PRINT_END",
"extruder_colour": "#02aba2",
"extruder_offset": "0x0",
"emit_machine_limits_to_gcode": "0",
"default_filament_profile": "Generic PLA @E3NG v1.2S",
"machine_min_extruding_rate": [
"0",
"0"
],
"machine_min_travel_rate": [
"0",
"0"
],
"max_layer_height": "0.30",
"min_layer_height": "0.10",
"nozzle_diameter": "0.4",
"printer_settings_id": "",
"printer_technology": "FFF",
"printer_variant": "0.4",
"retraction_minimum_travel": "1",
"retract_when_changing_layer": "1",
"retraction_length": "0.6",
"retract_length_toolchange": "2",
"z_hop": "0.0",
"z_hop_types": "Slope Lift",
"use_firmware_retraction": "1",
"use_relative_e_distances": "1",
"retract_restart_extra": "0",
"retract_restart_extra_toolchange": "0",
"retraction_speed": "40",
"deretraction_speed": "60",
"single_extruder_multi_material": "0",
"thumbnails": [
"16x16/QOI",
"313x173/QOI",
"440x240/QOI",
"480x240/QOI",
"32x32/PNG",
"machine_min_extruding_rate": [
"0",
"0"
],
"machine_min_travel_rate": [
"0",
"0"
],
"max_layer_height": "0.30",
"min_layer_height": "0.10",
"nozzle_diameter": "0.4",
"printer_settings_id": "",
"printer_technology": "FFF",
"printer_variant": "0.4",
"retraction_minimum_travel": "1",
"retract_when_changing_layer": "1",
"retraction_length": "0.6",
"retract_length_toolchange": "2",
"z_hop": "0.0",
"z_hop_types": "Slope Lift",
"use_firmware_retraction": "1",
"use_relative_e_distances": "1",
"retract_restart_extra": "0",
"retract_restart_extra_toolchange": "0",
"retraction_speed": "40",
"deretraction_speed": "60",
"single_extruder_multi_material": "0",
"thumbnails": [
"16x16/QOI",
"313x173/QOI",
"440x240/QOI",
"480x240/QOI",
"32x32/PNG",
"320x240/PNG",
"640x480/PNG"
],
"change_filament_gcode": "PAUSE\nG1 E1.0 F300 ; prime after color change",
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\nG92 E0",
"layer_change_gcode": ";AFTER_LAYER_CHANGE",
"machine_pause_gcode": "PAUSE\n",
"wipe": "1"
}
],
"change_filament_gcode": "PAUSE\nG1 E1.0 F300 ; prime after color change",
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\nG92 E0",
"layer_change_gcode": ";AFTER_LAYER_CHANGE",
"machine_pause_gcode": "PAUSE\n",
"wipe": "1"
}