403 lines
9.9 KiB
INI
403 lines
9.9 KiB
INI
[menu __main __temp __hotend0_target]
|
|
type: input
|
|
enable: {('extruder' in printer) and ('extruder' in printer.heaters.available_heaters)}
|
|
name: {"Ex0:%3.0f (%4.0f)" % (menu.input, printer.extruder.temperature)}
|
|
input: {printer.extruder.target}
|
|
input_min: 0
|
|
input_max: {printer.configfile.config.extruder.max_temp}
|
|
input_step: 1
|
|
gcode: M104 T0 S{'%.0f' % menu.input}
|
|
|
|
[menu __main __temp __hotend1_target]
|
|
type: input
|
|
enable: {('extruder1' in printer) and ('extruder1' in printer.heaters.available_heaters)}
|
|
name: {"Ex1:%3.0f (%4.0f)" % (menu.input, printer.extruder1.temperature)}
|
|
input: {printer.extruder1.target}
|
|
input_min: 0
|
|
input_max: {printer.configfile.config.extruder1.max_temp}
|
|
input_step: 1
|
|
gcode: M104 T1 S{'%.0f' % menu.input}
|
|
|
|
[menu __main __temp __hotbed_target]
|
|
type: input
|
|
enable: {'heater_bed' in printer}
|
|
name: {"Bed:%3.0f (%4.0f)" % (menu.input, printer.heater_bed.temperature)}
|
|
input: {printer.heater_bed.target}
|
|
input_min: 0
|
|
input_max: {printer.configfile.config.heater_bed.max_temp}
|
|
input_step: 1
|
|
gcode: M140 S{'%.0f' % menu.input}
|
|
|
|
[menu __main __temp __preheat_pla]
|
|
type: list
|
|
name: Preheat PLA
|
|
|
|
[menu __main __temp __preheat_pla __all]
|
|
type: command
|
|
enable: {('extruder' in printer) and ('heater_bed' in printer)}
|
|
name: Preheat all
|
|
gcode:
|
|
M140 S60
|
|
M104 S200
|
|
|
|
[menu __main __temp __preheat_pla __hotend]
|
|
type: command
|
|
enable: {'extruder' in printer}
|
|
name: Preheat hotend
|
|
gcode: M104 S200
|
|
|
|
[menu __main __temp __preheat_pla __hotbed]
|
|
type: command
|
|
enable: {'heater_bed' in printer}
|
|
name: Preheat hotbed
|
|
gcode: M140 S60
|
|
|
|
[menu __main __temp __preheat_abs]
|
|
type: list
|
|
name: Preheat ABS
|
|
|
|
[menu __main __temp __preheat_abs __all]
|
|
type: command
|
|
enable: {('extruder' in printer) and ('heater_bed' in printer)}
|
|
name: Preheat all
|
|
gcode:
|
|
M140 S110
|
|
M104 S245
|
|
|
|
[menu __main __temp __preheat_abs __hotend]
|
|
type: command
|
|
enable: {'extruder' in printer}
|
|
name: Preheat hotend
|
|
gcode: M104 S245
|
|
|
|
[menu __main __temp __preheat_abs __hotbed]
|
|
type: command
|
|
enable: {'heater_bed' in printer}
|
|
name: Preheat hotbed
|
|
gcode: M140 S110
|
|
|
|
[menu __main __temp __preheat_petg]
|
|
type: list
|
|
name: Preheat PETG
|
|
index: 4
|
|
|
|
[menu __main __temp __preheat_petg __all]
|
|
type: command
|
|
enable: {('extruder' in printer) and ('heater_bed' in printer)}
|
|
name: Preheat all
|
|
gcode:
|
|
M140 S60
|
|
M104 S230
|
|
|
|
[menu __main __temp __preheat_petg __hotend]
|
|
type: command
|
|
enable: {'extruder' in printer}
|
|
name: Preheat hotend
|
|
gcode: M104 S230
|
|
|
|
[menu __main __temp __preheat_petg __hotbed]
|
|
type: command
|
|
enable: {'heater_bed' in printer}
|
|
name: Preheat hotbed
|
|
gcode: M140 S60
|
|
|
|
[menu __main __temp __cooldown]
|
|
type: list
|
|
name: Cooldown
|
|
|
|
[menu __main __temp __cooldown __all]
|
|
type: command
|
|
enable: {('extruder' in printer) and ('heater_bed' in printer)}
|
|
name: Cooldown all
|
|
gcode:
|
|
M104 S0
|
|
M140 S0
|
|
|
|
[menu __main __temp __cooldown __hotend]
|
|
type: command
|
|
enable: {'extruder' in printer}
|
|
name: Cooldown hotend
|
|
gcode: M104 S0
|
|
|
|
[menu __main __temp __cooldown __hotbed]
|
|
type: command
|
|
enable: {'heater_bed' in printer}
|
|
name: Cooldown hotbed
|
|
gcode: M140 S0
|
|
|
|
### menu filament ###
|
|
|
|
[menu __main __filament]
|
|
type: list
|
|
name: Filament
|
|
|
|
[menu __main __filament __preheat]
|
|
type: disabled
|
|
name: Preheat
|
|
|
|
[menu __main __filament __preheat __preheat_pla]
|
|
type: command
|
|
enable: {'heater_bed' in printer}
|
|
name: Preheat PLA
|
|
gcode:
|
|
M104 210
|
|
{menu.back(true, true)}
|
|
|
|
[menu __main __filament __preheat __preheat_petg]
|
|
type: command
|
|
enable: {'heater_bed' in printer}
|
|
name: Preheat PETG
|
|
gcode:
|
|
M104 230
|
|
{menu.back(true, true)}
|
|
|
|
[menu __main __filament __preheat __preheat_abs]
|
|
type: command
|
|
enable: {'heater_bed' in printer}
|
|
name: Preheat ABS
|
|
gcode:
|
|
M104 245
|
|
{menu.back(true, true)}
|
|
|
|
[menu __main __filament __hotend0_target]
|
|
type: input
|
|
enable: {'extruder' in printer}
|
|
name: {"Ex0:%3.0f (%4.0f)" % (menu.input, printer.extruder.temperature)}
|
|
input: {printer.extruder.target}
|
|
input_min: 0
|
|
input_max: {printer.configfile.config.extruder.max_temp}
|
|
input_step: 1
|
|
gcode: M104 T0 S{'%.0f' % menu.input}
|
|
|
|
[menu __main __filament __loadf]
|
|
type: disabled
|
|
|
|
[menu __main __filament __loads]
|
|
type: command
|
|
name: Load Filament
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__filament__load
|
|
M83
|
|
G1 E50 F350
|
|
G1 E10 F350
|
|
RESTORE_GCODE_STATE NAME=__filament__load
|
|
|
|
[menu __main __filament __unloadf]
|
|
type: disabled
|
|
|
|
[menu __main __filament __unloads]
|
|
type: command
|
|
name: Unload Filament
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__filament__load
|
|
M83
|
|
G1 E-50 F350
|
|
G1 E-10 F350
|
|
RESTORE_GCODE_STATE NAME=__filament__load
|
|
|
|
[menu __main __filament __feed]
|
|
type: input
|
|
name: Feed: {'%.1f' % menu.input}
|
|
input: 5
|
|
input_step: 0.1
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__filament__load
|
|
M83
|
|
G1 E{'%.1f' % menu.input} F60
|
|
RESTORE_GCODE_STATE NAME=__filament__load
|
|
|
|
|
|
### menu move 10mm ###
|
|
[menu __main __control __move_10mm]
|
|
type: list
|
|
enable: {not printer.idle_timeout.state == "Printing"}
|
|
name: Move 10mm
|
|
|
|
[menu __main __control __move_10mm __axis_x]
|
|
type: input
|
|
name: Move X:{'%05.1f' % menu.input}
|
|
realtime: True
|
|
input: {printer.gcode_move.gcode_position.x}
|
|
input_min: {printer.toolhead.axis_minimum.x}
|
|
input_max: {printer.toolhead.axis_maximum.x}
|
|
input_step: 10.0
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__move__axis
|
|
G90
|
|
G1 X{menu.input}
|
|
RESTORE_GCODE_STATE NAME=__move__axis
|
|
|
|
[menu __main __control __move_10mm __axis_y]
|
|
type: input
|
|
name: Move Y:{'%05.1f' % menu.input}
|
|
realtime: True
|
|
input: {printer.gcode_move.gcode_position.y}
|
|
input_min: {printer.toolhead.axis_minimum.y}
|
|
input_max: {printer.toolhead.axis_maximum.y}
|
|
input_step: 10.0
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__move__axis
|
|
G90
|
|
G1 Y{menu.input}
|
|
RESTORE_GCODE_STATE NAME=__move__axis
|
|
|
|
[menu __main __control __move_10mm __axis_z]
|
|
type: input
|
|
enable: {not printer.idle_timeout.state == "Printing"}
|
|
name: Move Z:{'%05.1f' % menu.input}
|
|
realtime: True
|
|
input: {printer.gcode_move.gcode_position.z}
|
|
input_min: 0
|
|
input_max: {printer.toolhead.axis_maximum.z}
|
|
input_step: 10.0
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__move__axis
|
|
G90
|
|
G1 Z{menu.input}
|
|
RESTORE_GCODE_STATE NAME=__move__axis
|
|
|
|
[menu __main __control __move_10mm __axis_e]
|
|
type: input
|
|
enable: {not printer.idle_timeout.state == "Printing"}
|
|
name: Move E:{'%+06.1f' % menu.input}
|
|
realtime: True
|
|
input: 0
|
|
input_min: -{printer.configfile.config.extruder.max_extrude_only_distance|default(50)}
|
|
input_max: {printer.configfile.config.extruder.max_extrude_only_distance|default(50)}
|
|
input_step: 10.0
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__move__axis
|
|
M83
|
|
G1 E{menu.input} F240
|
|
RESTORE_GCODE_STATE NAME=__move__axis
|
|
|
|
### menu move 1mm ###
|
|
[menu __main __control __move_1mm]
|
|
type: list
|
|
enable: {not printer.idle_timeout.state == "Printing"}
|
|
name: Move 1mm
|
|
|
|
[menu __main __control __move_1mm __axis_x]
|
|
type: input
|
|
name: Move X:{'%05.1f' % menu.input}
|
|
realtime: True
|
|
input: {printer.gcode_move.gcode_position.x}
|
|
input_min: {printer.toolhead.axis_minimum.x}
|
|
input_max: {printer.toolhead.axis_maximum.x}
|
|
input_step: 1.0
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__move__axis
|
|
G90
|
|
G1 X{menu.input}
|
|
RESTORE_GCODE_STATE NAME=__move__axis
|
|
|
|
[menu __main __control __move_1mm __axis_y]
|
|
type: input
|
|
name: Move Y:{'%05.1f' % menu.input}
|
|
realtime: True
|
|
input: {printer.gcode_move.gcode_position.y}
|
|
input_min: {printer.toolhead.axis_minimum.y}
|
|
input_max: {printer.toolhead.axis_maximum.y}
|
|
input_step: 1.0
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__move__axis
|
|
G90
|
|
G1 Y{menu.input}
|
|
RESTORE_GCODE_STATE NAME=__move__axis
|
|
|
|
[menu __main __control __move_1mm __axis_z]
|
|
type: input
|
|
enable: {not printer.idle_timeout.state == "Printing"}
|
|
name: Move Z:{'%05.1f' % menu.input}
|
|
realtime: True
|
|
input: {printer.gcode_move.gcode_position.z}
|
|
input_min: 0
|
|
input_max: {printer.toolhead.axis_maximum.z}
|
|
input_step: 1.0
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__move__axis
|
|
G90
|
|
G1 Z{menu.input}
|
|
RESTORE_GCODE_STATE NAME=__move__axis
|
|
|
|
[menu __main __control __move_1mm __axis_e]
|
|
type: input
|
|
enable: {not printer.idle_timeout.state == "Printing"}
|
|
name: Move E:{'%+06.1f' % menu.input}
|
|
realtime: True
|
|
input: 0
|
|
input_min: -{printer.configfile.config.extruder.max_extrude_only_distance|default(50)}
|
|
input_max: {printer.configfile.config.extruder.max_extrude_only_distance|default(50)}
|
|
input_step: 1.0
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__move__axis
|
|
M83
|
|
G1 E{menu.input} F240
|
|
RESTORE_GCODE_STATE NAME=__move__axis
|
|
|
|
### menu move 0.1mm ###
|
|
[menu __main __control __move_01mm]
|
|
type: list
|
|
enable: {not printer.idle_timeout.state == "Printing"}
|
|
name: Move 0.1mm
|
|
|
|
[menu __main __control __move_01mm __axis_x]
|
|
type: input
|
|
name: Move X:{'%05.1f' % menu.input}
|
|
realtime: True
|
|
input: {printer.gcode_move.gcode_position.x}
|
|
input_min: {printer.toolhead.axis_minimum.x}
|
|
input_max: {printer.toolhead.axis_maximum.x}
|
|
input_step: 0.1
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__move__axis
|
|
G90
|
|
G1 X{menu.input}
|
|
RESTORE_GCODE_STATE NAME=__move__axis
|
|
|
|
[menu __main __control __move_01mm __axis_y]
|
|
type: input
|
|
name: Move Y:{'%05.1f' % menu.input}
|
|
realtime: True
|
|
input: {printer.gcode_move.gcode_position.y}
|
|
input_min: {printer.toolhead.axis_minimum.y}
|
|
input_max: {printer.toolhead.axis_maximum.y}
|
|
input_step: 0.1
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__move__axis
|
|
G90
|
|
G1 Y{menu.input}
|
|
RESTORE_GCODE_STATE NAME=__move__axis
|
|
|
|
[menu __main __control __move_01mm __axis_z]
|
|
type: input
|
|
enable: {not printer.idle_timeout.state == "Printing"}
|
|
name: Move Z:{'%05.1f' % menu.input}
|
|
realtime: True
|
|
input: {printer.gcode_move.gcode_position.z}
|
|
input_min: 0
|
|
input_max: {printer.toolhead.axis_maximum.z}
|
|
input_step: 0.1
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__move__axis
|
|
G90
|
|
G1 Z{menu.input}
|
|
RESTORE_GCODE_STATE NAME=__move__axis
|
|
|
|
[menu __main __control __move_01mm __axis_e]
|
|
type: input
|
|
enable: {not printer.idle_timeout.state == "Printing"}
|
|
name: Move E:{'%+06.1f' % menu.input}
|
|
realtime: True
|
|
input: 0
|
|
input_min: -{printer.configfile.config.extruder.max_extrude_only_distance|default(50)}
|
|
input_max: {printer.configfile.config.extruder.max_extrude_only_distance|default(50)}
|
|
input_step: 0.1
|
|
gcode:
|
|
SAVE_GCODE_STATE NAME=__move__axis
|
|
M83
|
|
G1 E{menu.input} F240
|
|
RESTORE_GCODE_STATE NAME=__move__axis
|
|
|
|
#--------------------------------------------------------------------
|