Skip to content

Commit

Permalink
return to previous state, more testing needed
Browse files Browse the repository at this point in the history
  • Loading branch information
weemantella authored Oct 9, 2024
1 parent 796202c commit e372157
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions AFC.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,9 @@ def __init__(self, config):
self.gcode.register_command('LANE_MOVE', self.cmd_LANE_MOVE, desc=self.cmd_LANE_MOVE_help)
self.gcode.register_command('TEST', self.cmd_TEST, desc=self.cmd_TEST_help)
self.gcode.register_command('HUB_CUT_TEST', self.cmd_HUB_CUT_TEST, desc=self.cmd_HUB_CUT_TEST_help)
self.gcode.register_mux_command('SET_BOWDEN_LENGTH', 'LENGTH', self.cmd_SET_BOWDEN_LENGTH, desc=self.cmd_SET_BOWDEN_LENGTH_help)
self.VarFile = config.get('VarFile')
# Get debug and cast to boolean
self.debug = True == config.get('debug', 0)

cmd_SET_BOWDEN_LENGTH_help = "Set length of bowden, hub to toolhead"
def cmd_SET_BOWDEN_LENGTH(self, gcmd):
config_bowden = self.afc_bowden_length
bowden_length = get_float('LENGTH', self.afc_bowden_length)
self.afc_bowden_length = bowden_length
msg = (f"Config Bowden length: {config_bowden}\n"
f"New Bowden Length: {bowden_length}")
self.respond_info(msg)

cmd_LANE_MOVE_help = "Lane Manual Movements"
def cmd_LANE_MOVE(self, gcmd):
Expand Down

0 comments on commit e372157

Please sign in to comment.