diff --git a/HTE530-5-4-22.cfg b/HTE530-5-4-22.cfg index b23921b92c8b..18d241d2f916 100644 --- a/HTE530-5-4-22.cfg +++ b/HTE530-5-4-22.cfg @@ -26,6 +26,37 @@ path: /home/ste/uploads [include stereotech_config/calibrate/probe_v1.cfg] [include stereotech_config/calibrate/probe_v2.cfg] +# wizards +[include stereotech_config/wizards/common.cfg] + +[include stereotech_config/wizards/change_material.cfg] +[include stereotech_config/wizards/change_material_filament.cfg] +[include stereotech_config/wizards/change_material_fiber.cfg] + +[include stereotech_config/wizards/change_module.cfg] + +[include stereotech_config/wizards/5d_calibration.cfg] +[include stereotech_config/wizards/5d_calibration_auto.cfg] +[include stereotech_config/wizards/5d_calibration_manual.cfg] +[include stereotech_config/wizards/5d_calibration_manual_old.cfg] + + +[include stereotech_config/wizards/adjust_basement.cfg] +[include stereotech_config/wizards/adjust_basement_auto.cfg] +[include stereotech_config/wizards/adjust_basement_manual.cfg] +[include stereotech_config/wizards/zero_point_calibration.cfg] + +[include stereotech_config/wizards/bed_level.cfg] +[include stereotech_config/wizards/bed_level_manual.cfg] +[include stereotech_config/wizards/bed_level_auto.cfg] + +[include stereotech_config/wizards/nozzle_offset_5d.cfg] +[include stereotech_config/wizards/nozzles_height_align_5d.cfg] +[include stereotech_config/wizards/nozzle_offset_fiber.cfg] +[include stereotech_config/wizards/nozzle_offset_hybrid.cfg] + + + [include stereotech_config/5xx/main_extruder_2.cfg] [include stereotech_config/5xx/second_extruder.cfg] [include stereotech_config/common/nozzle_offset.cfg] @@ -42,8 +73,6 @@ path: /home/ste/uploads [include stereotech_config/common/variables.cfg] [include stereotech_config/common/diagnostics.cfg] -[include stereotech_config/wizards/wizards.cfg] - [gcode_macro CONSTANTS] description: Holds printer constants variable_probe_a_horizontal: 159, 246.5, 40 diff --git a/klippy/extras/wizard/wizard.py b/klippy/extras/wizard/wizard.py index e607b805daa3..ef729cc00b1d 100644 --- a/klippy/extras/wizard/wizard.py +++ b/klippy/extras/wizard/wizard.py @@ -25,10 +25,11 @@ def __init__(self, config): "Option '%s' in section '%s' is not a valid literal: %s" % ( option, config.get_name(), e)) # get options from config - self.image = config.get('image', 'image_path') - self.type = config.getlists('type', []) + self.image = config.get('image', '') + self.type = config.get('type', 'any') self.steps = config.getlists('steps', []) self.current_step = self.steps[0] + self.next_step = self.steps[1] if len(self.steps) > 2 else self.steps[0] # load objects self.printer = printer = config.get_printer() self.gcode = printer.lookup_object('gcode') @@ -53,7 +54,8 @@ def get_status(self, eventtime=None): 'variables': self.variables, 'name': self.name, 'steps': self.steps, - 'type': self.type} + 'type': self.type, + 'next_step': self.next_step} cmd_SET_WIZARD_VARIABLE_help = "Set the value of a wizard variable to wizard" @@ -64,6 +66,7 @@ def cmd_SET_WIZARD_VARIABLE(self, gcmd): raise gcmd.error( "2051: Unknown wizard variable '%s'" % (variable,)) try: + pass literal = ast.literal_eval(value) json.dumps(literal, separators=(',', ':')) except (SyntaxError, TypeError, ValueError) as e: @@ -86,6 +89,9 @@ def cmd_SET_WIZARD_STEP(self, gcmd): if step not in self.steps: raise gcmd.error("2053: Unknown step: '%s'" % step) self.current_step = step + if self.current_step != self.steps[-1]: + current_step_idx = self.steps.index(self.current_step) + self.next_step = self.steps[current_step_idx + 1] cmd_RESET_WIZARD_help = "Reset state the wizard" @@ -93,6 +99,7 @@ def cmd_RESET_WIZARD(self, gcmd): self.error = '' self.enabled = False self.current_step = self.steps[0] + self.next_step = self.steps[1] if len(self.steps) > 2 else self.steps[0] self.variables = dict(self._variables_bk) diff --git a/klippy/extras/wizard/wizard_step.py b/klippy/extras/wizard/wizard_step.py index 1fe79dd0e526..78d93f181e3b 100644 --- a/klippy/extras/wizard/wizard_step.py +++ b/klippy/extras/wizard/wizard_step.py @@ -13,8 +13,8 @@ def __init__(self, config): self.gcode_macro = printer.load_object(config, 'gcode_macro') self.gcode = printer.lookup_object('gcode') # get options from config - self.cmd_desc = config.get("description", "G-Code wizard") - self.image = config.get('image', 'image_path') + self.cmd_desc = config.get("description", '') + self.image = config.get('image', '') self.landscape = config.getboolean('landscape', False) self.description = config.get('description', '') self.warning = config.get('warning', '') diff --git a/klippy/extras/wizard/wizard_step_selector.py b/klippy/extras/wizard/wizard_step_selector.py index f5e314f8beca..72acf23d9836 100644 --- a/klippy/extras/wizard/wizard_step_selector.py +++ b/klippy/extras/wizard/wizard_step_selector.py @@ -4,9 +4,10 @@ class WizardStepSelector(WizardStep): def __init__(self, config): WizardStep.__init__(self, config) - self.selected = '' # get options - self.items = config.getlists('items', []) + self.items = config.getlists('items') + # set attributes + self.selected = self.items[0] # create template self.template = self.gcode_macro.load_template(config, 'select_gcode') # register commands diff --git a/klippy/extras/wizard/wizard_step_tree.py b/klippy/extras/wizard/wizard_step_tree.py index d54a17e7de09..30138c48d6fc 100644 --- a/klippy/extras/wizard/wizard_step_tree.py +++ b/klippy/extras/wizard/wizard_step_tree.py @@ -15,10 +15,11 @@ def __init__(self, config): self.types = config.getlist('types', []) json_path = config.get('tree_file_path', '') # read json file - filename = self.printer.get_start_args()['config_file'] - if 'printer.cfg' not in filename.split('/')[-1]: + config_path = self.printer.get_start_args()['config_file'].split('/') + if 'printer.cfg' not in config_path: config_dir_name = 'stereotech_config' - abs_json_path = os.path.join(os.path.abspath('.'), config_dir_name, json_path) + klipper_path = '/'.join(config_path[:-1]) + abs_json_path = os.path.join(klipper_path, config_dir_name, json_path) if os.path.isfile(abs_json_path): try: with open(abs_json_path, 'r') as f: @@ -26,7 +27,7 @@ def __init__(self, config): except Exception as e: raise config.error("0026: do not parse .json file, error %s" % e) else: - raise config.error("0026: file with data not exist") + raise config.error("0026: file with data not exist: %s" % abs_json_path) # register commands self.gcode.register_mux_command("WIZARD_STEP_TREE", 'STEP', self.name, self.cmd_WIZARD_STEP_TREE, diff --git a/stereotech_config/common/model_fiber_nozzle_offset.gcode b/stereotech_config/common/model_fiber_nozzle_offset.gcode index 6c385e82cc98..1ae1bdcb33ac 100644 --- a/stereotech_config/common/model_fiber_nozzle_offset.gcode +++ b/stereotech_config/common/model_fiber_nozzle_offset.gcode @@ -3933,3 +3933,4 @@ M73 P100 M82 ;absolute extrusion mode M104 S0 ;End of Gcode +WIZARD_STEP_LOADING_STATE WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER3 ENABLE=0 diff --git a/stereotech_config/common/model_hybrid_nozzle_offset.gcode b/stereotech_config/common/model_hybrid_nozzle_offset.gcode index f7615f47f4e6..23d13463416a 100644 --- a/stereotech_config/common/model_hybrid_nozzle_offset.gcode +++ b/stereotech_config/common/model_hybrid_nozzle_offset.gcode @@ -187,3 +187,4 @@ M73 P100 M82 ;absolute extrusion mode M104 S0 ;End of Gcode +WIZARD_STEP_LOADING_STATE WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID4 ENABLE=0 diff --git a/stereotech_config/wizards/5d_calibration.cfg b/stereotech_config/wizards/5d_calibration.cfg new file mode 100644 index 000000000000..793d53249f7d --- /dev/null +++ b/stereotech_config/wizards/5d_calibration.cfg @@ -0,0 +1,12 @@ +[wizard CALIBRATE_5D] +image: wizards/5d_calibration_auto/auto_five_axis_level_main.jpg +type: 5d +steps: CALIBRATE_5D_0 + +[wizard_step_wizards CALIBRATE_5D_0] +description: Choose the required manager +wizards: CALIBRATE_5D_AUTO, CALIBRATE_5D_MANUAL +action_gcode: + # pass +cancel_gcode: + # pass \ No newline at end of file diff --git a/stereotech_config/wizards/5d_calibration_auto.cfg b/stereotech_config/wizards/5d_calibration_auto.cfg new file mode 100644 index 000000000000..461b3a791f23 --- /dev/null +++ b/stereotech_config/wizards/5d_calibration_auto.cfg @@ -0,0 +1,106 @@ +[wizard CALIBRATE_5D_AUTO] +image: wizards/5d_calibration_auto/auto_five_axis_level_main.jpg +type: 5d +steps: CALIBRATE_5D_AUTO0, CLEAR_NOZZLE0, CLEAR_NOZZLE1, CALIBRATE_5D_AUTO1, CALIBRATE_5D_AUTO2, CALIBRATE_5D_AUTO3, CALIBRATE_5D_AUTO4, CALIBRATE_5D_AUTO5, CALIBRATE_5D_AUTO6, CALIBRATE_5D_AUTO7, CALIBRATE_5D_AUTO8 + +[wizard_step_button CALIBRATE_5D_AUTO0] +image: wizards/5d_calibration_auto/auto_five_axis_level_main.jpg +description: Wizards.5DCalibrationAuto.Description +warning: Wizards.Common.MakeSureFreeOfPlastic +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR='' + MOVE_SERVICE_POSITION + SET_WIZARD_STEP WIZARD={wizard.name} STEP=CALIBRATE_5D_AUTO1 +button_clear_noozle_gcode: + {% set extruder = printer.toolhead.extruder|default('extruder') %} + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR='' + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP={wizard.next_step} TEMP=200 EXTRUDER={extruder} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step CALIBRATE_5D_AUTO1] +image: wizards/5d_calibration_auto/auto_five_axis_level_02.jpg +description: Wizards.Common.PlaceTool +warning: Wizards.Common.GapBetweenTemplateModule +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step CALIBRATE_5D_AUTO2] +image: wizards/5d_calibration_auto/auto_five_axis_level_03.jpg +description: Wizards.Common.ConnectSensor +warning: Wizards.Common.WarningScrew +action_gcode: + CHANGE_STEP_AND_WAIT_PROBE WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step CALIBRATE_5D_AUTO3] +image: wizards/5d_calibration_auto/auto_five_axis_level_04.jpg +description: Wizards.Common.ConnectAndCheck +placeholder: wizard-step-probe +action_gcode: + {% set cmd = 'CALIBRATE_MODULE_FIVE_D' %} + CHANGE_STEP_AND_WAIT_RUN_CMD WIZARD={wizard.name} STEP={wizard.next_step} CMD={cmd} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step CALIBRATE_5D_AUTO4] +image: wizards/5d_calibration_auto/auto_five_axis_level_05.jpg +description: Wizards.5DCalibrationAuto.Wait +countdown: 420 +placeholder: waitProgress true +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog CALIBRATE_5D_AUTO5] +image: wizards/5d_calibration_auto/auto_five_axis_level_06.jpg +description: Wizards.5DCalibrationAuto.MoveToSurface +axes: z +steps: 0.01, 0.05, 0.1, 1 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + ADJUST_PROBE_OFFSET_Z ADJUST_CALIBRATION=1 ADJUST_WCS=1 + SET_WCS_FROM_AUTO_WCS + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_button CALIBRATE_5D_AUTO6] +image: wizards/5d_calibration_auto/auto_five_axis_level_03.jpg +description: Wizards.5DCalibrationAuto.XYCorrectionDescription +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP=CALIBRATE_5D_AUTO8 +button_xy_correction_gcode: + MOVE_TO_AUTO_WCS XY=1 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog CALIBRATE_5D_AUTO7] +image: wizards/5d_calibration_auto/auto_five_axis_level_07.jpg +description: Wizards.5DCalibrationAuto.MoveToHole +axes: x, y, z +steps: 0.01, 0.05, 0.1, 1 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + ADJUST_PROBE_OFFSET_XY ADJUST_CALIBRATION=1 ADJUST_WCS=1 + SET_WCS_FROM_AUTO_WCS + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step CALIBRATE_5D_AUTO8] +image: wizards/5d_calibration_auto/auto_five_axis_level_03.jpg +description: Wizards.5DCalibrationAuto.Finish +action_gcode: + RESET_WIZARD WIZARD={wizard.name} ABORT=0 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/5d_calibration_manual.cfg b/stereotech_config/wizards/5d_calibration_manual.cfg new file mode 100644 index 000000000000..63c8f7c94e74 --- /dev/null +++ b/stereotech_config/wizards/5d_calibration_manual.cfg @@ -0,0 +1,90 @@ +[wizard CALIBRATE_5D_MANUAL] +image: wizards/5d_calibration_auto/auto_five_axis_level_06.jpg +type: 5d +steps: CALIBRATE_5D_MANUAL0, CLEAR_NOZZLE0, CLEAR_NOZZLE1, CALIBRATE_5D_MANUAL1, CALIBRATE_5D_MANUAL2, CALIBRATE_5D_MANUAL3, CALIBRATE_5D_MANUAL4, CALIBRATE_5D_MANUAL5, CALIBRATE_5D_MANUAL_COMPLETED + +[wizard_step_button CALIBRATE_5D_MANUAL0] +image: wizards/5d_calibration_auto/auto_five_axis_level_06.jpg +description: Wizards.5DCalibrationManual.Description +warning: Wizards.Common.MakeSureFreeOfPlastic +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR='' + MOVE_SERVICE_POSITION + SET_WIZARD_STEP WIZARD={wizard.name} STEP=CALIBRATE_5D_MANUAL1 +button_clear_noozle_gcode: + {% set extruder = printer.toolhead.extruder|default('extruder') %} + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR='' + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP={wizard.next_step} TEMP=200 EXTRUDER={extruder} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step CALIBRATE_5D_MANUAL1] +image: wizards/5d_calibration_auto/auto_five_axis_level_02.jpg +description: Wizards.Common.PlaceTool +action_gcode: + MOVE_CALIBRATION_POINT POINT=0 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog CALIBRATE_5D_MANUAL2] +image: wizards/5d_calibration_manual/5d_calibration6.jpg +description: Wizards.Common.MoveNozzle +axes: x, y, z +steps: 0.05, 0.1, 1.0, 10.0 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + SET_A_AXIS_OFFSET_POINT POINT=0 + MOVE_CALIBRATION_POINT POINT=3 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog CALIBRATE_5D_MANUAL3] +image: wizards/5d_calibration_manual/5d_calibration9.jpg +description: Wizards.Common.MoveNozzle +axes: x, y, z +steps: 0.05, 0.1, 1.0, 10.0 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + SET_A_AXIS_OFFSET_POINT POINT=1 + CALC_A_AXIS_OFFSET + MOVE_WCS_ZERO WCS=1 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog CALIBRATE_5D_MANUAL4] +image: wizards/5d_calibration_manual/5d_calibration6.jpg +description: Wizards.Common.MoveNozzle +axes: x, y, z +steps: 0.05, 0.1, 1.0, 10.0 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + SET_WCS_OFFSET WCS=1 X=0 Y=0 Z=0 + SET_WCS_OFFSET WCS=3 X=0 Y=0 Z=0 + MOVE_WCS_ZERO WCS=2 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog CALIBRATE_5D_MANUAL5] +image: wizards/5d_calibration_manual/5d_calibration10.jpg +description: Wizards.Common.MoveNozzle +axes: x, y, z +steps: 0.05, 0.1, 1.0, 10.0 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + SET_WCS_OFFSET WCS=2 X=0 Y=0 Z=10 + SET_WCS_OFFSET WCS=4 X=0 Y=0 Z=10 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/5d_calibration_manual_old.cfg b/stereotech_config/wizards/5d_calibration_manual_old.cfg new file mode 100644 index 000000000000..7d9ea5b4de87 --- /dev/null +++ b/stereotech_config/wizards/5d_calibration_manual_old.cfg @@ -0,0 +1,106 @@ +[wizard CALIBRATE_5D_MANUAL_OLD] +image: wizards/5d_calibration_manual/5d_calibration1.jpg +type: 5d +steps: CALIBRATE_5D_MANUAL_OLD0, CLEAR_NOZZLE0, CLEAR_NOZZLE1, CALIBRATE_5D_MANUAL_OLD1, CALIBRATE_5D_MANUAL_OLD2, CALIBRATE_5D_MANUAL_OLD3, CALIBRATE_5D_MANUAL_OLD4, CALIBRATE_5D_MANUAL_OLD5, CALIBRATE_5D_MANUAL_OLD6, CALIBRATE_5D_MANUAL_COMPLETED +variable_diameter: 0.2 + +[wizard_step_button CALIBRATE_5D_MANUAL_OLD0] +image: wizards/5d_calibration_manual/5d_calibration.jpg +description: Wizards.5DCalibrationManual.Description +warning: Wizards.Common.MakeSureFreeOfPlastic +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR='' + MOVE_SERVICE_POSITION + SET_WIZARD_STEP WIZARD={wizard.name} STEP=CALIBRATE_5D_MANUAL_OLD1 +button_clear_noozle_gcode: + {% set extruder = printer.toolhead.extruder|default('extruder') %} + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR='' + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP={wizard.next_step} TEMP=200 EXTRUDER={extruder} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_slider CALIBRATE_5D_MANUAL_OLD1] +image:wizards/5d_calibration_manual/5d_calibration2-02.jpg +description: Wizards.Common.CheckDiameter +slider_set_diameter_min: 0.1 +slider_set_diameter_max: 3 +slider_set_diameter_step: 0.1 +slider_set_diameter_default: 0.2 +action_gcode: + {% set diameter = printer["wizard_step_slider " ~ wizard.wizard_step_name].set_diameter|float %} + SET_WIZARD_VARIABLE WIZARD={wizard.name} VARIABLE=diameter VALUE={diameter} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step CALIBRATE_5D_MANUAL_OLD2] +image: wizards/5d_calibration_auto/auto_five_axis_level_02.jpg +description: Wizards.Common.PlaceTool +action_gcode: + MOVE_CALIBRATION_POINT POINT=0 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog CALIBRATE_5D_MANUAL_OLD3] +image: wizards/5d_calibration_manual/5d_calibration2.jpg +description: Wizards.Common.MoveNozzle +axes: x, y, z +steps: 0.05, 0.1, 1.0, 10.0 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + SET_A_AXIS_OFFSET_POINT POINT=0 + MOVE_CALIBRATION_POINT POINT=3 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog CALIBRATE_5D_MANUAL_OLD4] +image: wizards/5d_calibration_manual/5d_calibration3.jpg +description: Wizards.Common.MoveNozzle +axes: x, y, z +steps: 0.05, 0.1, 1.0, 10.0 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + SET_A_AXIS_OFFSET_POINT POINT=1 + CALC_A_AXIS_OFFSET + MOVE_WCS_ZERO WCS=1 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog CALIBRATE_5D_MANUAL_OLD5] +image: wizards/5d_calibration_manual/5d_calibration2.jpg +description: Wizards.Common.MoveNozzle +axes: x, y, z +steps: 0.05, 0.1, 1.0, 10.0 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + SET_WCS_OFFSET WCS=1 X=0 Y=0 Z=0 + SET_WCS_OFFSET WCS=3 X=0 Y=0 Z=0 + MOVE_WCS_ZERO WCS=2 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog CALIBRATE_5D_MANUAL_OLD6] +image: wizards/5d_calibration_manual/5d_calibration2-01.jpg +description: Wizards.Common.MoveNozzle +axes: x, y, z +steps: 0.05, 0.1, 1.0, 10.0 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + {% set diameter = wizard.variables.diameter|float %} + SET_WCS_OFFSET WCS=2 X=0 Y=0 Z={diameter / 2.0} + SET_WCS_OFFSET WCS=4 X=0 Y=0 Z={diameter / 2.0} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/adjust_basement.cfg b/stereotech_config/wizards/adjust_basement.cfg new file mode 100644 index 000000000000..ff7feda4b256 --- /dev/null +++ b/stereotech_config/wizards/adjust_basement.cfg @@ -0,0 +1,12 @@ +[wizard ADJUST_BASEMENT] +image: wizards/adjust_basement_auto/adjust_basement_auto.jpg +type: 5d +steps: ADJUST_BASEMENT0 + +[wizard_step_wizards ADJUST_BASEMENT0] +description: AdjustManadger.ManagersChoiceDescription +wizards: ADJUST_BASEMENT_AUTO, ADJUST_BASEMENT_MANUAL +action_gcode: + # pass +cancel_gcode: + # pass diff --git a/stereotech_config/wizards/adjust_basement_auto.cfg b/stereotech_config/wizards/adjust_basement_auto.cfg new file mode 100644 index 000000000000..5ef80e7fe2b5 --- /dev/null +++ b/stereotech_config/wizards/adjust_basement_auto.cfg @@ -0,0 +1,95 @@ +[wizard ADJUST_BASEMENT_AUTO] +image: wizards/adjust_basement_auto/adjust_basement_auto.jpg +type: 5d +steps: ADJUST_BASEMENT_AUTO0, ADJUST_BASEMENT_AUTO1, ADJUST_BASEMENT_AUTO2, ADJUST_BASEMENT_AUTO3, ADJUST_BASEMENT_AUTO4, ADJUST_BASEMENT_AUTO5, ADJUST_BASEMENT_AUTO6, ADJUST_BASEMENT_AUTO7 +variable_wcs: 1 + +[wizard_step ADJUST_BASEMENT_AUTO0] +image: wizards/adjust_basement_auto/adjust_basement_auto.jpg +description: Wizards.Common.ZeroPointDescription +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR='' + MOVE_SERVICE_POSITION + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step ADJUST_BASEMENT_AUTO1] +image: wizards/zero_point_setup/zero_point_setup04.jpg +description: Wizards.Common.InstallTool +warning: Wizards.AdjustBasementAuto.MakeSureBaseProtrudes +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step ADJUST_BASEMENT_AUTO2] +image: wizards/5d_calibration_auto/auto_five_axis_level_03.jpg +description: Wizards.Common.ConnectSensor +warning: Wizards.Common.WarningScrew +action_gcode: + CHANGE_STEP_AND_WAIT_PROBE WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step ADJUST_BASEMENT_AUTO3] +image: wizards/5d_calibration_auto/auto_five_axis_level_04.jpg +description: Wizards.Common.ConnectAndCheck +placeholder: wizard-step-probe +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_selector ADJUST_BASEMENT_AUTO4] +image: wizards/zero_point_setup/zero_point_setup.jpg +description: Wizards.Common.SelectMode +items: 5D_spiral, 5D_spiral_full +action_gcode: + {% set wcs = wizard.variables.wcs|int %} + {% if wcs == 1 %} + AUTO_BASEMENT_WCS_MOVE WCS={wcs} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} + {% else %} + {% set cmd = 'AUTO_BASEMENT_WCS' %} + CHANGE_STEP_AND_WAIT_RUN_CMD WIZARD={wizard.name} STEP=ADJUST_BASEMENT_AUTO6 CMD={cmd} + {% endif %} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +select_gcode: + {% set wcs = 1 if selected == '5D_spiral' else 0 %} + SET_WIZARD_VARIABLE WIZARD={wizard.name} VARIABLE=wcs VALUE={wcs} + +[wizard_step_jog ADJUST_BASEMENT_AUTO5] +image: wizards/adjust_basement_auto/move-sensor-to-center.jpg +description: Wizards.AdjustBasementAuto.MoveSensorToCenter +axes: x, y, z +steps: 0.05, 0.1, 1, 10 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + {% set wcs = wizard.variables.wcs %} + {% set cmd = 'AUTO_BASEMENT_WCS WCS=' ~ wcs %} + CHANGE_STEP_AND_WAIT_RUN_CMD WIZARD={wizard.name} STEP={wizard.next_step} CMD={cmd} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step ADJUST_BASEMENT_AUTO6] +image: wizards/5d_calibration_auto/auto_five_axis_level_03.jpg +description: Wizards.Common.DisableSensor +placeholder: waitProgress true +action_gcode: + {% set wcs = wizard.variables.wcs %} + ADJUST_BASEMENT_WCS WCS={wcs} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step ADJUST_BASEMENT_AUTO7] +image: wizards/adjust_basement_auto/adjust_basement_auto.jpg +description: Wizards.Common.AdjustBasementCompleted +action_gcode: + RESET_WIZARD WIZARD={wizard.name} ABORT=0 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/adjust_basement_manual.cfg b/stereotech_config/wizards/adjust_basement_manual.cfg new file mode 100644 index 000000000000..19ea34346c01 --- /dev/null +++ b/stereotech_config/wizards/adjust_basement_manual.cfg @@ -0,0 +1,90 @@ +[wizard ADJUST_BASEMENT_MANUAL] +image: wizards/zero_point_setup/zero_point_setup01.jpg +type: 5d +steps: ADJUST_BASEMENT_MANUAL0, CLEAR_NOZZLE0, CLEAR_NOZZLE1, ADJUST_BASEMENT_MANUAL1, ADJUST_BASEMENT_MANUAL2, ADJUST_BASEMENT_MANUAL3, ADJUST_BASEMENT_MANUAL4, ADJUST_BASEMENT_MANUAL5, ADJUST_BASEMENT_MANUAL_COMPLETED +variable_wcs: 1 +variable_diameter: 6.0 + +[wizard_step_button ADJUST_BASEMENT_MANUAL0] +image: wizards/zero_point_setup/zero_point_setup.jpg +description: Wizards.Common.ZeroPointDescription +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR='' + MOVE_SERVICE_POSITION + SET_WIZARD_STEP WIZARD={wizard.name} STEP=ADJUST_BASEMENT_MANUAL1 +button_clear_noozle_gcode: + {% set extruder = printer.toolhead.extruder|default('extruder') %} + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR='' + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP={wizard.next_step} TEMP=200 EXTRUDER={extruder} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_slider ADJUST_BASEMENT_MANUAL1] +image: wizards/zero_point_setup/zero_point_setup02.jpg +description: Wizards.AdjustBasementManual.SetBasementDiameter +slider_set_diameter_min: 3 +slider_set_diameter_max: 200 +slider_set_diameter_step: 0.1 +slider_set_diameter_default: 6 +action_gcode: + {% set diameter = printer["wizard_step_slider " ~ wizard.wizard_step_name].set_diameter|float %} + SET_WIZARD_VARIABLE WIZARD={wizard.name} VARIABLE=diameter VALUE={diameter} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step ADJUST_BASEMENT_MANUAL2] +image: wizards/zero_point_setup/zero_point_setup04.jpg +description: Wizards.Common.InstallTool +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_selector ADJUST_BASEMENT_MANUAL3] +image: wizards/zero_point_setup/zero_point_setup.jpg +description: Wizards.Common.SelectMode +items: 5D_spiral, 5D_spiral_full +placeholder: wizard-step-probe +action_gcode: + {% set wcs = wizard.variables.wcs|int %} + MOVE_WCS_ZERO WCS={wcs} + {% if wcs == 1 %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} + {% else %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP=ADJUST_BASEMENT_MANUAL5 + {% endif %} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +select_gcode: + {% set wcs = 2 if selected == '5D_spiral' else 1 %} + SET_WIZARD_VARIABLE WIZARD={wizard.name} VARIABLE=wcs VALUE={wcs} + +[wizard_step_jog ADJUST_BASEMENT_MANUAL4] +image: wizards/zero_point_setup/zero_point_setup01.jpg +description: Wizards.AdjustBasementManual.MoveNozzleToCenter +axes: x, y, z +steps: 0.05, 0.1, 1, 10 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + SET_WCS_OFFSET WCS=1 ADJUST_WCS=2 X=0 Y=0 Z=0 + SET_WIZARD_STEP WIZARD={wizard.name} STEP=ADJUST_BASEMENT_MANUAL6 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog ADJUST_BASEMENT_MANUAL5] +image: wizards/zero_point_setup/zero_point_setup02.jpg +description: Wizards.AdjustBasementManual.MoveNozzleToCenter +axes: x, y, z +steps: 0.05, 0.1, 1, 10 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + {% set diameter = wizard.variables.diameter|float %} + SET_WCS_OFFSET WCS=2 ADJUST_WCS=1 X=0 Y=0 Z={diameter / 2.0} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/bed_level.cfg b/stereotech_config/wizards/bed_level.cfg new file mode 100644 index 000000000000..520095325c54 --- /dev/null +++ b/stereotech_config/wizards/bed_level.cfg @@ -0,0 +1,12 @@ +[wizard BED_LEVEL] +image: wizards/bed_level_manual/bed_leveling.jpg +type: 3d +steps: BED_LEVEL0 + +[wizard_step_wizards BED_LEVEL0] +description: ChangeMaterialFilament.ManagersChoiceDescription +wizards: BED_LEVEL_AUTO, BED_LEVEL_MANUAL +action_gcode: + # pass +cancel_gcode: + # pass diff --git a/stereotech_config/wizards/bed_level_auto.cfg b/stereotech_config/wizards/bed_level_auto.cfg new file mode 100644 index 000000000000..ccc37311c33c --- /dev/null +++ b/stereotech_config/wizards/bed_level_auto.cfg @@ -0,0 +1,62 @@ +[wizard BED_LEVEL_AUTO] +image: wizards/change_material/change_material.jpg +type: 3d +steps: BED_LEVEL_MANUAL0, CLEAR_NOZZLE0, CLEAR_NOZZLE1, BED_LEVEL_MANUAL1, BED_LEVEL_MANUAL2, BED_LEVEL_AUTO3, BED_LEVEL_AUTO4, BED_LEVEL_AUTO5, BED_LEVEL_AUTO6, BED_LEVEL_AUTO7, BED_LEVEL_AUTO8 + +[wizard_step_button BED_LEVEL_AUTO3] +image: wizards/bed_level_manual/bed_leveling04.jpg +description: Wizards.Common.WaitBedStop +placeholder: wizard-step-preheat +action_gcode: + ABORT + ACCEPT_Z_ENDSTOP PROBE=1 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +button_next_point_gcode: + ADJUSTED + +[wizard_step BED_LEVEL_AUTO4] +image: wizards/5d_calibration_auto/auto_five_axis_level_03.jpg +description: Wizards.Common.ConnectSensor +warning: Wizards.Common.WarningScrew +action_gcode: + CHANGE_STEP_AND_WAIT_PROBE WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step BED_LEVEL_AUTO5] +image: wizards/5d_calibration_auto/auto_five_axis_level_04.jpg +description: Wizards.Common.ConnectAndCheck +placeholder: wizard-step-probe +action_gcode: + {% set cmd = 'CALIBRATE_MODULE_THREE_D' %} + CHANGE_STEP_AND_WAIT_RUN_CMD WIZARD={wizard.name} STEP={wizard.next_step} CMD={cmd} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step BED_LEVEL_AUTO6] +image: wizards/bed_level_auto/auto_bed_leveling_02.jpg +description: Wizards.BedLevelAuto.Wait +countdown: 420 +placeholder: waitProgress true +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step BED_LEVEL_AUTO7] +image: wizards/5d_calibration_auto/auto_five_axis_level_03.jpg +description: Wizards.Common.DisableSensor +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step BED_LEVEL_AUTO8] +image: wizards/bed_level_auto/auto_bed_leveling_01.jpg +description: Wizards.Common.BedLevelCompleted +action_gcode: + RESET_WIZARD WIZARD={wizard.name} ABORT=0 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/bed_level_manual.cfg b/stereotech_config/wizards/bed_level_manual.cfg new file mode 100644 index 000000000000..a7731d991438 --- /dev/null +++ b/stereotech_config/wizards/bed_level_manual.cfg @@ -0,0 +1,63 @@ +[wizard BED_LEVEL_MANUAL] +image: wizards/change_material/change_material.jpg +type: 3d +steps: BED_LEVEL_MANUAL0, CLEAR_NOZZLE0, CLEAR_NOZZLE1, BED_LEVEL_MANUAL1, BED_LEVEL_MANUAL2, BED_LEVEL_MANUAL3, BED_LEVEL_MANUAL4 + +[wizard_step_button BED_LEVEL_MANUAL0] +image: wizards/bed_level_manual/bed_leveling.jpg +description: Wizards.BedLevelManual.PerformBedLeveling +warning: Wizards.Common.MakeSureFreeOfPlastic +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 + Z_ENDSTOP_CALIBRATE + SET_WIZARD_STEP WIZARD={wizard.name} STEP=BED_LEVEL_MANUAL2 +button_clear_noozle_gcode: + {% set extruder = printer.toolhead.extruder|default('extruder') %} + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR='' + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP={wizard.next_step} TEMP=200 EXTRUDER={extruder} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +# this step is added because clear_nozzle cannot run additional commands in action_gcode (Z_ENDSTOP_CALIBRATE) +[wizard_step BED_LEVEL_MANUAL1] +image: wizards/bed_level_manual/bed_leveling.jpg +description: Wizards.BedLevelManual.PerformBedLeveling +action_gcode: + Z_ENDSTOP_CALIBRATE + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog BED_LEVEL_MANUAL2] +image: wizards/bed_level_manual/bed_leveling05.jpg +description: Wizards.BedLevelManual.AdjustGapNozzleAndBed +axes: z +steps: 0.05, 0.1, 1, 10 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} MODE='manual_probe' +action_gcode: + ACCEPT_Z_ENDSTOP + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_button BED_LEVEL_MANUAL3] +image: wizards/bed_level_manual/bed_leveling04.jpg +description: Wizards.Common.WaitBedStop +placeholder: wizard-step-preheat +action_gcode: + ABORT + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +button_next_point_gcode: + ADJUSTED + +[wizard_step BED_LEVEL_MANUAL4] +image: wizards/bed_level_manual/bed_leveling.jpg +description: Wizards.Common.BedLevelCompleted +action_gcode: + RESET_WIZARD WIZARD={wizard.name} ABORT=0 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/change_material.cfg b/stereotech_config/wizards/change_material.cfg index dba82f5e1211..6c7d168bedab 100644 --- a/stereotech_config/wizards/change_material.cfg +++ b/stereotech_config/wizards/change_material.cfg @@ -1,231 +1,12 @@ [wizard CHANGE_MATERIAL] image: wizards/change_material/change_material.jpg type: any -steps: CHANGE_MATERIAL_0, STEP_2 -variable_needed_action: '' -variable_manufacturer_select: '' -variable_seria_select: '' +steps: CHANGE_MATERIAL0 - - -# ---------------------------------------------------------------------------step0 - -[wizard_step CHANGE_MATERIAL_0] -image: wizards/change_material/change_material.jpg -landscape: false -description: This wizard will help you to change insert or remove the material -warning: none -countdown: 0 -info: none -action_gcode: - {action_respond_info('-------------------start CHANGE_MATERIAL_0')} - SET_WIZARD_ENABLE WIZARD=CHANGE_MATERIAL ENABLE=1 # ERROR=error_message -cancel_gcode: - {action_respond_info('------------------CANCEL STEP_0')} - RESET_WIZARD WIZARD={wizard} - # HOME_POSITION ABORT=1 - -[wizard_step_button CHANGE_MATERIAL_BUTTON_0] -image: none -landscape: false -description: START -warning: none -countdown: none -info: none -button_STEP_BUTTON_1_gcode: - {action_respond_info('-------------------CHANGE_MATERIAL_BUTTON_0')} - {% if printer.extruders|int > 1 %} - SET_WIZARD_STEP WIZARD=CHANGE_MATERIAL STEP=CHANGE_MATERIAL_1 - {% else %} - SET_WIZARD_STEP WIZARD=CHANGE_MATERIAL STEP=CHANGE_MATERIAL_2 - ACTIVATE_EXTRUDER EXTRUDER=extruder - {% endif %} -action_gcode: - # pass -cancel_gcode: - # pass - -# ---------------------------------------------------------------------------step1 - -[wizard_step CHANGE_MATERIAL_1] -image: wizards/change_material/change_material01.jpg -landscape: false -description: Select the extruder where you want change the material -warning: none -countdown: 1 -info: none -action_gcode: - # pass -cancel_gcode: - {action_respond_info('------------------CANCEL STEP_0')} - RESET_WIZARD WIZARD={wizard} - # HOME_POSITION ABORT=1 - -[wizard_step_selector CHANGE_MATERIAL_SELECTOR_1] -image: none -landscape: false -description: none -warning: none -countdown: none -info: none -items: extruder, extruder1 -#select_gcode: -action_gcode: - {% set selected = printer['wizard_step_selector CHANGE_MATERIAL_SELECTOR_1'].selected %} - ACTIVATE_EXTRUDER EXTRUDER={selected} - SET_WIZARD_STEP WIZARD={wizard.name} STEP={} -cancel_gcode: - # pass - -[wizard_step_button CHANGE_MATERIAL_BUTTON_1] -image: none -landscape: false -description: NEXT -warning: none -countdown: none -info: none -button_STEP_BUTTON_1_gcode: - {action_respond_info('-------------------CHANGE_MATERIAL_BUTTON_1')} - SET_WIZARD_STEP WIZARD=CHANGE_MATERIAL STEP=CHANGE_MATERIAL_2 -action_gcode: - # pass -cancel_gcode: - # pass - -# ---------------------------------------------------------------------------step2 - -[wizard_step CHANGE_MATERIAL_2] -image: wizards/change_material/change_material02.jpg -landscape: false -description: Select the needed action -warning: none -countdown: 2 -info: none -action_gcode: - # pass -cancel_gcode: - {action_respond_info('------------------CANCEL STEP_0')} - RESET_WIZARD WIZARD={wizard} - # HOME_POSITION ABORT=1 - -[wizard_step_selector CHANGE_MATERIAL_SELECTOR_2] -image: none -landscape: false -description: none -warning: none -countdown: none -info: none -items: Insert, Change, Remove -select_gcode: - {action_respond_info('-------------------select_gcode CHANGE_MATERIAL_SELECTOR_2 selected=%s, wizard=%s' % (selected, wizard))} - SET_WIZARD_VARIABLE WIZARD={wizard.name} VARIABLE=needed_action VALUE={selected} +[wizard_step_wizards CHANGE_MATERIAL0] +description: ChangeMaterialFilament.ManagersChoiceDescription +wizards: CHANGE_MATERIAL_FILAMENT, CHANGE_MATERIAL_FIBER action_gcode: # pass cancel_gcode: # pass - -[wizard_step_button CHANGE_MATERIAL_BUTTON_2] -image: none -landscape: false -description: NEXT -warning: none -countdown: none -info: none -button_STEP_BUTTON_1_gcode: - {action_respond_info('-------------------CHANGE_MATERIAL_BUTTON_2')} - {% if wizard.variables['needed_action'] == 'Insert' %} - SET_WIZARD_STEP WIZARD={wizard} STEP=CHANGE_MATERIAL_4 # ?????????????????????????? - {% else %} - SET_WIZARD_STEP WIZARD={wizard} STEP=CHANGE_MATERIAL_3 - {% endif %} -action_gcode: - # pass -cancel_gcode: - # pass - -# ---------------------------------------------------------------------------step3 - -[wizard_step CHANGE_MATERIAL_3] -# change or reemove material -image: wizards/change_material/change_material02.jpg -landscape: false -description: Select Current Material -warning: none -countdown: 2 -info: none -action_gcode: - # pass -cancel_gcode: - {action_respond_info('------------------CANCEL CHANGE_MATERIAL_3')} - RESET_WIZARD WIZARD={wizard} - # HOME_POSITION ABORT=1 - -[wizard_step_selector CHANGE_MATERIAL_SELECTOR_3_0] -image: none -landscape: false -description: Manufacturer select -warning: none -countdown: none -info: none -items: Stereotech, Another -select_gcode: - {action_respond_info('-------------------select_gcode CHANGE_MATERIAL_SELECTOR_3_0 selected=%s, wizard=%s' % (selected, wizard))} - SET_WIZARD_VARIABLE WIZARD={wizard} VARIABLE=manufacturer_select VALUE={selected} -action_gcode: - # pass -cancel_gcode: - # pass - -[wizard_step_selector CHANGE_MATERIAL_SELECTOR_3_1] -image: none -landscape: false -description: Seria select -warning: none -countdown: none -info: none -items: Proto, Enduse, Fiberpart, Sealant -select_gcode: - {action_respond_info('-------------------select_gcode CHANGE_MATERIAL_SELECTOR_2 selected=%s, wizard=%s' % (selected, wizard))} - SET_WIZARD_VARIABLE WIZARD={wizard} VARIABLE=seria_select VALUE={selected} - WIZARD_STEP_SELECT WIZARD={wizard} STEP=CHANGE_MATERIAL_SELECTOR_3_2 ITEM= -action_gcode: - # pass -cancel_gcode: - # pass - -Name select -ABS G4 -# step 4 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -[wizard_step_selector CHANGE_MATERIAL_SELECTOR_3_2] -image: none -landscape: false -description: Name selected -warning: none -countdown: none -info: none -items: PLA, PVA, Remove -select_gcode: - {action_respond_info('-------------------select_gcode CHANGE_MATERIAL_SELECTOR_2 selected=%s, wizard=%s' % (selected, wizard))} - SET_WIZARD_VARIABLE WIZARD={wizard} VARIABLE=data1 VALUE={selected} -action_gcode: - # pass -cancel_gcode: - # pass - - -[wizard_step_selector MY] -image: none -landscape: false -description: none -warning: none -countdown: none -info: none -items: PLA, PVA, Remove -select_gcode: - {action_respond_info('-------------------select_gcode CHANGE_MATERIAL_SELECTOR_2 selected=%s, wizard=%s' % (selected, wizard))} - SET_WIZARD_VARIABLE WIZARD={wizard} VARIABLE=data1 VALUE={selected} -action_gcode: - # pass -cancel_gcode: - # pass \ No newline at end of file diff --git a/stereotech_config/wizards/change_material_fiber.cfg b/stereotech_config/wizards/change_material_fiber.cfg new file mode 100644 index 000000000000..f5e0affad975 --- /dev/null +++ b/stereotech_config/wizards/change_material_fiber.cfg @@ -0,0 +1,136 @@ +[wizard CHANGE_MATERIAL_FIBER] +image: wizards/change_fiber/change_fiber.jpg +type: any +steps: CHANGE_MATERIAL_FIBER0, CHANGE_MATERIAL_FIBER1, CHANGE_MATERIAL_FIBER2, CHANGE_MATERIAL_FIBER3, CHANGE_MATERIAL_FIBER4, CHANGE_MATERIAL_FIBER5, CHANGE_MATERIAL_FIBER6, CHANGE_MATERIAL_FIBER7, CHANGE_MATERIAL_COMPLETED +variable_action: 'all' +variable_selected_e: 'extruder1' +variable_temperature: 240 +variable_cooldown_temp: 50 + +[wizard_step CHANGE_MATERIAL_FIBER0] +image: wizards/change_fiber/change_fiber.jpg +description: Wizards.ChangeMaterialFiber.WelcomeStep +warning: Wizards.ChangeMaterialFiber.MissingExtruderRight +action_gcode: + {% set selected_e = wizard.variables.selected_e %} + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 + MOVE_SERVICE_POSITION_HEAD + ACTIVATE_EXTRUDER EXTRUDER={selected_e} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_selector CHANGE_MATERIAL_FIBER1] +image: wizards/change_material/change_material02.jpg +description: Wizards.Common.SelectNeededAction +items: insert, eject, all +action_gcode: + {% set action = wizard.variables.action %} + {% set selected_e = wizard.variables.selected_e %} + {% set cooldown_temp = wizard.variables.cooldown_temp %} + {% if action == 'insert' %} + CHANGE_STEP_AND_WAIT_COOLING WIZARD={wizard.name} STEP=CHANGE_MATERIAL_FIBER4 TEMP={cooldown_temp} EXTRUDER={selected_e} + {% else %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} + {% endif %} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +select_gcode: + SET_WIZARD_VARIABLE WIZARD={wizard.name} VARIABLE=action VALUE='"{selected}"' + +[wizard_step_slider CHANGE_MATERIAL_FIBER2] +image: wizards/change_material/change_material02.jpg +description: Wizards.Common.SelectUnloadingTemperature +slider_set_temp_min: 150 +slider_set_temp_max: 300 +slider_set_temp_step: 5 +slider_set_temp_default: 240 +action_gcode: + {% set selected_e = wizard.variables.selected_e %} + {% set temperature = printer["wizard_step_slider " ~ wizard.wizard_step_name].set_temp|float %} + SET_WIZARD_VARIABLE WIZARD={wizard.name} VARIABLE=temperature VALUE={temperature} + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP={wizard.next_step} TEMP={temperature} EXTRUDER={selected_e} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_button CHANGE_MATERIAL_FIBER3] +image: wizards/change_material/change_material03.jpg +description: Wizards.ChangeMaterialFiber.WaitHeater +placeholder: wizard-step-preheat +action_gcode: + {% set selected_e = wizard.variables.selected_e %} + {% set cooldown_temp = wizard.variables.cooldown_temp %} + {% set action = wizard.variables.action %} + {% if action == 'remove' %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP=CHANGE_MATERIAL_FIBER8 + {% else %} + CHANGE_STEP_AND_WAIT_COOLING WIZARD={wizard.name} STEP={wizard.next_step} TEMP={cooldown_temp} EXTRUDER={selected_e} + {% endif %} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +button_unload_gcode: + EJECT_MATERIAL +button_load_gcode: + LOAD_MATERIAL +button_cut_gcode: + CUT_FIBER + G4 P1000 + PRIME_FIBER + +[wizard_step CHANGE_MATERIAL_FIBER4] +image: wizards/change_material/change_material.jpg +description: Wizards.ChangeMaterialFiber.InstallMaterialSpool +placeholder: wizard-step-preheat # COOL DOWN +action_gcode: + {% set temperature = wizard.variables.temperature %} + {% set selected_e = wizard.variables.selected_e %} + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP={wizard.next_step} TEMP={temperature} EXTRUDER={selected_e} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_button CHANGE_MATERIAL_FIBER5] +image: wizards/change_material/change_material04.jpg +description: Wizards.ChangeMaterialFiber.LoadPushPull +placeholder: wizard-step-preheat +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +button_retract_gcode: + RETRACT_MATERIAL +button_load_gcode: + LOAD_MATERIAL +button_insert_gcode: + INSERT_MATERIAL + +[wizard_step_slider CHANGE_MATERIAL_FIBER6] +image: wizards/change_material/change_material02.jpg +description: Wizards.Common.SelectLoadingTemperature +slider_set_temp_min: 150 +slider_set_temp_max: 300 +slider_set_temp_step: 5 +slider_set_temp_default: 240 +action_gcode: + {% set temperature = printer["wizard_step_slider " ~ wizard.wizard_step_name].set_temp|float %} + {% set selected_e = wizard.variables.selected_e %} + SET_WIZARD_VARIABLE WIZARD={wizard.name} VARIABLE=temperature VALUE={temperature} + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP={wizard.next_step} TEMP={temperature} EXTRUDER={selected_e} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_button CHANGE_MATERIAL_FIBER7] +image: wizards/change_material/change_material04.jpg +description: Wizards.ChangeMaterialFiber.FiberFromNozzle +placeholder: wizard-step-preheat +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +button_load_gcode: + LOAD_MATERIAL +button_cut_gcode: + CUT_FIBER + G4 P1000 + PRIME_FIBER +button_retract_gcode: + RETRACT_MATERIAL diff --git a/stereotech_config/wizards/change_material_filament.cfg b/stereotech_config/wizards/change_material_filament.cfg new file mode 100644 index 000000000000..9603b6d46aba --- /dev/null +++ b/stereotech_config/wizards/change_material_filament.cfg @@ -0,0 +1,171 @@ +[wizard CHANGE_MATERIAL_FILAMENT] +image: wizards/change_material/change_material.jpg +type: any +steps: CHANGE_MATERIAL_FILAMENT0, CHANGE_MATERIAL_FILAMENT1, CHANGE_MATERIAL_FILAMENT2, CHANGE_MATERIAL_FILAMENT3, CHANGE_MATERIAL_FILAMENT4, CHANGE_MATERIAL_FILAMENT5, CHANGE_MATERIAL_FILAMENT6, CHANGE_MATERIAL_FILAMENT7, CHANGE_MATERIAL_FILAMENT8, CHANGE_MATERIAL_FILAMENT9, CHANGE_MATERIAL_FILAMENT10, CHANGE_MATERIAL_COMPLETED +variable_selected_e: 'extruder' +variable_action: 'all' + +[wizard_step CHANGE_MATERIAL_FILAMENT0] +image: wizards/change_material/change_material.jpg +description: Wizards.ChangeMaterialFilament.ChangeMaterialFilamentDescription +warning: Missing extruder +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 + MOVE_SERVICE_POSITION_HEAD + {% if printer.extruder and printer.extruder1 %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} + {% else %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP=CHANGE_MATERIAL_FILAMENT2 + ACTIVATE_EXTRUDER EXTRUDER=extruder + {% endif %} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_selector CHANGE_MATERIAL_FILAMENT1] +image: wizards/change_material/change_material01.jpg +description: Wizards.ChangeMaterialFilament.SelectExtruder +items: extruder, extruder1 +action_gcode: + {% set selected_e = wizard.variables.selected_e %} + ACTIVATE_EXTRUDER EXTRUDER={selected_e} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +select_gcode: + SET_WIZARD_VARIABLE WIZARD={wizard.name} VARIABLE=selected_e VALUE={selected} + +[wizard_step_selector CHANGE_MATERIAL_FILAMENT2] +image: wizards/change_material/change_material02.jpg +description: Wizards.Common.SelectNeededAction +items: insert, eject, all +action_gcode: + {% set action = wizard.variables.action %} + {% if action == 'insert' %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP=CHANGE_MATERIAL_FILAMENT7 + {% else %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} + {% endif %} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +select_gcode: + SET_WIZARD_VARIABLE WIZARD={wizard.name} VARIABLE=action VALUE='"{selected}"' + +[wizard_step_tree CHANGE_MATERIAL_FILAMENT3] +image: wizards/change_material/change_material02.jpg +description: Wizards.ChangeMaterialFilament.UnloadedMaterialSelect +tree_file_path: wizards/data/materials.json +depth: 3 +types: manufacturer, series, name +action_gcode: + {% set temperature = printer['wizard_step_tree ' ~ wizard.wizard_step_name].value|float %} + {% set selected_e = wizard.variables.selected_e %} + {% if temperature >= 110.0 %} + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP=CHANGE_MATERIAL_FILAMENT5 TEMP={temperature} EXTRUDER={selected_e} + {% else %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} + {% endif %} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_slider CHANGE_MATERIAL_FILAMENT4] +image: wizards/change_material/change_material02.jpg +description: Wizards.Common.SelectUnloadingTemperature +slider_slider1_min: 150 +slider_slider1_max: 300 +slider_slider1_step: 5 +slider_slider1_default: 240 +action_gcode: + {% set temperature = printer["wizard_step_slider " ~ wizard.wizard_step_name].slider1|float %} + {% set selected_e = wizard.variables.selected_e %} + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP={wizard.next_step} TEMP={temperature} EXTRUDER={selected_e} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_button CHANGE_MATERIAL_FILAMENT5] +image: wizards/change_material/change_material03.jpg +description: Wizards.ChangeMaterialFilament.UnloadMaterial +placeholder: wizard-step-preheat +action_gcode: + {% set action = wizard.variables.action %} + {% if action == 'remove' %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP=CHANGE_MATERIAL_FILAMENT11 + {% else %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} + {% endif %} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +button_unload_gcode: + EJECT_MATERIAL +button_load_gcode: + LOAD_MATERIAL + +[wizard_step_tree CHANGE_MATERIAL_FILAMENT6] +image: wizards/change_material/change_material02.jpg +description: Wizards.ChangeMaterialFilament.LoadedMaterialSelect +tree_file_path: wizards/data/materials.json +depth: 3 +types: manufacturer, series, name +action_gcode: + {% set temperature = printer['wizard_step_tree ' ~ wizard.wizard_step_name].value|float %} + {% set selected_e = wizard.variables.selected_e %} + {% if temperature >= 110.0 %} + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP=CHANGE_MATERIAL_FILAMENT8 TEMP={temperature} EXTRUDER={selected_e} + {% else %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} + {% endif %} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_slider CHANGE_MATERIAL_FILAMENT7] +image: wizards/change_material/change_material02.jpg +description: Wizards.Common.SelectLoadingTemperature +slider_slider1_min: 150 +slider_slider1_max: 300 +slider_slider1_step: 5 +slider_slider1_default: 240 +action_gcode: + {% set temperature = printer["wizard_step_slider " ~ wizard.wizard_step_name].slider1|float %} + {% set selected_e = wizard.variables.selected_e %} + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP={wizard.next_step} TEMP={temperature} EXTRUDER={selected_e} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step CHANGE_MATERIAL_FILAMENT8] +image: wizards/change_material/change_material.jpg +description: Wizards.ChangeMaterialFilament.LoadNewSpool +placeholder: wizard-step-preheat +action_gcode: + {% set selected_e = wizard.variables.selected_e %} + {% set temperature = printer[selected_e].target|float %} + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP={wizard.next_step} TEMP={temperature} EXTRUDER={selected_e} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_button CHANGE_MATERIAL_FILAMENT9] +image: wizards/change_material/change_material04.jpg +description: Wizards.ChangeMaterialFilament.PressLoad +placeholder: wizard-step-preheat +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP=CHANGE_MATERIAL_FILAMENT11 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +button_retract_gcode: + RETRACT_MATERIAL +button_load_gcode: + LOAD_MATERIAL +button_insert_gcode: + INSERT_MATERIAL + +# FOR FIBER +[wizard_step_button CHANGE_MATERIAL_FILAMENT10] +image: wizards/change_material/change_material04.jpg +description: Wizards.ChangeMaterialFilament.PressLoadFiber +placeholder: wizard-step-preheat +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +button_retract_gcode: + RETRACT_MATERIAL +button_load_gcode: + LOAD_MATERIAL diff --git a/stereotech_config/wizards/change_module.cfg b/stereotech_config/wizards/change_module.cfg new file mode 100644 index 000000000000..ce5db05145d4 --- /dev/null +++ b/stereotech_config/wizards/change_module.cfg @@ -0,0 +1,32 @@ +[wizard CHANGE_MODULE] +image: wizards/change_module/change_module.jpg +type: any +steps: CHANGE_MODULE0, CHANGE_MODULE1, CHANGE_MODULE2 + +[wizard_step CHANGE_MODULE0] +image: wizards/change_module/change_module.jpg +description: Wizards.ChangeModule.ChangeModuleFirstStep +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 + SET_WIZARD_STEP WIZARD=CHANGE_MODULE STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_button CHANGE_MODULE1] +image: wizards/change_module/change_module1.jpg +description: Wizards.ChangeModule.PowerOffAndDisconnect +warning: Wizards.ChangeModule.CalibrationAfterModuleChange +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} +button_power_off_gcode: + POWER_OFF + +[wizard_step CHANGE_MODULE2] +image: wizards/change_module/change_module.jpg +description: Wizards.ChangeModule.ChangeModuleComplete +action_gcode: + RESET_WIZARD WIZARD={wizard.name} ABORT=0 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/cmd_debug/5d_calibration_auto_cmd.cfg b/stereotech_config/wizards/cmd_debug/5d_calibration_auto_cmd.cfg new file mode 100644 index 000000000000..f1a1703a20fd --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/5d_calibration_auto_cmd.cfg @@ -0,0 +1,61 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO0 +WIZARD_STEP_BUTTON WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO0 BUTTON=clear_noozle +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO0 + +# # --------------------------------step0.1 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CLEAR_NOZZLE0 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CLEAR_NOZZLE0 + +# --------------------------------step0.2 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CLEAR_NOZZLE1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CLEAR_NOZZLE1 + + +# --------------------------------step1 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO2 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO3 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO4 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO4 + +# ---------------------------------step5 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO5 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO5 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO5 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO5 + +# # ---------------------------------step6 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO6 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO6 +WIZARD_STEP_BUTTON WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO6 BUTTON=xy_correction + +# ---------------------------------step7 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO7 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO7 AXIS=x DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO7 VALUE=0.1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO7 + +# ---------------------------------step8 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO8 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_AUTO STEP=CALIBRATE_5D_AUTO8 diff --git a/stereotech_config/wizards/cmd_debug/5d_calibration_cmd.cfg b/stereotech_config/wizards/cmd_debug/5d_calibration_cmd.cfg new file mode 100644 index 000000000000..da7384f3a87c --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/5d_calibration_cmd.cfg @@ -0,0 +1,4 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D STEP=CALIBRATE_5D_0 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D STEP=CALIBRATE_5D_0 diff --git a/stereotech_config/wizards/cmd_debug/5d_calibration_manual_cmd.cfg b/stereotech_config/wizards/cmd_debug/5d_calibration_manual_cmd.cfg new file mode 100644 index 000000000000..45583f007729 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/5d_calibration_manual_cmd.cfg @@ -0,0 +1,61 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL0 +WIZARD_STEP_BUTTON WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL0 BUTTON=clear_noozle +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL0 + +# # --------------------------------step0.1 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CLEAR_NOZZLE0 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CLEAR_NOZZLE0 + +# --------------------------------step0.2 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CLEAR_NOZZLE1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CLEAR_NOZZLE1 + +# --------------------------------step1 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL2 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL2 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL2 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL2 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL2 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL3 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL3 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL3 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL3 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL3 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL4 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL4 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL4 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL4 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL4 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL4 + +# ---------------------------------step5 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL5 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL5 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL5 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL5 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL5 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL5 + +# # ---------------------------------step6 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL6 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL STEP=CALIBRATE_5D_MANUAL6 diff --git a/stereotech_config/wizards/cmd_debug/5d_calibration_manual_old_cmd.cfg b/stereotech_config/wizards/cmd_debug/5d_calibration_manual_old_cmd.cfg new file mode 100644 index 000000000000..d34745871428 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/5d_calibration_manual_old_cmd.cfg @@ -0,0 +1,68 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD0 +WIZARD_STEP_BUTTON WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD0 BUTTON=clear_noozle +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD0 + +# # --------------------------------step0.1 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CLEAR_NOZZLE0 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CLEAR_NOZZLE0 + +# --------------------------------step0.2 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CLEAR_NOZZLE1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CLEAR_NOZZLE1 + + +# --------------------------------step1 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD1 +WIZARD_STEP_SLIDER WIZARD=CHANGE_MATERIAL STEP=CALIBRATE_5D_MANUAL_OLD1 SLIDER=set_diameter VALUE=0.4 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD1 + +# --------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD2 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD3 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD3 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD3 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD3 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD3 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD4 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD4 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD4 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD4 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD4 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD4 + +# ---------------------------------step5 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD5 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD5 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD5 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD5 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD5 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD5 + +# ---------------------------------step6 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD6 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD6 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD6 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD6 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD6 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD6 + +# # ---------------------------------step7 + +EXECUTE_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD7 +CANCEL_WIZARD_STEP WIZARD=CALIBRATE_5D_MANUAL_OLD STEP=CALIBRATE_5D_MANUAL_OLD7 diff --git a/stereotech_config/wizards/cmd_debug/adjust_basement_auto_cmd.cfg b/stereotech_config/wizards/cmd_debug/adjust_basement_auto_cmd.cfg new file mode 100644 index 000000000000..1a2e3eef78dc --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/adjust_basement_auto_cmd.cfg @@ -0,0 +1,45 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO0 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO0 + +# --------------------------------step1 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO1 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO2 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO3 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO4 +WIZARD_STEP_SELECT WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO4 ITEM=5D_spiral +WIZARD_STEP_SELECT WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO4 ITEM=5D_spiral_full +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO4 + +# ---------------------------------step5 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO5 +WIZARD_STEP_JOG WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO5 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO5 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO5 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO5 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO5 + +# # ---------------------------------step6 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO6 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO6 + +# ---------------------------------step7 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO7 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_AUTO STEP=ADJUST_BASEMENT_AUTO7 diff --git a/stereotech_config/wizards/cmd_debug/adjust_basement_cmd.cfg b/stereotech_config/wizards/cmd_debug/adjust_basement_cmd.cfg new file mode 100644 index 000000000000..d87ca471dc29 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/adjust_basement_cmd.cfg @@ -0,0 +1,4 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT STEP=ADJUST_BASEMENT0 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT STEP=ADJUST_BASEMENT0 diff --git a/stereotech_config/wizards/cmd_debug/adjust_basement_manual_cmd.cfg b/stereotech_config/wizards/cmd_debug/adjust_basement_manual_cmd.cfg new file mode 100644 index 000000000000..e7a1c1f34575 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/adjust_basement_manual_cmd.cfg @@ -0,0 +1,56 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL0 +WIZARD_STEP_BUTTON WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL0 BUTTON=clear_noozle +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL0 + +# # --------------------------------step0.1 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=CLEAR_NOZZLE0 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=CLEAR_NOZZLE0 + +# --------------------------------step0.2 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=CLEAR_NOZZLE1 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=CLEAR_NOZZLE1 + +# --------------------------------step1 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL1 +WIZARD_STEP_SLIDER WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL1 SLIDER=set_diameter VALUE=7 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL2 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL3 +WIZARD_STEP_SELECT WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL3 ITEM=5D_spiral +WIZARD_STEP_SELECT WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL3 ITEM=5D_spiral_full +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL4 +WIZARD_STEP_JOG WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL4 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL4 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL4 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL4 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL4 + +# # ---------------------------------step5 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL5 +WIZARD_STEP_JOG WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL5 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL5 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL5 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL5 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL5 + +# ---------------------------------step6 + +EXECUTE_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL6 +CANCEL_WIZARD_STEP WIZARD=ADJUST_BASEMENT_MANUAL STEP=ADJUST_BASEMENT_MANUAL6 diff --git a/stereotech_config/wizards/cmd_debug/bed_level_auto_cmd .cfg b/stereotech_config/wizards/cmd_debug/bed_level_auto_cmd .cfg new file mode 100644 index 000000000000..464955ed8664 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/bed_level_auto_cmd .cfg @@ -0,0 +1,59 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_MANUAL0 +WIZARD_STEP_BUTTON WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_MANUAL0 BUTTON=clear_noozle +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_MANUAL0 + +# # --------------------------------step0.1 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=CLEAR_NOZZLE0 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=CLEAR_NOZZLE0 + +# --------------------------------step0.2 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=CLEAR_NOZZLE1 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=CLEAR_NOZZLE1 + +# -------------------------------step 1 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_MANUAL1 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_MANUAL1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_MANUAL2 +WIZARD_STEP_JOG WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_MANUAL2 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_MANUAL2 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_MANUAL2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO3 +WIZARD_STEP_BUTTON WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO3 BUTTON=next_point +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO4 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO4 + + +# ---------------------------------step5 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO5 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO5 + +# ---------------------------------step6 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO6 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO6 + +# ---------------------------------step7 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO7 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO7 + +# ---------------------------------step8 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO8 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_AUTO STEP=BED_LEVEL_AUTO8 diff --git a/stereotech_config/wizards/cmd_debug/bed_level_manual_cmd.cfg b/stereotech_config/wizards/cmd_debug/bed_level_manual_cmd.cfg new file mode 100644 index 000000000000..7f502901ff56 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/bed_level_manual_cmd.cfg @@ -0,0 +1,38 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL0 +WIZARD_STEP_BUTTON WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL0 BUTTON=clear_noozle +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL0 + +# # --------------------------------step0.1 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=CLEAR_NOZZLE0 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=CLEAR_NOZZLE0 + +# --------------------------------step0.2 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=CLEAR_NOZZLE1 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=CLEAR_NOZZLE1 + +# -------------------------------step 1 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL1 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL2 +WIZARD_STEP_JOG WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL2 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL2 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL3 +WIZARD_STEP_BUTTON WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL3 BUTTON=next_point +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL4 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL_MANUAL STEP=BED_LEVEL_MANUAL4 diff --git a/stereotech_config/wizards/cmd_debug/change_material_cmd copy.cfg b/stereotech_config/wizards/cmd_debug/change_material_cmd copy.cfg new file mode 100644 index 000000000000..3cc36008e3b3 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/change_material_cmd copy.cfg @@ -0,0 +1,4 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=BED_LEVEL STEP=BED_LEVEL0 +CANCEL_WIZARD_STEP WIZARD=BED_LEVEL STEP=BED_LEVEL0 diff --git a/stereotech_config/wizards/cmd_debug/change_material_cmd.cfg b/stereotech_config/wizards/cmd_debug/change_material_cmd.cfg new file mode 100644 index 000000000000..cc19677b5e8d --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/change_material_cmd.cfg @@ -0,0 +1,4 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL STEP=CHANGE_MATERIAL0 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL STEP=CHANGE_MATERIAL0 diff --git a/stereotech_config/wizards/cmd_debug/change_material_fiber_cmd.cfg b/stereotech_config/wizards/cmd_debug/change_material_fiber_cmd.cfg new file mode 100644 index 000000000000..06dccf7ba197 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/change_material_fiber_cmd.cfg @@ -0,0 +1,58 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER0 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER0 + +# --------------------------------step1 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER1 +WIZARD_STEP_SELECT WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER1 ITEM=all +WIZARD_STEP_SELECT WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER1 ITEM=insert +WIZARD_STEP_SELECT WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER1 ITEM=eject +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER2 +WIZARD_STEP_SLIDER WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER2 SLIDER=set_temp VALUE=120 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER3 +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER3 BUTTON=cut +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER3 BUTTON=unload +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER3 BUTTON=load +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER4 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER4 + +# ---------------------------------step5 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER5 +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER5 BUTTON=retract +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER5 BUTTON=load +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER5 BUTTON=insert +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER5 + +# ---------------------------------step6 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER6 +WIZARD_STEP_SLIDER WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER6 SLIDER=set_temp VALUE=120 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER6 + +# ---------------------------------step7 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER7 +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER7 BUTTON=cut +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER7 BUTTON=load +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER7 BUTTON=retract +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER7 + +# ---------------------------------step8 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER8 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FIBER STEP=CHANGE_MATERIAL_FIBER8 diff --git a/stereotech_config/wizards/cmd_debug/change_material_filament_cmd.cfg b/stereotech_config/wizards/cmd_debug/change_material_filament_cmd.cfg new file mode 100644 index 000000000000..854eb5e5eb64 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/change_material_filament_cmd.cfg @@ -0,0 +1,75 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT0 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT0 + +# --------------------------------step1 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT1 +WIZARD_STEP_SELECT WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT1 ITEM=extruder +WIZARD_STEP_SELECT WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT1 ITEM=extruder1 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT2 +WIZARD_STEP_SELECT WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT2 ITEM=all +WIZARD_STEP_SELECT WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT2 ITEM=insert +WIZARD_STEP_SELECT WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT2 ITEM=eject +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT3 +WIZARD_STEP_TREE WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT3 KEY=pva +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT4 +WIZARD_STEP_SLIDER WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT4 SLIDER=slider1 VALUE=125 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT4 + +# ---------------------------------step5 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT5 +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT5 BUTTON=unload +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT5 BUTTON=load +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT5 + +# ---------------------------------step6 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT6 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT6 +WIZARD_STEP_TREE WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT6 KEY=pla + +# ---------------------------------step7 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT7 +WIZARD_STEP_SLIDER WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT7 SLIDER=slider1 VALUE=125 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT7 + +# ---------------------------------step8 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT8 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT8 + +# ---------------------------------step9 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT9 +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT9 BUTTON=retract +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT9 BUTTON=load +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT9 BUTTON=insert +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT9 + +# ---------------------------------step10 ( FOR FIBER ) + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT10 +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT10 BUTTON=retract +WIZARD_STEP_BUTTON WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT10 BUTTON=load +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT10 + +# ---------------------------------step11 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT11 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MATERIAL_FILAMENT STEP=CHANGE_MATERIAL_FILAMENT11 diff --git a/stereotech_config/wizards/cmd_debug/change_module_cmd.cfg b/stereotech_config/wizards/cmd_debug/change_module_cmd.cfg new file mode 100644 index 000000000000..e7171133727d --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/change_module_cmd.cfg @@ -0,0 +1,15 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MODULE STEP=CHANGE_MODULE0 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MODULE STEP=CHANGE_MODULE0 + +# --------------------------------step1 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MODULE STEP=CHANGE_MODULE1 +WIZARD_STEP_BUTTON WIZARD=CHANGE_MODULE STEP=CHANGE_MODULE1 BUTTON=power_off +CANCEL_WIZARD_STEP WIZARD=CHANGE_MODULE STEP=CHANGE_MODULE1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=CHANGE_MODULE STEP=CHANGE_MODULE2 +CANCEL_WIZARD_STEP WIZARD=CHANGE_MODULE STEP=CHANGE_MODULE2 diff --git a/stereotech_config/wizards/cmd_debug/nozzle_offset_5d_cmd.cfg b/stereotech_config/wizards/cmd_debug/nozzle_offset_5d_cmd.cfg new file mode 100644 index 000000000000..c410d5341093 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/nozzle_offset_5d_cmd.cfg @@ -0,0 +1,42 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D0 +WIZARD_STEP_BUTTON WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D0 BUTTON=clear_noozle +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D0 + +# # --------------------------------step0.1 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=CLEAR_NOZZLE0 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=CLEAR_NOZZLE0 + +# --------------------------------step0.2 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=CLEAR_NOZZLE1 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=CLEAR_NOZZLE1 + +# -------------------------------step 1 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D1 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D2 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D3 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D4 +WIZARD_STEP_JOG WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D4 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D4 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D4 + +# ---------------------------------step5 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D5 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_5D STEP=NOZZLE_OFFSET_5D5 diff --git a/stereotech_config/wizards/cmd_debug/nozzle_offset_fiber_cmd.cfg b/stereotech_config/wizards/cmd_debug/nozzle_offset_fiber_cmd.cfg new file mode 100644 index 000000000000..c29ebf74fc57 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/nozzle_offset_fiber_cmd.cfg @@ -0,0 +1,37 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER0 +WIZARD_STEP_BUTTON WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER0 BUTTON=load_material +WIZARD_STEP_BUTTON WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER0 BUTTON=bed_level +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER0 + +# -------------------------------step 1 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER1 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER2 +WIZARD_STEP_SLIDER WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER2 SLIDER=set_temp_main_e VALUE=151 +WIZARD_STEP_SLIDER WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER2 SLIDER=set_temp_second_e VALUE=152 +WIZARD_STEP_SLIDER WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER2 SLIDER=set_temp_bed VALUE=40 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER3 +WIZARD_STEP_JOG WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER3 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER3 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER4 +WIZARD_STEP_NOZZLE_OFFSET WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER4 STEP_X=8 STEP_Y=8 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER4 + +# ---------------------------------step5 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER5 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_FIBER STEP=NOZZLE_OFFSET_FIBER5 diff --git a/stereotech_config/wizards/cmd_debug/nozzle_offset_hybrid_cmd.cfg b/stereotech_config/wizards/cmd_debug/nozzle_offset_hybrid_cmd.cfg new file mode 100644 index 000000000000..1d2566723847 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/nozzle_offset_hybrid_cmd.cfg @@ -0,0 +1,48 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID0 +WIZARD_STEP_BUTTON WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID0 BUTTON=load_material +WIZARD_STEP_BUTTON WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID0 BUTTON=bed_level +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID0 + +# -------------------------------step 1 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID1 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID2 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID3 +WIZARD_STEP_SLIDER WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID3 SLIDER=set_temp_main_e VALUE=151 +WIZARD_STEP_SLIDER WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID3 SLIDER=set_temp_second_e VALUE=152 +WIZARD_STEP_SLIDER WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID3 SLIDER=set_temp_bed VALUE=40 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID4 +WIZARD_STEP_JOG WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID4 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID4 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID4 + +# ---------------------------------step5 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID5 +WIZARD_STEP_SLIDER WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID5 SLIDER=y_offset VALUE=7 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID5 + +# ---------------------------------step6 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID6 +WIZARD_STEP_SLIDER WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID6 SLIDER=x_offset VALUE=7 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID6 + +# ---------------------------------step7 + +EXECUTE_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID7 +CANCEL_WIZARD_STEP WIZARD=NOZZLE_OFFSET_HYBRID STEP=NOZZLE_OFFSET_HYBRID7 diff --git a/stereotech_config/wizards/cmd_debug/nozzles_height_align_5d_cmd.cfg b/stereotech_config/wizards/cmd_debug/nozzles_height_align_5d_cmd.cfg new file mode 100644 index 000000000000..c41f59809137 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/nozzles_height_align_5d_cmd.cfg @@ -0,0 +1,25 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=ALIGN_NOZZLES STEP=ALIGN_NOZZLES0 +WIZARD_STEP_BUTTON WIZARD=ALIGN_NOZZLES STEP=ALIGN_NOZZLES0 BUTTON=calibarate_module +CANCEL_WIZARD_STEP WIZARD=ALIGN_NOZZLES STEP=ALIGN_NOZZLES0 + +# -------------------------------step 1 + +EXECUTE_WIZARD_STEP WIZARD=ALIGN_NOZZLES STEP=ALIGN_NOZZLES1 +CANCEL_WIZARD_STEP WIZARD=ALIGN_NOZZLES STEP=ALIGN_NOZZLES1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=ALIGN_NOZZLES STEP=ALIGN_NOZZLES2 +CANCEL_WIZARD_STEP WIZARD=ALIGN_NOZZLES STEP=ALIGN_NOZZLES2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=ALIGN_NOZZLES STEP=ALIGN_NOZZLES3 +CANCEL_WIZARD_STEP WIZARD=ALIGN_NOZZLES STEP=ALIGN_NOZZLES3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=ALIGN_NOZZLES STEP=ALIGN_NOZZLES4 +CANCEL_WIZARD_STEP WIZARD=ALIGN_NOZZLES STEP=ALIGN_NOZZLES4 diff --git a/stereotech_config/wizards/cmd_debug/zero_point_calibration_cmd.cfg b/stereotech_config/wizards/cmd_debug/zero_point_calibration_cmd.cfg new file mode 100644 index 000000000000..d9504483e620 --- /dev/null +++ b/stereotech_config/wizards/cmd_debug/zero_point_calibration_cmd.cfg @@ -0,0 +1,38 @@ +# -------------------------------step 0 + +EXECUTE_WIZARD_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE0 +CANCEL_WIZARD_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE0 + +# --------------------------------step1 + +EXECUTE_WIZARD_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE1 +CANCEL_WIZARD_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE1 + +# ---------------------------------step2 + +EXECUTE_WIZARD_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE2 +WIZARD_STEP_JOG WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE2 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE2 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE2 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE2 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE2 + +# ---------------------------------step3 + +EXECUTE_WIZARD_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE3 +WIZARD_STEP_JOG WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE3 AXIS=x DIRECTION=0 +WIZARD_STEP_JOG WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE3 AXIS=y DIRECTION=0 +WIZARD_STEP_JOG WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE3 AXIS=z DIRECTION=0 +WIZARD_STEP_SET_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE3 VALUE=1 +CANCEL_WIZARD_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE3 + +# ---------------------------------step4 + +EXECUTE_WIZARD_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE4 +WIZARD_STEP_SLIDER WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE4 SLIDER=set_diameter VALUE=7 +CANCEL_WIZARD_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE4 + +# ---------------------------------step5 + +EXECUTE_WIZARD_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE5 +CANCEL_WIZARD_STEP WIZARD=ZERO_POINT_CALIBRATE STEP=ZERO_POINT_CALIBRATE5 diff --git a/stereotech_config/wizards/common.cfg b/stereotech_config/wizards/common.cfg new file mode 100644 index 000000000000..7fe8c8570057 --- /dev/null +++ b/stereotech_config/wizards/common.cfg @@ -0,0 +1,145 @@ +[gcode_macro CHANGE_STEP_AND_WAIT_HEATING] +gcode: + {% set wizard = params.WIZARD %} + {% set step = params.STEP %} + {% set temperature = params.TEMP %} + {% set selected_e = params.EXTRUDER %} + {% if step == 'CLEAR_NOZZLE0' %} + MOVE_SERVICE_POSITION_HEAD + {% endif %} + SET_HEATER_TEMPERATURE HEATER={selected_e} TARGET={temperature} + WIZARD_STEP_LOADING_STATE WIZARD={wizard} STEP={step} ENABLE=1 + SET_WIZARD_STEP WIZARD={wizard} STEP={step} + M109 S{temperature} + WIZARD_STEP_LOADING_STATE WIZARD={wizard} STEP={step} ENABLE=0 + +[gcode_macro CHANGE_STEP_AND_WAIT_COOLING] +gcode: + {% set wizard = params.WIZARD %} + {% set step = params.STEP %} + {% set selected_e = params.EXTRUDER %} + {% set curr_temp = printer[selected_e].temperature|float %} + {% set need_temp = params.TEMP|float %} + WIZARD_STEP_LOADING_STATE WIZARD={wizard} STEP={step} ENABLE=1 + SET_WIZARD_STEP WIZARD={wizard} STEP={step} + {% if curr_temp > need_temp %} + SET_HEATER_TEMPERATURE HEATER={selected_e} TARGET={need_temp} + M106 S255 + M109 S{need_temp} + M106 S0 + {% endif %} + TURN_OFF_HEATERS + WIZARD_STEP_LOADING_STATE WIZARD={wizard} STEP={step} ENABLE=0 + +[gcode_macro CHANGE_STEP_AND_WAIT_PROBE] +variable_wizard: '' +variable_step: '' +gcode: + {% set wizard = params.WIZARD %} + {% set step = params.STEP %} + SET_GCODE_VARIABLE MACRO=CHANGE_STEP_AND_WAIT_PROBE VARIABLE=wizard VALUE={["'" ~ wizard ~ "'"]} + SET_GCODE_VARIABLE MACRO=CHANGE_STEP_AND_WAIT_PROBE VARIABLE=step VALUE={["'" ~ step ~ "'"]} + WIZARD_STEP_LOADING_STATE WIZARD={wizard} STEP={step} ENABLE=1 + SET_WIZARD_STEP WIZARD={wizard} STEP={step} + UPDATE_DELAYED_GCODE ID=test_probe_loop_two DURATION=1.0 + TEST_PROBE + +[gcode_macro CHANGE_STEP_AND_WAIT_RUN_CMD] +gcode: + {% set wizard = params.WIZARD %} + {% set step = params.STEP %} + WIZARD_STEP_LOADING_STATE WIZARD={wizard} STEP={step} ENABLE=1 + SET_WIZARD_STEP WIZARD={wizard} STEP={step} + {params.CMD} {rawparams} + M400 + WIZARD_STEP_LOADING_STATE WIZARD={wizard} STEP={step} ENABLE=0 + +[gcode_macro RESET_WIZARD] +rename_existing: RESET_WIZARD_OLD +gcode: + {% set wizard = params.WIZARD %} + {% set abort = params.ABORT|default(1)|int %} + {% set home = params.HOME|default(1)|int %} + {% if printer["probe"] %} + UPDATE_DELAYED_GCODE ID=test_probe_loop_two DURATION=0.0 + {% endif %} + HOME_POSITION ABORT={abort} + RESET_WIZARD_OLD WIZARD={wizard} + +[delayed_gcode test_probe_loop_two] +gcode: + {% if printer["probe"].last_query %} + UPDATE_DELAYED_GCODE ID=test_probe_loop_two DURATION=0.0 + {% set wizard = printer["gcode_macro CHANGE_STEP_AND_WAIT_PROBE"].wizard %} + {% set step = printer["gcode_macro CHANGE_STEP_AND_WAIT_PROBE"].step %} + WIZARD_STEP_LOADING_STATE WIZARD={wizard[0]} STEP={step[0]} ENABLE=0 + {% else %} + QUERY_PROBE + UPDATE_DELAYED_GCODE ID=test_probe_loop_two DURATION=1.0 + {% endif %} + +[wizard_step CLEAR_NOZZLE0] +description: Wizards.ClearNozzle.WaitHeating +placeholder: wizard-step-preheat +action_gcode: + RETRACT_MATERIAL + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step CLEAR_NOZZLE1] +description: Wizards.ClearNozzle.NozzleClear +action_gcode: + MOVE_SERVICE_POSITION + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[gcode_macro JOG_DO_MOVE] +gcode: + {% set axis = params.AXIS|default('X')|upper %} + {% set direction = '+' if params.DIRECTION|default(1)|int else '-' %} + {% set step_name = params.STEP_NAME %} + {% set val = printer["wizard_step_jog " ~ step_name].step %} + {% set mode = params.MODE|default('relative') %} + {% if mode == 'relative' %} + G91 + G1 {axis ~ direction ~ val} F1500 + G90 + {% elif mode == 'manual_probe' %} + TESTZ Z={direction ~ val} + {% elif mode == 'nozzle_offset' %} + SET_GCODE_OFFSET {axis}_ADJUST={direction ~ val} MOVE=1 + {% endif %} + +[wizard_step CHANGE_MATERIAL_COMPLETED] +image: wizards/change_material/change_material.jpg +description: Wizards.ChangeMaterialFilament.MaterialChangeCompleted +action_gcode: + RESET_WIZARD WIZARD={wizard.name} ABORT=0 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step NOZZLE_OFFSET_COMPLETED] +image: wizards/nozzle_offset/wait_for_print.jpg +description: Wizards.NozzleOffset.Completed +action_gcode: + RESET_WIZARD WIZARD={wizard.name} ABORT=0 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step ADJUST_BASEMENT_MANUAL_COMPLETED] +image: wizards/zero_point_setup/zero_point_setup.jpg +description: Wizards.Common.AdjustBasementCompleted +action_gcode: + RESET_WIZARD WIZARD={wizard.name} ABORT=0 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step CALIBRATE_5D_MANUAL_COMPLETED] +image: wizards/5d_calibration_auto/auto_five_axis_level_06.jpg +description: Wizards.Common.5DCalibrationComplete +action_gcode: + RESET_WIZARD WIZARD={wizard.name} ABORT=0 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/data/materials.json b/stereotech_config/wizards/data/materials.json index c376353f11f2..f8ac13dc6af8 100644 --- a/stereotech_config/wizards/data/materials.json +++ b/stereotech_config/wizards/data/materials.json @@ -3,49 +3,128 @@ "key": "stereotech", "children": [ { - "key": "proto", + "key": "Proto", "children": [ { - "key": "pla", + "key": "PLA", "value": 205 }, { - "key": "pva", - "value": 206 + "key": "PVA", + "value": 200 } ] - } - ] - }, - { - "key": "stereotech1", - "children": [ + }, { - "key": "proto1", + "key": "Enduse", "children": [ { - "key": "pla1", - "value": 207 + "key": "ABS", + "value": 250 + }, + { + "key": "SBS", + "value": 230 + }, + { + "key": "PETG", + "value": 230 + }, + { + "key": "TPU D70", + "value": 217 + }, + { + "key": "PP", + "value": 225 }, { - "key": "pva1", - "value": 208 + "key": "PA6", + "value": 260 + }, + { + "key": "PC", + "value": 280 } ] }, { - "key": "proto2", + "key": "Fiberpart", "children": [ { - "key": "pla2", - "value": 209 + "key": "ABS G4", + "value": 242 + }, + { + "key": "ABS G13", + "value": 270 }, { - "key": "pva2", - "value": 210 + "key": "TPU C5", + "value": 227 + }, + { + "key": "TPU G30", + "value": 240 + }, + { + "key": "ABSPA G8", + "value": 280 + }, + { + "key": "PA12 G12", + "value": 250 + }, + { + "key": "PP G30", + "value": 290 + }, + { + "key": "PC G20", + "value": 290 + } + ] + }, + { + "key": "Sealant", + "children": [ + { + "key": "TPU A95", + "value": 212 + }, + { + "key": "TPU A93", + "value": 200 + }, + { + "key": "TPU A90", + "value": 225 + }, + { + "key": "SEBS", + "value": 232 + } + ] + }, + { + "key": "Metalcast", + "children": [ + { + "key": "Metalcast-316", + "value": 240 + } + ] + }, + { + "key": "ContiFiber", + "children": [ + { + "key": "ContiFiber CPA", + "value": 270 } ] } + ] } -] \ No newline at end of file +] diff --git a/stereotech_config/wizards/nozzle_offset_5d.cfg b/stereotech_config/wizards/nozzle_offset_5d.cfg new file mode 100644 index 000000000000..25b13d39168b --- /dev/null +++ b/stereotech_config/wizards/nozzle_offset_5d.cfg @@ -0,0 +1,69 @@ +[wizard NOZZLE_OFFSET_5D] +image: wizards/change_material/change_material.jpg +type: 5d +steps: NOZZLE_OFFSET_5D0, CLEAR_NOZZLE0, CLEAR_NOZZLE1, NOZZLE_OFFSET_5D1, NOZZLE_OFFSET_5D2, NOZZLE_OFFSET_5D3, NOZZLE_OFFSET_5D4, NOZZLE_OFFSET_5D5 + +[wizard_step_button NOZZLE_OFFSET_5D0] +description: NozzleOffset5D.Description +warning: Wizards.Common.MakeSureFreeOfPlastic +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 + MOVE_SERVICE_POSITION + SET_WIZARD_STEP WIZARD={wizard.name} STEP=NOZZLE_OFFSET_5D1 +button_clear_noozle_gcode: + {% set extruder = printer.toolhead.extruder|default('extruder') %} + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR='' + CHANGE_STEP_AND_WAIT_HEATING WIZARD={wizard.name} STEP={wizard.next_step} TEMP=200 EXTRUDER={extruder} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step NOZZLE_OFFSET_5D1] +image: wizards/5d_calibration_auto/auto_five_axis_level_02.jpg +description: Wizards.Common.PlaceTool +warning: Wizards.Common.GapBetweenTemplateModule +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step NOZZLE_OFFSET_5D2] +image: wizards/5d_calibration_auto/auto_five_axis_level_03.jpg +description: Wizards.Common.ConnectSensor +warning: Wizards.Common.WarningScrew +action_gcode: + CHANGE_STEP_AND_WAIT_PROBE WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step NOZZLE_OFFSET_5D3] +image: wizards/5d_calibration_auto/auto_five_axis_level_04.jpg +description: Wizards.Common.ConnectAndCheck +placeholder: wizard-step-probe +action_gcode: + ADJUST_NOZZLE_OFFSET_Z + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog NOZZLE_OFFSET_5D4] +image: wizards/nozzle_offset/chup_3d.jpg +description: Wizards.NozzleOffset5D.MoveToSurface +axes: z +steps: 0.05, 0.1, 1, 10 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + ADJUST_PROBE_OFFSET_Z ADJUST_CALIBRATION=1 ADJUST_WCS=1 + SET_WCS_FROM_AUTO_WCS + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step NOZZLE_OFFSET_5D5] +image: wizards/5d_calibration_auto/auto_five_axis_level_03.jpg +description: Wizards.NozzleOffset5D.Finish +action_gcode: + RESET_WIZARD WIZARD={wizard.name} ABORT=0 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/nozzle_offset_fiber.cfg b/stereotech_config/wizards/nozzle_offset_fiber.cfg new file mode 100644 index 000000000000..3fe0219f2025 --- /dev/null +++ b/stereotech_config/wizards/nozzle_offset_fiber.cfg @@ -0,0 +1,84 @@ +[wizard NOZZLE_OFFSET_FIBER] +image: wizards/change_material/change_material.jpg +type: 5d +steps: NOZZLE_OFFSET_FIBER0, NOZZLE_OFFSET_FIBER1, NOZZLE_OFFSET_FIBER2, NOZZLE_OFFSET_FIBER3, NOZZLE_OFFSET_FIBER4, NOZZLE_OFFSET_COMPLETED + +[wizard_step_button NOZZLE_OFFSET_FIBER0] +image: wizards/nozzle_offset/wait_for_print.jpg +description: Wizards.NozzleOffset.Description +warning: Wizards.NozzleOffset.Prerequisites +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 + MOVE_SERVICE_POSITION + G0 Z0 F600 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +button_load_material_gcode: + SET_WIZARD_ENABLE WIZARD=CHANGE_MATERIAL_FIBER ENABLE=1 ERROR='' +button_bed_level_gcode: + SET_WIZARD_ENABLE WIZARD=BED_LEVEL_MANUAL ENABLE=1 ERROR='' +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step NOZZLE_OFFSET_FIBER1] +image: wizards/nozzle_offset/chup_3d.jpg +description: Wizards.Common.GapBetweenTemplateModule +action_gcode: + G0 Z30 F600 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_slider NOZZLE_OFFSET_FIBER2] +image: wizards/nozzle_offset/select_temp.jpg +description: Wizards.NozzleOffset.SetTemperatures +slider_set_temp_main_e_min: 150 +slider_set_temp_main_e_max: 290 +slider_set_temp_main_e_step: 5 +slider_set_temp_main_e_default: 220 +slider_set_temp_second_e_min: 150 +slider_set_temp_second_e_max: 290 +slider_set_temp_second_e_step: 5 +slider_set_temp_second_e_default: 220 +slider_set_temp_bed_min: 40 +slider_set_temp_bed_max: 120 +slider_set_temp_bed_step: 5 +slider_set_temp_bed_default: 60 +action_gcode: + {% set main_e = printer["wizard_step_slider " ~ wizard.wizard_step_name].set_temp_main_e|float %} + {% set second_e = printer["wizard_step_slider " ~ wizard.wizard_step_name].set_temp_second_e|float %} + {% set bed = printer["wizard_step_slider " ~ wizard.wizard_step_name].set_temp_bed|float %} + WIZARD_STEP_LOADING_STATE WIZARD={wizard.name} STEP={wizard.next_step} ENABLE=1 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} + PRINT_NOZZLE_OFFSET MAIN_E={main_e} SECOND_E={second_e} BED={bed} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog NOZZLE_OFFSET_FIBER3] +image: wizards/nozzle_offset/wait_for_print.jpg +description: Wizards.NozzleOffset.WaitForPrint +countdown: 1140 +placeholder: wizard-step-preheat +axes: z +steps: 0.05, 0.1, 1 +default_step: 0.1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} MODE=nozzle_offset +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_nozzle_offset NOZZLE_OFFSET_FIBER4] +description: Wizards.NozzleOffset.NozzleOffsetDescription +steps: 15 +default_step: 8 +step_value: 0.1 +min_value: -0.7 +action_gcode: + {% set step_x = printer["wizard_step_nozzle_offset " ~ wizard.wizard_step_name].step_x|float %} + {% set step_y = printer["wizard_step_nozzle_offset " ~ wizard.wizard_step_name].step_y|float %} + SET_NOZZLE_OFFSET AXIS=X VALUE={step_x} + SET_NOZZLE_OFFSET AXIS=Y VALUE={step_y} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/nozzle_offset_hybrid.cfg b/stereotech_config/wizards/nozzle_offset_hybrid.cfg new file mode 100644 index 000000000000..37e8551b0f3a --- /dev/null +++ b/stereotech_config/wizards/nozzle_offset_hybrid.cfg @@ -0,0 +1,105 @@ +[wizard NOZZLE_OFFSET_HYBRID] +image: wizards/change_material/change_material.jpg +type: 5d +steps: NOZZLE_OFFSET_HYBRID0, NOZZLE_OFFSET_HYBRID1, NOZZLE_OFFSET_HYBRID2, NOZZLE_OFFSET_HYBRID3, NOZZLE_OFFSET_HYBRID4, NOZZLE_OFFSET_HYBRID5, NOZZLE_OFFSET_HYBRID6, NOZZLE_OFFSET_COMPLETED + +[wizard_step_button NOZZLE_OFFSET_HYBRID0] +image: wizards/nozzle_offset/wait_for_print.jpg +description: Wizards.NozzleOffset.Description +warning: Wizards.NozzleOffset.Prerequisites +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 + MOVE_SERVICE_POSITION + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +button_load_material_gcode: + SET_WIZARD_ENABLE WIZARD=CHANGE_MATERIAL_FILAMENT ENABLE=1 ERROR='' +button_bed_level_gcode: + SET_WIZARD_ENABLE WIZARD=BED_LEVEL_MANUAL ENABLE=1 ERROR='' +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step NOZZLE_OFFSET_HYBRID1] +image: wizards/nozzle_offset/release_nozzle.jpg +description: Wizards.Common.ReleaseNozzle +action_gcode: + G0 Z0 F600 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step NOZZLE_OFFSET_HYBRID2] +image: wizards/nozzle_offset/adjust_nozzle.jpg +description: Wizards.NozzleOffset.TightNozzle +action_gcode: + G0 Z30 F600 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_slider NOZZLE_OFFSET_HYBRID3] +image: wizards/nozzle_offset/select_temp.jpg +description: Wizards.NozzleOffset.SetTemperatures +slider_set_temp_main_e_min: 150 +slider_set_temp_main_e_max: 290 +slider_set_temp_main_e_step: 5 +slider_set_temp_main_e_default: 220 +slider_set_temp_second_e_min: 150 +slider_set_temp_second_e_max: 290 +slider_set_temp_second_e_step: 5 +slider_set_temp_second_e_default: 220 +slider_set_temp_bed_min: 40 +slider_set_temp_bed_max: 120 +slider_set_temp_bed_step: 5 +slider_set_temp_bed_default: 60 +action_gcode: + {% set main_e = printer["wizard_step_slider " ~ wizard.wizard_step_name].set_temp_main_e|float %} + {% set second_e = printer["wizard_step_slider " ~ wizard.wizard_step_name].set_temp_second_e|float %} + {% set bed = printer["wizard_step_slider " ~ wizard.wizard_step_name].set_temp_bed|float %} + WIZARD_STEP_LOADING_STATE WIZARD={wizard.name} STEP={wizard.next_step} ENABLE=1 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} + PRINT_NOZZLE_OFFSET MAIN_E={main_e} SECOND_E={second_e} BED={bed} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog NOZZLE_OFFSET_HYBRID4] +image: wizards/nozzle_offset/wait_for_print.jpg +description: Wizards.NozzleOffset.WaitForPrint +countdown: 540 +placeholder: wizard-step-preheat +axes: z +steps: 0.05, 0.1, 1 +default_step: 0.1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} MODE=nozzle_offset +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_slider NOZZLE_OFFSET_HYBRID5] +image: wizards/nozzle_offset/grid_vertical.jpg +description: Wizards.NozzleOffset.AdjustVertical +slider_y_offset_min: 1 +slider_y_offset_max: 15 +slider_y_offset_step: 1 +slider_y_offset_default: 8 +action_gcode: + {% set y_offset = printer["wizard_step_slider " ~ wizard.wizard_step_name].y_offset|float %} + SET_NOZZLE_OFFSET AXIS=Y VALUE={y_offset} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_slider NOZZLE_OFFSET_HYBRID6] +image: wizards/nozzle_offset/grid_horizontal.jpg +description: Wizards.NozzleOffset.AdjustHorizontal +slider_x_offset_min: 1 +slider_x_offset_max: 15 +slider_x_offset_step: 1 +slider_x_offset_default: 8 +action_gcode: + {% set x_offset = printer["wizard_step_slider " ~ wizard.wizard_step_name].x_offset|float %} + SET_NOZZLE_OFFSET AXIS=X VALUE={x_offset} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/nozzles_height_align_5d.cfg b/stereotech_config/wizards/nozzles_height_align_5d.cfg new file mode 100644 index 000000000000..395b630ec84a --- /dev/null +++ b/stereotech_config/wizards/nozzles_height_align_5d.cfg @@ -0,0 +1,83 @@ +[wizard ALIGN_NOZZLES] +image: wizards/change_material/change_material.jpg +type: 5d +steps: ALIGN_NOZZLES0, ALIGN_NOZZLES1, ALIGN_NOZZLES2, ALIGN_NOZZLES3, ALIGN_NOZZLES4 + +[wizard_step_button ALIGN_NOZZLES0] +image: wizards/nozzle_offset/wait_for_print.jpg +description: Wizards.AlignHeightNozzles5D.Description +warning: Wizards.AlignHeightNozzles5D.Prerequisites +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 + MOVE_SERVICE_POSITION + {% if printer["gcode_button five_axis_module"].state == "RELEASED" %} + # 3d + SET_WIZARD_STEP WIZARD={wizard.name} STEP=ALIGN_NOZZLES2 + {% else %} + # 5d + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} + {% endif %} +button_calibarate_module_gcode: + {% if printer["gcode_button five_axis_module"].state == "RELEASED" %} + # 3d + {% if printer.probe %} + SET_WIZARD_ENABLE WIZARD=BED_LEAVEL_AUTO ENABLE=1 + {% else %} + SET_WIZARD_ENABLE WIZARD=BED_LEAVEL_MANUAL ENABLE=1 + {% endif %} + {% else %} + # 5d + {% if printer.probe %} + SET_WIZARD_ENABLE WIZARD=CALIBRATE_5D_AUTO ENABLE=1 + {% else %} + SET_WIZARD_ENABLE WIZARD=CALIBRATE_5D_MANUAL ENABLE=1 + {% endif %} + {% endif %} + M400 + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step ALIGN_NOZZLES1] +image: wizards/5d_calibration_auto/auto_five_axis_level_02.jpg +description: Wizards.Common.PlaceTool +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step ALIGN_NOZZLES2] +image: wizards/nozzle_offset/release_nozzle.jpg +description: Wizards.Common.ReleaseNozzle +action_gcode: + {% if printer["gcode_button five_axis_module"].state == "RELEASED" %} + # 3d + G54 + G0 Z0 F600 + {% else %} + # 5d + G55 + G0 X0 Y0 A0 F600 + {% endif %} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step ALIGN_NOZZLES3] +image: wizards/nozzle_offset/adjust_nozzle.jpg +description: AlignHeightNozzles5D.TightNozzle +action_gcode: + G91 + G0 Z30 F600 + G90 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step ALIGN_NOZZLES4] +image: wizards/nozzle_offset/wait_for_print.jpg +description: AlignHeightNozzles5D.Completed +action_gcode: + RESET_WIZARD WIZARD={wizard.name} ABORT=0 +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/wizards.cfg b/stereotech_config/wizards/wizards.cfg deleted file mode 100644 index 21f878c6c311..000000000000 --- a/stereotech_config/wizards/wizards.cfg +++ /dev/null @@ -1,201 +0,0 @@ -# wizard -# SET_WIZARD_ENABLE WIZARD=CALIBRATE ENABLE=1 ERROR=error_message -# SET_WIZARD_STEP WIZARD=CALIBRATE STEP=step1 -# SET_WIZARD_VARIABLE WIZARD=CALIBRATE VARIABLE=a VALUE=17 -# RESET_WIZARD WIZARD=CALIBRATE - -# wizard_step -# CANCEL_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_0 -# EXECUTE_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_0 - -# wizard_step_button -# CANCEL_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_BUTTON_1 -# EXECUTE_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_BUTTON_1 -# WIZARD_STEP_BUTTON WIZARD=CALIBRATE STEP=STEP_BUTTON_1 BUTTON=button_1 -# WIZARD_STEP_BUTTON WIZARD=CALIBRATE STEP=STEP_BUTTON_1 BUTTON=button2 - -# wizard_step_wizards -# CANCEL_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_WIZARDS_1 -# EXECUTE_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_WIZARDS_1 - -# wizard_step_selector -# CANCEL_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_SELECTOR_1 -# EXECUTE_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_SELECTOR_1 -# WIZARD_STEP_SELECT WIZARD=CALIBRATE STEP=STEP_SELECTOR_1 ITEM=item3 - -# wizard_step_slider -# CANCEL_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_SLIDER_1 -# EXECUTE_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_SLIDER_1 -# WIZARD_STEP_SLIDER WIZARD=CALIBRATE STEP=STEP_SLIDER_1 SLIDER=slider1 VALUE=12 -# WIZARD_STEP_SLIDER WIZARD=CALIBRATE STEP=STEP_SLIDER_1 SLIDER=slider_2 VALUE=40 - -# wizard_step_jog -# CANCEL_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_JOG_1 -# EXECUTE_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_JOG_1 -# WIZARD_STEP_JOG WIZARD=CALIBRATE STEP=STEP_JOG_1 AXIS=z DIRECTION=0 -# WIZARD_STEP_SET_STEP WIZARD=CALIBRATE STEP=STEP_JOG_1 VALUE=20 - -# wizard_step_nozzle_offset -# CANCEL_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_NOZZLE_OFFSET_1 -# EXECUTE_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_NOZZLE_OFFSET_1 -# WIZARD_STEP_NOZZLE_OFFSET WIZARD=CALIBRATE STEP=STEP_NOZZLE_OFFSET_1 STEP_X=9 STEP_Y=10 - -# wizard_step_tree -# CANCEL_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_TREE_1 -# EXECUTE_WIZARD_STEP WIZARD=CALIBRATE STEP=STEP_TREE_1 -# WIZARD_STEP_TREE WIZARD=CALIBRATE STEP=STEP_TREE_1 KEY=pla - -[wizard CALIBRATE] -image: path/to/image/wizard/CALIBRATE -type: 3d, 5d, any -steps: STEP_0, STEP_BUTTON_1, STEP_WIZARDS_1, STEP_SELECTOR_1, STEP_SLIDER_1, STEP_JOG_1, STEP_NOZZLE_OFFSET_1 -variable_a: 1 -variable_b: 2 - -[wizard_step STEP_0] -image: path/to/image/wizard/STEP_0 -landscape: false -description: description STEP_0 -warning: warning STEP_0 -countdown: 10 -info: info about STSTEP_0 -placeholder: wizard-step-preheat -action_gcode: - SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.wizard_step_name} - {action_respond_info('-------------------start STEP_0')} - WIZARD_STEP_LOADING_STATE WIZARD={wizard.name} STEP=STEP_0 ENABLE=1 -cancel_gcode: - {action_respond_info('------------------CANCEL STEP_0')} - RESET_WIZARD WIZARD={wizard.name} - -[wizard_step_button STEP_BUTTON_1] -image: path/to/image/wizard/STEP_BUTTON_1 -landscape: false -description: description STEP_BUTTON_1 -warning: warning STEP_BUTTON_1 -countdown: 20 -info: info about STEP_BUTTON_1 -placeholder: wizard-step-preheat -button_button_1_gcode: - {action_respond_info('-------------------button_button_1_gcode')} -button_button2_gcode: - {action_respond_info('-------------------button_button2_gcode')} -action_gcode: - {action_respond_info('-------------------action_gcode STEP_BUTTON_1')} - WIZARD_STEP_LOADING_STATE WIZARD={wizard.name} STEP=STEP_BUTTON_1 ENABLE=1 - SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.wizard_step_name} -cancel_gcode: - {action_respond_info('------------------cancel_gcode STEP_BUTTON_1')} - RESET_WIZARD WIZARD={wizard.name} - -[wizard_step_wizards STEP_WIZARDS_1] -image: path/to/image/wizard/STEP_WIZARDS_1 -landscape: false -description: description STEP_WIZARDS_1 -warning: warning STEP_WIZARDS_1 -countdown: 20 -info: info about STEP_WIZARDS_1 -wizards: wizard1, wizard2 -action_gcode: - {action_respond_info('-------------------action_gcode STEP_WIZARDS_1')} - SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.wizard_step_name} -cancel_gcode: - {action_respond_info('------------------cancel_gcode STEP_WIZARDS_1')} - RESET_WIZARD WIZARD={wizard.name} - -[wizard_step_selector STEP_SELECTOR_1] -image: path/to/image/wizard/STEP_SELECTOR_1 -landscape: false -description: description STEP_SELECTOR_1 -warning: warning STEP_SELECTOR_1 -countdown: 20 -info: info about STEP_SELECTOR_1 -items: item1, item2, item3 -select_gcode: - {action_respond_info('-------------------select_gcode STEP_SELECTOR_1 selected=%s, wizard=%s' % (selected, wizard.name))} -action_gcode: - {action_respond_info('-------------------action_gcode STEP_SELECTOR_1')} - SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.wizard_step_name} -cancel_gcode: - {action_respond_info('------------------cancel_gcode STEP_SELECTOR_1')} - RESET_WIZARD WIZARD={wizard.name} - # HOME_POSITION ABORT=1 - -[wizard_step_slider STEP_SLIDER_1] -image: path/to/image/wizard/STEP_SLIDER_1 -landscape: false -description: description STEP_SLIDER_1 -warning: warning STEP_SLIDER_1 -countdown: 20 -info: info about STEP_SLIDER_1 -slider_slider1_min: 0 -slider_slider1_max: 100 -slider_slider1_step: 1 -slider_slider1_default: 20 -slider_slider_2_min: 4 -slider_slider_2_max: 30 -slider_slider_2_step: 23 -slider_slider_2_default: 20 -action_gcode: - {action_respond_info('-------------------action_gcode STEP_SELECTOR_1')} - SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.wizard_step_name} -cancel_gcode: - {action_respond_info('------------------cancel_gcode STEP_SELECTOR_1')} - RESET_WIZARD WIZARD={wizard.name} - # HOME_POSITION ABORT=1 - -[wizard_step_jog STEP_JOG_1] -image: path/to/image/wizard/STEP_JOG_1 -landscape: false -description: description STEP_JOG_1 -warning: warning STEP_JOG_1 -countdown: 20 -info: info about STEP_JOG_1 -axes: x, y, z, a, c -steps: 0.1, 1, 10, 20 -default_step: 10 -placeholder: wizard-step-preheat -jog_gcode: - {action_respond_info('-------------------jog_gcode STEP_JOG_1 (G1 %s%s, direction=%s)' % (axis|upper, step, direction))} -action_gcode: - {action_respond_info('-------------------action_gcode STEP_JOG_1')} - SET_WIZARD_ENABLE WIZARD=CALIBRATE ENABLE=1 ERROR=error_message - SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.wizard_step_name} - WIZARD_STEP_LOADING_STATE WIZARD={wizard.name} STEP=STEP_JOG_1 ENABLE=1 -cancel_gcode: - {action_respond_info('------------------cancel_gcode STEP_JOG_1')} - RESET_WIZARD WIZARD={wizard.name} - -[wizard_step_nozzle_offset STEP_NOZZLE_OFFSET_1] -image: path/to/image/wizard/STEP_NOZZLE_OFFSET_1 -landscape: false -description: description STEP_NOZZLE_OFFSET_1 -warning: warning STEP_NOZZLE_OFFSET_1 -countdown: 20 -info: info about STEP_NOZZLE_OFFSET_1 -steps: 15 -default_step: 7 -step_value: 0.1 -min_value: -0.7 -action_gcode: - {action_respond_info('-------------------action_gcode %s' % wizard.wizard_step_name)} - SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR=error_message - SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.wizard_step_name} -cancel_gcode: - {action_respond_info('------------------cancel_gcode %s' % wizard.wizard_step_name)} - RESET_WIZARD WIZARD={wizard.name} - -[wizard_step_tree STEP_TREE_1] -# tree_file_path: /home/ste/klippy_dev/klipper/klippy/data/materials.json -tree_file_path: /home/ste/klippy_dev/klipper/stereotech_config/wizards/data/materials.json -depth: 3 # (глубина дерева) -# (типы на каждой глубине) -types: manufacturer, series, name -action_gcode: - {action_respond_info('-------------------action_gcode %s' % wizard.wizard_step_name)} - SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR=error_message - SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.wizard_step_name} - WIZARD_STEP_LOADING_STATE WIZARD={wizard.name} STEP={wizard.wizard_step_name} -cancel_gcode: - {action_respond_info('------------------cancel_gcode %s' % wizard.wizard_step_name)} - RESET_WIZARD WIZARD={wizard.name} diff --git a/stereotech_config/wizards/zero_point_calibration.cfg b/stereotech_config/wizards/zero_point_calibration.cfg new file mode 100644 index 000000000000..9ea3c7b61d25 --- /dev/null +++ b/stereotech_config/wizards/zero_point_calibration.cfg @@ -0,0 +1,65 @@ +[wizard ZERO_POINT_CALIBRATE] +image: wizards/zero_point_setup/zero_point_setup05.jpg +type: 5d +steps: ZERO_POINT_CALIBRATE0, ZERO_POINT_CALIBRATE1, ZERO_POINT_CALIBRATE2, ZERO_POINT_CALIBRATE3, ZERO_POINT_CALIBRATE4, ADJUST_BASEMENT_MANUAL_COMPLETED + +[wizard_step ZERO_POINT_CALIBRATE0] +image: wizards/zero_point_setup/zero_point_setup05.jpg +description: Wizards.Common.ZeroPointDescription +action_gcode: + SET_WIZARD_ENABLE WIZARD={wizard.name} ENABLE=1 ERROR='' + MOVE_SERVICE_POSITION + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step ZERO_POINT_CALIBRATE1] +image: wizards/5d_calibration_manual/5d_calibration1.jpg +description: Wizards.Common.PlaceTool +action_gcode: + MOVE_WCS_ZERO WCS=1 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog ZERO_POINT_CALIBRATE2] +image: wizards/5d_calibration_manual/5d_calibration2.jpg +description: Wizards.Common.MoveNozzle +axes: x, y, z +steps: 0.05, 0.1, 1, 10 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + SET_WCS_OFFSET WCS=1 X=0 Y=0 Z=0 + MOVE_WCS_ZERO WCS=2 + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_jog ZERO_POINT_CALIBRATE3] +image: wizards/5d_calibration_manual/5d_calibration2.jpg +description: Wizards.Common.MoveNozzle +axes: x, y, z +steps: 0.05, 0.1, 1, 10 +default_step: 1 +jog_gcode: + JOG_DO_MOVE {rawparams} STEP_NAME={wizard.wizard_step_name} +action_gcode: + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name} + +[wizard_step_slider ZERO_POINT_CALIBRATE4] +image: wizards/zero_point_setup/zero_point_setup03.jpg +description: Wizards.AdjustBasementManual.SetBasementDiameter +slider_set_diameter_min: 0.1 +slider_set_diameter_max: 3 +slider_set_diameter_step: 0.1 +slider_set_diameter_default: 0.2 +action_gcode: + {% set diameter = printer["wizard_step_slider " ~ wizard.wizard_step_name].set_diameter|float %} + SET_WCS_OFFSET WCS=2 X=0 Y=0 Z={diameter / 2.0} + SET_WIZARD_STEP WIZARD={wizard.name} STEP={wizard.next_step} +cancel_gcode: + RESET_WIZARD WIZARD={wizard.name}