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,115 +1,115 @@
{
"type": "machine",
"name": "UltiMaker 2 0.4 nozzle",
"inherits": "fdm_machine_common",
"from": "system",
"setting_id": "GM001",
"instantiation": "true",
"printer_model": "UltiMaker 2",
"default_print_profile": "0.18mm Standard @UltiMaker 2",
"nozzle_diameter": [
"0.4"
],
"printable_area": [
"0x0",
"224x0",
"224x225",
"0x225"
],
"printable_height": "212",
"nozzle_type": "undefine",
"auxiliary_fan": "0",
"machine_max_acceleration_extruding": [
"1500",
"1500"
],
"machine_max_acceleration_retracting": [
"1500",
"1500"
],
"machine_max_acceleration_travel": [
"3000",
"3000"
],
"machine_max_acceleration_x": [
"3000",
"3000"
],
"machine_max_acceleration_y": [
"3000",
"3000"
],
"machine_max_acceleration_z": [
"500",
"500"
],
"machine_max_speed_e": [
"120",
"120"
],
"machine_max_speed_x": [
"500",
"500"
],
"machine_max_speed_y": [
"500",
"500"
],
"machine_max_speed_z": [
"12",
"12"
],
"machine_max_jerk_e": [
"2.5",
"2.5"
],
"machine_max_jerk_x": [
"20",
"20"
],
"machine_max_jerk_y": [
"20",
"20"
],
"machine_max_jerk_z": [
"0.4",
"0.4"
],
"max_layer_height": [
"0.3"
],
"min_layer_height": [
"0.08"
],
"printer_settings_id": "Qidi",
"retraction_minimum_travel": [
"5"
],
"retract_before_wipe": [
"70%"
],
"retraction_length": [
"4.5"
],
"retract_length_toolchange": [
"10"
],
"retraction_speed": [
"35"
],
"deretraction_speed": [
"0"
],
"wipe_distance": [
"0.2"
],
"single_extruder_multi_material": "1",
"change_filament_gcode": "",
"machine_pause_gcode": "M0",
"default_filament_profile": [
"Generic PLA @System"
],
"machine_start_gcode": "; # # # # # # START Header\nG21; metric values\nG90; absolute positioning\nM82 ; set extruder to absolute mode\nM107; start with the fan off\n\nM140 S[bed_temperature_initial_layer_single]; start bed heating\n\nG28 X0 Y0 Z0; move X/Y/Z to endstops\nG1 X1 Y6 F15000; move X/Y to start position\nG1 Z35 F9000; move Z to start position\n\n; Wait for bed and nozzle temperatures\nM190 S{hot_plate_temp_initial_layer[0] - 5}; wait for bed temperature - 5\nM140 S[bed_temperature_initial_layer_single]; continue bed heating\nM109 S[nozzle_temperature_initial_layer]; wait for nozzle temperature\n\n; Purge and prime\nM83; set extruder to relative mode\nG92 E0; reset extrusion distance\nG0 X0 Y1 F10000\nG1 F150 E20 ; compress the bowden tube\nG1 E-8 F1200\nG0 X30 Y1 F5000\nG0 F1200 Z{initial_layer_print_height/2}; Cut the connection to priming blob\nG0 X100 F10000; disconnect with the prime blob\nG0 X50; Avoid the metal clip holding the Ultimaker glass plate\nG0 Z0.2 F720\nG1 E8 F1200\nG1 X80 E3 F1000; intro line 1\nG1 X110 E4 F1000 ; intro line 2\nG1 X140 F600; drag filament to decompress bowden tube\nG1 X100 F3200; wipe backwards a bit\nG1 X150 F3200; back to where there is no plastic: avoid dragging\nG92 E0; reset extruder reference\nM82; set extruder to absolute mode\n\n; # # # # # # END Header",
"machine_end_gcode": "; # # # # # # START Footer\nG91; relative coordinates\n;G1 E-1 F1200; retract the filament\nG1 Z+15 X-10 Y-10 E-7 F6000; move Z a bit\n; G1 X-10 Y-10 F6000; move XY a bit\nG1 E-5.5 F300; retract the filament\nG28 X0 Y0; move X/Y to min endstops, so the head is out of the way\nM104 S0; extruder heater off\nM140 S0; heated bed heater off (if you have it)\nM84; disable motors\n; # # # # # # END Footer\n",
"scan_first_layer": "0"
}
"type": "machine",
"name": "UltiMaker 2 0.4 nozzle",
"inherits": "fdm_machine_common",
"from": "system",
"setting_id": "GM001",
"instantiation": "true",
"printer_model": "UltiMaker 2",
"default_print_profile": "0.18mm Standard @UltiMaker 2",
"nozzle_diameter": [
"0.4"
],
"printable_area": [
"0x0",
"224x0",
"224x225",
"0x225"
],
"printable_height": "212",
"nozzle_type": "undefine",
"auxiliary_fan": "0",
"machine_max_acceleration_extruding": [
"1500",
"1500"
],
"machine_max_acceleration_retracting": [
"1500",
"1500"
],
"machine_max_acceleration_travel": [
"3000",
"3000"
],
"machine_max_acceleration_x": [
"3000",
"3000"
],
"machine_max_acceleration_y": [
"3000",
"3000"
],
"machine_max_acceleration_z": [
"500",
"500"
],
"machine_max_speed_e": [
"120",
"120"
],
"machine_max_speed_x": [
"500",
"500"
],
"machine_max_speed_y": [
"500",
"500"
],
"machine_max_speed_z": [
"12",
"12"
],
"machine_max_jerk_e": [
"2.5",
"2.5"
],
"machine_max_jerk_x": [
"20",
"20"
],
"machine_max_jerk_y": [
"20",
"20"
],
"machine_max_jerk_z": [
"0.4",
"0.4"
],
"max_layer_height": [
"0.3"
],
"min_layer_height": [
"0.08"
],
"printer_settings_id": "Qidi",
"retraction_minimum_travel": [
"5"
],
"retract_before_wipe": [
"70%"
],
"retraction_length": [
"4.5"
],
"retract_length_toolchange": [
"10"
],
"retraction_speed": [
"35"
],
"deretraction_speed": [
"0"
],
"wipe_distance": [
"0.2"
],
"single_extruder_multi_material": "1",
"change_filament_gcode": "",
"machine_pause_gcode": "M0",
"default_filament_profile": [
"Generic PLA @System"
],
"machine_start_gcode": "; # # # # # # START Header\nG21; metric values\nG90; absolute positioning\nM82 ; set extruder to absolute mode\nM107; start with the fan off\n\nM140 S[bed_temperature_initial_layer_single]; start bed heating\n\nG28 X0 Y0 Z0; move X/Y/Z to endstops\nG1 X1 Y6 F15000; move X/Y to start position\nG1 Z35 F9000; move Z to start position\n\n; Wait for bed and nozzle temperatures\nM190 S{hot_plate_temp_initial_layer[0] - 5}; wait for bed temperature - 5\nM140 S[bed_temperature_initial_layer_single]; continue bed heating\nM109 S[nozzle_temperature_initial_layer]; wait for nozzle temperature\n\n; Purge and prime\nM83; set extruder to relative mode\nG92 E0; reset extrusion distance\nG0 X0 Y1 F10000\nG1 F150 E20 ; compress the bowden tube\nG1 E-8 F1200\nG0 X30 Y1 F5000\nG0 F1200 Z{initial_layer_print_height/2}; Cut the connection to priming blob\nG0 X100 F10000; disconnect with the prime blob\nG0 X50; Avoid the metal clip holding the Ultimaker glass plate\nG0 Z0.2 F720\nG1 E8 F1200\nG1 X80 E3 F1000; intro line 1\nG1 X110 E4 F1000 ; intro line 2\nG1 X140 F600; drag filament to decompress bowden tube\nG1 X100 F3200; wipe backwards a bit\nG1 X150 F3200; back to where there is no plastic: avoid dragging\nG92 E0; reset extruder reference\nM82; set extruder to absolute mode\n\n; # # # # # # END Header",
"machine_end_gcode": "; # # # # # # START Footer\nG91; relative coordinates\n;G1 E-1 F1200; retract the filament\nG1 Z+15 X-10 Y-10 E-7 F6000; move Z a bit\n; G1 X-10 Y-10 F6000; move XY a bit\nG1 E-5.5 F300; retract the filament\nG28 X0 Y0; move X/Y to min endstops, so the head is out of the way\nM104 S0; extruder heater off\nM140 S0; heated bed heater off (if you have it)\nM84; disable motors\n; # # # # # # END Footer\n",
"scan_first_layer": "0"
}

View File

@@ -1,12 +1,12 @@
{
"type": "machine_model",
"name": "UltiMaker 2",
"model_id": "UltiMaker-2",
"nozzle_diameter": "0.4",
"machine_tech": "FFF",
"family": "UltiMaker",
"bed_model": "ultimaker_2_buildplate_model.stl",
"bed_texture": "ultimaker_2_buildplate_texture.png",
"hotend_model": "ultimaker_hotend.stl",
"default_materials": "Generic ABS @System;Generic PETG @System;Generic PLA @System"
}
"type": "machine_model",
"name": "UltiMaker 2",
"model_id": "UltiMaker-2",
"nozzle_diameter": "0.4",
"machine_tech": "FFF",
"family": "UltiMaker",
"bed_model": "ultimaker_2_buildplate_model.stl",
"bed_texture": "ultimaker_2_buildplate_texture.png",
"hotend_model": "ultimaker_hotend.stl",
"default_materials": "Generic ABS @System;Generic PETG @System;Generic PLA @System"
}

View File

@@ -1,118 +1,118 @@
{
"type": "machine",
"name": "fdm_machine_common",
"from": "system",
"instantiation": "false",
"printer_technology": "FFF",
"deretraction_speed": [
"40"
],
"extruder_colour": [
"#FCE94F"
],
"extruder_offset": [
"0x0"
],
"gcode_flavor": "marlin",
"silent_mode": "0",
"machine_max_acceleration_e": [
"10000"
],
"machine_max_acceleration_extruding": [
"1500"
],
"machine_max_acceleration_retracting": [
"1500"
],
"machine_max_acceleration_x": [
"3000"
],
"machine_max_acceleration_y": [
"3000"
],
"machine_max_acceleration_z": [
"500"
],
"machine_max_speed_e": [
"120"
],
"machine_max_speed_x": [
"500"
],
"machine_max_speed_y": [
"500"
],
"machine_max_speed_z": [
"12"
],
"machine_max_jerk_e": [
"2.5"
],
"machine_max_jerk_x": [
"20"
],
"machine_max_jerk_y": [
"20"
],
"machine_max_jerk_z": [
"0.4"
],
"machine_min_extruding_rate": [
"0"
],
"machine_min_travel_rate": [
"0"
],
"max_layer_height": [
"0.3"
],
"min_layer_height": [
"0.07"
],
"printable_height": "212",
"extruder_clearance_radius": "65",
"extruder_clearance_height_to_rod": "36",
"extruder_clearance_height_to_lid": "140",
"nozzle_diameter": [
"0.4"
],
"printer_settings_id": "",
"printer_variant": "0.4",
"retraction_minimum_travel": [
"2"
],
"retract_before_wipe": [
"0%"
],
"retract_when_changing_layer": [
"1"
],
"retraction_length": [
"6"
],
"retract_length_toolchange": [
"10"
],
"z_hop": [
"0"
],
"retract_restart_extra": [
"0"
],
"retract_restart_extra_toolchange": [
"0"
],
"retraction_speed": [
"50"
],
"single_extruder_multi_material": "1",
"change_filament_gcode": "",
"wipe": [
"1"
],
"z_lift_type": "NormalLift",
"default_print_profile": "",
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\n;[layer_z]\nG92 E0\n",
"machine_start_gcode": "",
"machine_end_gcode": ""
}
"type": "machine",
"name": "fdm_machine_common",
"from": "system",
"instantiation": "false",
"printer_technology": "FFF",
"deretraction_speed": [
"40"
],
"extruder_colour": [
"#FCE94F"
],
"extruder_offset": [
"0x0"
],
"gcode_flavor": "marlin",
"silent_mode": "0",
"machine_max_acceleration_e": [
"10000"
],
"machine_max_acceleration_extruding": [
"1500"
],
"machine_max_acceleration_retracting": [
"1500"
],
"machine_max_acceleration_x": [
"3000"
],
"machine_max_acceleration_y": [
"3000"
],
"machine_max_acceleration_z": [
"500"
],
"machine_max_speed_e": [
"120"
],
"machine_max_speed_x": [
"500"
],
"machine_max_speed_y": [
"500"
],
"machine_max_speed_z": [
"12"
],
"machine_max_jerk_e": [
"2.5"
],
"machine_max_jerk_x": [
"20"
],
"machine_max_jerk_y": [
"20"
],
"machine_max_jerk_z": [
"0.4"
],
"machine_min_extruding_rate": [
"0"
],
"machine_min_travel_rate": [
"0"
],
"max_layer_height": [
"0.3"
],
"min_layer_height": [
"0.07"
],
"printable_height": "212",
"extruder_clearance_radius": "65",
"extruder_clearance_height_to_rod": "36",
"extruder_clearance_height_to_lid": "140",
"nozzle_diameter": [
"0.4"
],
"printer_settings_id": "",
"printer_variant": "0.4",
"retraction_minimum_travel": [
"2"
],
"retract_before_wipe": [
"0%"
],
"retract_when_changing_layer": [
"1"
],
"retraction_length": [
"6"
],
"retract_length_toolchange": [
"10"
],
"z_hop": [
"0"
],
"retract_restart_extra": [
"0"
],
"retract_restart_extra_toolchange": [
"0"
],
"retraction_speed": [
"50"
],
"single_extruder_multi_material": "1",
"change_filament_gcode": "",
"wipe": [
"1"
],
"z_lift_type": "NormalLift",
"default_print_profile": "",
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\n;[layer_z]\nG92 E0\n",
"machine_start_gcode": "",
"machine_end_gcode": ""
}