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,221 +1,221 @@
{
"type": "machine",
"name": "CoLiDo X16 0.4 nozzle",
"from": "system",
"setting_id": "GM001",
"instantiation": "true",
"printer_model": "CoLiDo X16",
"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": "99999,99999",
"bed_mesh_min": "-99999,-99999",
"bed_mesh_probe_distance": "50,50",
"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 X16"
],
"default_print_profile": "0.20mm Standard @CoLiDo X16",
"deretraction_speed": [
"30"
],
"disable_m73": "1",
"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": "88",
"extruder_clearance_height_to_rod": "27",
"extruder_clearance_radius": "65",
"extruder_colour": [
"#FCE94F"
],
"extruder_offset": [
"-5x0"
],
"fan_kickstart": "0",
"fan_speedup_overhangs": "1",
"fan_speedup_time": "0",
"gcode_flavor": "marlin2",
"head_wrap_detect_zone": [],
"high_current_on_filament_swap": "0",
"host_type": "mks",
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]",
"long_retractions_when_cut": [
"0"
],
"machine_end_gcode": "G1 E-1.0 F2100 ; retract\nG92 E0.0\nG1{if max_layer_z < max_print_height} Z{z_offset+min(max_layer_z+30, max_print_height)}{endif} E-3.0 F720 ; move print head up & retract filament\nG4 ; wait\nM104 S0 ; turn off temperature\nM140 S0 ; turn off heatbed\nM107 ; turn off fan\nG1 X0 Y0 F3000 ; park print head\nM84 ; disable motors",
"machine_load_filament_time": "0",
"machine_max_acceleration_e": [
"5000"
],
"machine_max_acceleration_extruding": [
"1000"
],
"machine_max_acceleration_retracting": [
"1000"
],
"machine_max_acceleration_travel": [
"0",
"0"
],
"machine_max_acceleration_x": [
"1000"
],
"machine_max_acceleration_y": [
"1000"
],
"machine_max_acceleration_z": [
"500"
],
"machine_max_jerk_e": [
"5"
],
"machine_max_jerk_x": [
"8"
],
"machine_max_jerk_y": [
"8"
],
"machine_max_jerk_z": [
"0.4"
],
"machine_max_speed_e": [
"60"
],
"machine_max_speed_x": [
"300"
],
"machine_max_speed_y": [
"300"
],
"machine_max_speed_z": [
"10"
],
"machine_min_extruding_rate": [
"0"
],
"machine_min_travel_rate": [
"0"
],
"machine_pause_gcode": "",
"machine_start_gcode": "G90 ; use absolute coordinates\nM83 ; extruder relative mode\nM204 S[machine_max_acceleration_extruding] T[machine_max_acceleration_retracting]\nM104 S[first_layer_temperature] ; set extruder temp\nM140 S[first_layer_bed_temperature] ; set bed temp\nG28 ; home all\nG1 X3.0 Y3.0 Z0.3 F1000 ; move print head up\nM190 S[first_layer_bed_temperature] ; wait for bed temp\nM109 S[first_layer_temperature] ; wait for extruder temp\nG92 E0.0\n; initial load\nG1 E2 F300\nG1 Y153.0 E10.2 F1000\nG1 X4 E0.05 F1000\nG0 Y152.5\nG1 E0.2\nG1 X3.5 E0.05\nG1 Y3 E10.2 F1000\nG92 E0.0",
"machine_tool_change_time": "0",
"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",
"pellet_modded_printer": "0",
"preferred_orientation": "0",
"print_host": "",
"print_host_webui": "",
"printable_area": [
"0x0",
"160x0",
"160x160",
"0x160"
],
"printable_height": "180",
"printer_notes": "",
"printer_settings_id": "CoLiDo X16 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": [
"1"
],
"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": [
"0"
],
"retraction_distances_when_cut": [
"18"
],
"retraction_length": [
"1.2"
],
"retraction_minimum_travel": [
"0.4"
],
"retraction_speed": [
"30"
],
"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": "",
"thumbnails_format": "PNG",
"time_cost": "0",
"time_lapse_gcode": "",
"travel_slope": [
"3"
],
"upward_compatible_machine": [],
"use_firmware_retraction": "0",
"use_relative_e_distances": "1",
"wipe": [
"0"
],
"wipe_distance": [
"1"
],
"z_hop": [
"0.4"
],
"z_hop_types": [
"Auto Lift"
],
"z_offset": "0"
}
"type": "machine",
"name": "CoLiDo X16 0.4 nozzle",
"from": "system",
"setting_id": "GM001",
"instantiation": "true",
"printer_model": "CoLiDo X16",
"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": "99999,99999",
"bed_mesh_min": "-99999,-99999",
"bed_mesh_probe_distance": "50,50",
"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 X16"
],
"default_print_profile": "0.20mm Standard @CoLiDo X16",
"deretraction_speed": [
"30"
],
"disable_m73": "1",
"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": "88",
"extruder_clearance_height_to_rod": "27",
"extruder_clearance_radius": "65",
"extruder_colour": [
"#FCE94F"
],
"extruder_offset": [
"-5x0"
],
"fan_kickstart": "0",
"fan_speedup_overhangs": "1",
"fan_speedup_time": "0",
"gcode_flavor": "marlin2",
"head_wrap_detect_zone": [],
"high_current_on_filament_swap": "0",
"host_type": "mks",
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]",
"long_retractions_when_cut": [
"0"
],
"machine_end_gcode": "G1 E-1.0 F2100 ; retract\nG92 E0.0\nG1{if max_layer_z < max_print_height} Z{z_offset+min(max_layer_z+30, max_print_height)}{endif} E-3.0 F720 ; move print head up & retract filament\nG4 ; wait\nM104 S0 ; turn off temperature\nM140 S0 ; turn off heatbed\nM107 ; turn off fan\nG1 X0 Y0 F3000 ; park print head\nM84 ; disable motors",
"machine_load_filament_time": "0",
"machine_max_acceleration_e": [
"5000"
],
"machine_max_acceleration_extruding": [
"1000"
],
"machine_max_acceleration_retracting": [
"1000"
],
"machine_max_acceleration_travel": [
"0",
"0"
],
"machine_max_acceleration_x": [
"1000"
],
"machine_max_acceleration_y": [
"1000"
],
"machine_max_acceleration_z": [
"500"
],
"machine_max_jerk_e": [
"5"
],
"machine_max_jerk_x": [
"8"
],
"machine_max_jerk_y": [
"8"
],
"machine_max_jerk_z": [
"0.4"
],
"machine_max_speed_e": [
"60"
],
"machine_max_speed_x": [
"300"
],
"machine_max_speed_y": [
"300"
],
"machine_max_speed_z": [
"10"
],
"machine_min_extruding_rate": [
"0"
],
"machine_min_travel_rate": [
"0"
],
"machine_pause_gcode": "",
"machine_start_gcode": "G90 ; use absolute coordinates\nM83 ; extruder relative mode\nM204 S[machine_max_acceleration_extruding] T[machine_max_acceleration_retracting]\nM104 S[first_layer_temperature] ; set extruder temp\nM140 S[first_layer_bed_temperature] ; set bed temp\nG28 ; home all\nG1 X3.0 Y3.0 Z0.3 F1000 ; move print head up\nM190 S[first_layer_bed_temperature] ; wait for bed temp\nM109 S[first_layer_temperature] ; wait for extruder temp\nG92 E0.0\n; initial load\nG1 E2 F300\nG1 Y153.0 E10.2 F1000\nG1 X4 E0.05 F1000\nG0 Y152.5\nG1 E0.2\nG1 X3.5 E0.05\nG1 Y3 E10.2 F1000\nG92 E0.0",
"machine_tool_change_time": "0",
"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",
"pellet_modded_printer": "0",
"preferred_orientation": "0",
"print_host": "",
"print_host_webui": "",
"printable_area": [
"0x0",
"160x0",
"160x160",
"0x160"
],
"printable_height": "180",
"printer_notes": "",
"printer_settings_id": "CoLiDo X16 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": [
"1"
],
"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": [
"0"
],
"retraction_distances_when_cut": [
"18"
],
"retraction_length": [
"1.2"
],
"retraction_minimum_travel": [
"0.4"
],
"retraction_speed": [
"30"
],
"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": "",
"thumbnails_format": "PNG",
"time_cost": "0",
"time_lapse_gcode": "",
"travel_slope": [
"3"
],
"upward_compatible_machine": [],
"use_firmware_retraction": "0",
"use_relative_e_distances": "1",
"wipe": [
"0"
],
"wipe_distance": [
"1"
],
"z_hop": [
"0.4"
],
"z_hop_types": [
"Auto Lift"
],
"z_offset": "0"
}