mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-28 11:50:49 -07:00
* Emit Disable Power Loss Recovery Now only works if it's enabled but the goal it's to force disable it. With this change it will always emit the command for BBL or Marlin 2. Co-Authored-By: Michael Rook <54159303+michaelr0@users.noreply.github.com> * Refactor power loss recovery G-code comments * Return empty power loss recovery when no compatible printer * Update power loss recovery comments Update label and tooltip for power loss recovery * Add enum for power loss recovery mode Refactored power loss recovery configuration to use a new PowerLossRecoveryMode enum instead of a boolean. Updated GCodeWriter and related logic to handle the new enum, allowing for 'printer_configuration', 'enable', and 'disable' options. Updated config handling, legacy value conversion, and default values accordingly. * Update PrintConfig.cpp --------- Co-authored-by: Michael Rook <54159303+michaelr0@users.noreply.github.com> Co-authored-by: SoftFever <softfeverever@gmail.com>
160 lines
No EOL
4.2 KiB
JSON
160 lines
No EOL
4.2 KiB
JSON
{
|
|
"type": "machine",
|
|
"name": "fdm_machine_common",
|
|
"from": "system",
|
|
"instantiation": "false",
|
|
"nozzle_diameter": [
|
|
"0.4"
|
|
],
|
|
"printer_variant": "0.4",
|
|
"auxiliary_fan": "1",
|
|
"apply_top_surface_compensation": "0",
|
|
"best_object_pos": "0.5x0.5",
|
|
"default_filament_profile": [],
|
|
"default_print_profile": "0.16mm Optimal @BBL X1C",
|
|
"deretraction_speed": [
|
|
"40"
|
|
],
|
|
"extruder_clearance_height_to_lid": "140",
|
|
"extruder_clearance_height_to_rod": "34",
|
|
"extruder_clearance_max_radius": "65",
|
|
"extruder_clearance_dist_to_rod": "33",
|
|
"extruder_colour": [
|
|
"#FCE94F"
|
|
],
|
|
"enable_long_retraction_when_cut": "0",
|
|
"enable_pre_heating": "0",
|
|
"bed_temperature_formula": "by_first_filament",
|
|
"hotend_cooling_rate": [
|
|
"2"
|
|
],
|
|
"hotend_heating_rate": [
|
|
"2"
|
|
],
|
|
"extruder_offset": [
|
|
"0x0"
|
|
],
|
|
"gcode_flavor": "marlin",
|
|
"grab_length": [
|
|
"0"
|
|
],
|
|
"long_retractions_when_cut": [
|
|
"0"
|
|
],
|
|
"machine_load_filament_time": "29",
|
|
"machine_max_acceleration_e": [
|
|
"5000"
|
|
],
|
|
"machine_max_acceleration_extruding": [
|
|
"10000"
|
|
],
|
|
"machine_max_acceleration_retracting": [
|
|
"1000"
|
|
],
|
|
"machine_max_acceleration_x": [
|
|
"10000"
|
|
],
|
|
"machine_max_acceleration_y": [
|
|
"10000"
|
|
],
|
|
"machine_max_acceleration_z": [
|
|
"100"
|
|
],
|
|
"machine_max_jerk_e": [
|
|
"5"
|
|
],
|
|
"machine_max_jerk_x": [
|
|
"8"
|
|
],
|
|
"machine_max_jerk_y": [
|
|
"8"
|
|
],
|
|
"machine_max_jerk_z": [
|
|
"3"
|
|
],
|
|
"machine_max_speed_e": [
|
|
"60"
|
|
],
|
|
"machine_max_speed_x": [
|
|
"500"
|
|
],
|
|
"machine_max_speed_y": [
|
|
"500"
|
|
],
|
|
"machine_max_speed_z": [
|
|
"10"
|
|
],
|
|
"machine_min_extruding_rate": [
|
|
"0"
|
|
],
|
|
"machine_min_travel_rate": [
|
|
"0"
|
|
],
|
|
"machine_prepare_compensation_time": "260",
|
|
"machine_switch_extruder_time": "0",
|
|
"machine_unload_filament_time": "29",
|
|
"master_extruder_id": "1",
|
|
"max_layer_height": [
|
|
"0.28"
|
|
],
|
|
"min_layer_height": [
|
|
"0.08"
|
|
],
|
|
"nozzle_height": "4",
|
|
"nozzle_flush_dataset": [
|
|
"0"
|
|
],
|
|
"printable_height": "250",
|
|
"printer_settings_id": "",
|
|
"printer_structure": "corexy",
|
|
"printer_technology": "FFF",
|
|
"retract_before_wipe": [
|
|
"70%"
|
|
],
|
|
"retract_length_toolchange": [
|
|
"1"
|
|
],
|
|
"retract_restart_extra": [
|
|
"0"
|
|
],
|
|
"retract_restart_extra_toolchange": [
|
|
"0"
|
|
],
|
|
"retract_when_changing_layer": [
|
|
"1"
|
|
],
|
|
"retraction_distances_when_cut": [
|
|
"18"
|
|
],
|
|
"retraction_length": [
|
|
"5"
|
|
],
|
|
"retraction_minimum_travel": [
|
|
"2"
|
|
],
|
|
"retraction_speed": [
|
|
"60"
|
|
],
|
|
"scan_first_layer": "0",
|
|
"enable_power_loss_recovery": "printer_configuration",
|
|
"silent_mode": "0",
|
|
"single_extruder_multi_material": "1",
|
|
"support_air_filtration": "0",
|
|
"support_chamber_temp_control": "0",
|
|
"support_object_skip_flush": "0",
|
|
"wipe": [
|
|
"1"
|
|
],
|
|
"wrapping_exclude_area": [],
|
|
"z_hop": [
|
|
"0"
|
|
],
|
|
"upward_compatible_machine": [],
|
|
"machine_start_gcode": "G0 Z20 F9000\nG92 E0; G1 E-10 F1200\nG28\nM970 Q1 A10 B10 C130 K0\nM970 Q1 A10 B131 C250 K1\nM974 Q1 S1 P0\nM970 Q0 A10 B10 C130 H20 K0\nM970 Q0 A10 B131 C250 K1\nM974 Q0 S1 P0\nM220 S100 ;Reset Feedrate\nM221 S100 ;Reset Flowrate\nG29 ;Home\nG90;\nG92 E0 ;Reset Extruder \nG1 Z2.0 F3000 ;Move Z Axis up \nG1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position\nM109 S205;\nG1 X10.1 Y200.0 Z0.28 F1500.0 E15 ;Draw the first line\nG1 X10.4 Y200.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 X110 Y110 Z2.0 F3000 ;Move Z Axis up",
|
|
"machine_end_gcode": "M400 ; wait for buffer to clear\nG92 E0 ; zero the extruder\nG1 E-4.0 F3600; retract \nG91\nG1 Z3;\nM104 S0 ; turn off hotend\nM140 S0 ; turn off bed\nM106 S0 ; turn off fan\nG90 \nG0 X110 Y200 F3600 \nprint_end",
|
|
"time_lapse_gcode": "",
|
|
"wrapping_detection_gcode": "",
|
|
"change_filament_gcode": "",
|
|
"purge_in_prime_tower": "0",
|
|
"enable_filament_ramming": "0"
|
|
} |