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,232 +1,232 @@
{
"type": "machine",
"name": "CoLiDo DIY 4.0 0.4 nozzle",
"from": "system",
"setting_id": "GM001",
"instantiation": "true",
"printer_model": "CoLiDo DIY 4.0",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",
"bbl_use_printhost": "0",
"bed_custom_model": "",
"bed_custom_texture": "",
"bed_exclude_area": [
"0x0"
],
"bed_mesh_max": "235,220",
"bed_mesh_min": "46,20",
"bed_mesh_probe_distance": "37.8,40",
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\n;[layer_z]\nG92 E0\n",
"best_object_pos": "0.5,0.5",
"change_extrusion_role_gcode": "",
"change_filament_gcode": "",
"cooling_tube_length": "5",
"cooling_tube_retraction": "91.5",
"default_filament_profile": [
"CoLiDo Generic PLA @CoLiDo DIY 4.0"
],
"default_print_profile": "0.20mm Standard @CoLiDo DIY 4.0",
"deretraction_speed": [
"20"
],
"disable_m73": "0",
"emit_machine_limits_to_gcode": "1",
"enable_filament_ramming": "1",
"enable_long_retraction_when_cut": "0",
"extra_loading_move": "-2",
"extruder_clearance_height_to_lid": "135",
"extruder_clearance_height_to_rod": "35",
"extruder_clearance_radius": "40",
"extruder_colour": [
"#FCE94F"
],
"extruder_offset": [
"-32x0"
],
"fan_kickstart": "0",
"fan_speedup_overhangs": "1",
"fan_speedup_time": "0",
"gcode_flavor": "klipper",
"head_wrap_detect_zone": [],
"high_current_on_filament_swap": "0",
"host_type": "octoprint",
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]\n",
"long_retractions_when_cut": [
"0"
],
"machine_end_gcode": "PRINT_END\n",
"machine_load_filament_time": "0",
"machine_max_acceleration_e": [
"5000",
"5000"
],
"machine_max_acceleration_extruding": [
"20000",
"20000"
],
"machine_max_acceleration_retracting": [
"5000",
"5000"
],
"machine_max_acceleration_travel": [
"20000",
"20000"
],
"machine_max_acceleration_x": [
"20000",
"20000"
],
"machine_max_acceleration_y": [
"20000",
"20000"
],
"machine_max_acceleration_z": [
"500",
"200"
],
"machine_max_jerk_e": [
"2.5",
"2.5"
],
"machine_max_jerk_x": [
"12",
"12"
],
"machine_max_jerk_y": [
"12",
"12"
],
"machine_max_jerk_z": [
"0.2",
"0.4"
],
"machine_max_speed_e": [
"25",
"25"
],
"machine_max_speed_x": [
"800",
"200"
],
"machine_max_speed_y": [
"800",
"200"
],
"machine_max_speed_z": [
"12",
"12"
],
"machine_min_extruding_rate": [
"0",
"0"
],
"machine_min_travel_rate": [
"0",
"0"
],
"machine_pause_gcode": "PAUSE",
"machine_start_gcode": "PRINT_START EXTRUDER=[nozzle_temperature_initial_layer] BED=[bed_temperature_initial_layer_single] SPEED_WALL=[initial_layer_speed]\n; You can use following code instead if your PRINT_START macro support Chamber and print area bedmesh\n",
"machine_unload_filament_time": "0",
"manual_filament_change": "0",
"max_layer_height": [
"0.32"
],
"min_layer_height": [
"0.08"
],
"nozzle_diameter": [
"0.4"
],
"nozzle_height": "4",
"nozzle_hrc": "0",
"nozzle_type": "brass",
"nozzle_volume": "0",
"parking_pos_retraction": "92",
"preferred_orientation": "0",
"print_host": "",
"print_host_webui": "",
"printable_area": [
"0x0",
"225x0",
"225x220",
"0x220"
],
"printable_height": "230",
"printer_notes": "",
"printer_settings_id": "CoLiDo DIY 4.0 0.4 nozzle",
"printer_structure": "undefine",
"printer_technology": "FFF",
"printer_variant": "0.4",
"printhost_apikey": "",
"printhost_authorization_type": "key",
"printhost_cafile": "",
"printhost_password": "",
"printhost_port": "",
"printhost_ssl_ignore_revoke": "0",
"printhost_user": "",
"printing_by_object_gcode": "",
"purge_in_prime_tower": "1",
"retract_before_wipe": [
"70%"
],
"retract_length_toolchange": [
"2"
],
"retract_lift_above": [
"0"
],
"retract_lift_below": [
"0"
],
"retract_lift_enforce": [
"All Surfaces"
],
"retract_restart_extra": [
"0"
],
"retract_restart_extra_toolchange": [
"0"
],
"retract_when_changing_layer": [
"1"
],
"retraction_distances_when_cut": [
"18"
],
"retraction_length": [
"0.8"
],
"retraction_minimum_travel": [
"1"
],
"retraction_speed": [
"20"
],
"scan_first_layer": "0",
"silent_mode": "0",
"single_extruder_multi_material": "1",
"support_air_filtration": "1",
"support_chamber_temp_control": "1",
"support_multi_bed_types": "0",
"template_custom_gcode": "",
"thumbnails": "48x48/PNG, 300x300/PNG",
"thumbnails_format": "PNG",
"time_cost": "0",
"time_lapse_gcode": "",
"upward_compatible_machine": [],
"use_firmware_retraction": "0",
"use_relative_e_distances": "1",
"wipe": [
"1"
],
"wipe_distance": [
"1"
],
"z_hop": [
"0.4"
],
"z_hop_types": [
"Auto Lift"
],
"z_offset": "0"
}
"type": "machine",
"name": "CoLiDo DIY 4.0 0.4 nozzle",
"from": "system",
"setting_id": "GM001",
"instantiation": "true",
"printer_model": "CoLiDo DIY 4.0",
"adaptive_bed_mesh_margin": "0",
"auxiliary_fan": "0",
"bbl_use_printhost": "0",
"bed_custom_model": "",
"bed_custom_texture": "",
"bed_exclude_area": [
"0x0"
],
"bed_mesh_max": "235,220",
"bed_mesh_min": "46,20",
"bed_mesh_probe_distance": "37.8,40",
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\n;[layer_z]\nG92 E0\n",
"best_object_pos": "0.5,0.5",
"change_extrusion_role_gcode": "",
"change_filament_gcode": "",
"cooling_tube_length": "5",
"cooling_tube_retraction": "91.5",
"default_filament_profile": [
"CoLiDo Generic PLA @CoLiDo DIY 4.0"
],
"default_print_profile": "0.20mm Standard @CoLiDo DIY 4.0",
"deretraction_speed": [
"20"
],
"disable_m73": "0",
"emit_machine_limits_to_gcode": "1",
"enable_filament_ramming": "1",
"enable_long_retraction_when_cut": "0",
"extra_loading_move": "-2",
"extruder_clearance_height_to_lid": "135",
"extruder_clearance_height_to_rod": "35",
"extruder_clearance_radius": "40",
"extruder_colour": [
"#FCE94F"
],
"extruder_offset": [
"-32x0"
],
"fan_kickstart": "0",
"fan_speedup_overhangs": "1",
"fan_speedup_time": "0",
"gcode_flavor": "klipper",
"head_wrap_detect_zone": [],
"high_current_on_filament_swap": "0",
"host_type": "octoprint",
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]\n",
"long_retractions_when_cut": [
"0"
],
"machine_end_gcode": "PRINT_END\n",
"machine_load_filament_time": "0",
"machine_max_acceleration_e": [
"5000",
"5000"
],
"machine_max_acceleration_extruding": [
"20000",
"20000"
],
"machine_max_acceleration_retracting": [
"5000",
"5000"
],
"machine_max_acceleration_travel": [
"20000",
"20000"
],
"machine_max_acceleration_x": [
"20000",
"20000"
],
"machine_max_acceleration_y": [
"20000",
"20000"
],
"machine_max_acceleration_z": [
"500",
"200"
],
"machine_max_jerk_e": [
"2.5",
"2.5"
],
"machine_max_jerk_x": [
"12",
"12"
],
"machine_max_jerk_y": [
"12",
"12"
],
"machine_max_jerk_z": [
"0.2",
"0.4"
],
"machine_max_speed_e": [
"25",
"25"
],
"machine_max_speed_x": [
"800",
"200"
],
"machine_max_speed_y": [
"800",
"200"
],
"machine_max_speed_z": [
"12",
"12"
],
"machine_min_extruding_rate": [
"0",
"0"
],
"machine_min_travel_rate": [
"0",
"0"
],
"machine_pause_gcode": "PAUSE",
"machine_start_gcode": "PRINT_START EXTRUDER=[nozzle_temperature_initial_layer] BED=[bed_temperature_initial_layer_single] SPEED_WALL=[initial_layer_speed]\n; You can use following code instead if your PRINT_START macro support Chamber and print area bedmesh\n",
"machine_unload_filament_time": "0",
"manual_filament_change": "0",
"max_layer_height": [
"0.32"
],
"min_layer_height": [
"0.08"
],
"nozzle_diameter": [
"0.4"
],
"nozzle_height": "4",
"nozzle_hrc": "0",
"nozzle_type": "brass",
"nozzle_volume": "0",
"parking_pos_retraction": "92",
"preferred_orientation": "0",
"print_host": "",
"print_host_webui": "",
"printable_area": [
"0x0",
"225x0",
"225x220",
"0x220"
],
"printable_height": "230",
"printer_notes": "",
"printer_settings_id": "CoLiDo DIY 4.0 0.4 nozzle",
"printer_structure": "undefine",
"printer_technology": "FFF",
"printer_variant": "0.4",
"printhost_apikey": "",
"printhost_authorization_type": "key",
"printhost_cafile": "",
"printhost_password": "",
"printhost_port": "",
"printhost_ssl_ignore_revoke": "0",
"printhost_user": "",
"printing_by_object_gcode": "",
"purge_in_prime_tower": "1",
"retract_before_wipe": [
"70%"
],
"retract_length_toolchange": [
"2"
],
"retract_lift_above": [
"0"
],
"retract_lift_below": [
"0"
],
"retract_lift_enforce": [
"All Surfaces"
],
"retract_restart_extra": [
"0"
],
"retract_restart_extra_toolchange": [
"0"
],
"retract_when_changing_layer": [
"1"
],
"retraction_distances_when_cut": [
"18"
],
"retraction_length": [
"0.8"
],
"retraction_minimum_travel": [
"1"
],
"retraction_speed": [
"20"
],
"scan_first_layer": "0",
"silent_mode": "0",
"single_extruder_multi_material": "1",
"support_air_filtration": "1",
"support_chamber_temp_control": "1",
"support_multi_bed_types": "0",
"template_custom_gcode": "",
"thumbnails": "48x48/PNG, 300x300/PNG",
"thumbnails_format": "PNG",
"time_cost": "0",
"time_lapse_gcode": "",
"upward_compatible_machine": [],
"use_firmware_retraction": "0",
"use_relative_e_distances": "1",
"wipe": [
"1"
],
"wipe_distance": [
"1"
],
"z_hop": [
"0.4"
],
"z_hop_types": [
"Auto Lift"
],
"z_offset": "0"
}