mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-30 02:11:59 +00:00
The Anker file header wrote `;TIME:{print_time_sec}s`. print_time_sec
is only the seconds part of the estimate (0 to 59), so the M5, M5
All-Metal and M5C were told every print takes under a minute. Use
print_time_total_sec, the whole estimate in seconds, and drop the `s`.
15 lines
968 B
JSON
15 lines
968 B
JSON
{
|
|
"type": "machine",
|
|
"name": "fdm_marlin_common",
|
|
"inherits": "fdm_machine_common",
|
|
"from": "system",
|
|
"instantiation": "false",
|
|
"gcode_flavor": "marlin2",
|
|
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\nG92 E0.0\n;[layer_z]\n\n",
|
|
"file_start_gcode": ";TIME:{print_time_total_sec}\n;Filament weight: {total_weight}g\n;Filament used: {used_filament}m\n;Layer height: {layer_height}\n;material_print_temperature_layer_0: {first_layer_temperature[0]}",
|
|
"machine_start_gcode": "M4899 T3 ; Enable v3 jerk and S-curve acceleration \nM104 S150 ; Set hotend temp to 150 degrees to prevent ooze\nM190 S{first_layer_bed_temperature[0]} ; set and wait for bed temp to stabilize\nM109 S{first_layer_temperature[0]} ; set final nozzle temp to stabilize\nG28 ;Home\n;LAYER_COUNT:{total_layer_count}",
|
|
"machine_end_gcode": "M104 S0\nM140 S0\n;Retract the filament\nG92 E1\nG1 E-1 F300\nG28 X0 Y0\nM18",
|
|
"change_filament_gcode": "M600",
|
|
"machine_pause_gcode": "M601"
|
|
}
|