mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
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.
59 lines
2.0 KiB
JSON
59 lines
2.0 KiB
JSON
{
|
|
"type": "machine",
|
|
"name": "Creality CR-M4 0.4 nozzle",
|
|
"inherits": "fdm_creality_common",
|
|
"from": "system",
|
|
"setting_id": "GM001",
|
|
"instantiation": "true",
|
|
"printer_model": "Creality CR-M4",
|
|
"gcode_flavor": "marlin",
|
|
"printer_structure": "i3",
|
|
"default_filament_profile": [
|
|
"Creality Generic PLA"
|
|
],
|
|
"default_print_profile": "0.20mm Standard @Creality CR-M4",
|
|
"nozzle_diameter": [
|
|
"0.4"
|
|
],
|
|
"printable_height": "470",
|
|
"printable_area": [
|
|
"0x0",
|
|
"450x0",
|
|
"450x450",
|
|
"0x450"
|
|
],
|
|
"machine_max_speed_e": [
|
|
"50",
|
|
"50"
|
|
],
|
|
"machine_max_acceleration_z": [
|
|
"100",
|
|
"100"
|
|
],
|
|
"machine_max_acceleration_extruding": [
|
|
"700",
|
|
"700"
|
|
],
|
|
"machine_max_jerk_x": [
|
|
"10",
|
|
"10"
|
|
],
|
|
"machine_max_jerk_y": [
|
|
"10",
|
|
"10"
|
|
],
|
|
"retraction_minimum_travel": [
|
|
"0.8"
|
|
],
|
|
"retraction_length": [
|
|
"0.8"
|
|
],
|
|
"retraction_speed": [
|
|
"40"
|
|
],
|
|
"nozzle_type": "undefine",
|
|
"auxiliary_fan": "0",
|
|
"machine_start_gcode": "M220 S100 ;Reset Feedrate\nM221 S100 ;Reset Flowrate\nM140 S[bed_temperature_initial_layer_single] ; set final bed temp\nG28 ;Home\nG92 E0 ;Reset Extruder\nG1 Z2.0 F3000 ;Move Z Axis up\nG1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position\nM104 S[nozzle_temperature_initial_layer] ; set final nozzle temp\nM190 S[bed_temperature_initial_layer_single] ; wait for bed temp to stabilize\nM109 S[nozzle_temperature_initial_layer] ; wait for nozzle temp to stabilize\nG1 X10.1 Y145.0 Z0.28 F1500.0 E15 ;Draw the first line\nG1 X10.4 Y145.0 Z0.28 F5000.0 ;Move to side a little\nG1 X10.4 Y20 Z0.28 F1500.0 E30 ;Draw the second line\nG92 E0 ;Reset Extruder\nG1 E-1.0000 F1800 ;Retract a bit\nG1 Z2.0 F3000 ;Move Z Axis up\nG1 E0.0000 F1800",
|
|
"machine_end_gcode": "G91 ;Relative positionning\nG1 E-2 F2700 ;Retract a bit\nG1 E-2 Z0.2 F2400 ;Retract and raise Z\nG1 X5 Y5 F3000 ;Wipe out\nG1 Z10 ;Raise Z more\nG90 ;Absolute positionning\nG1 X0 Y0 ;Present print\nM106 S0 ;Turn-off fan\nM104 S0 ;Turn-off hotend\nM140 S0 ;Turn-off bed\nM84 X Y E ;Disable all steppers but Z"
|
|
}
|