2018-12-11 05:40:20 +03:00
|
|
|
# Dummy "none" kinematics support (for developer testing)
|
|
|
|
#
|
|
|
|
# Copyright (C) 2018 Kevin O'Connor <kevin@koconnor.net>
|
|
|
|
#
|
|
|
|
# This file may be distributed under the terms of the GNU GPLv3 license.
|
|
|
|
|
|
|
|
class NoneKinematics:
|
|
|
|
def __init__(self, toolhead, config):
|
|
|
|
pass
|
|
|
|
def get_steppers(self, flags=""):
|
|
|
|
return []
|
2019-11-14 01:59:40 +03:00
|
|
|
def calc_tag_position(self):
|
2018-12-11 05:40:20 +03:00
|
|
|
return [0, 0, 0]
|
|
|
|
def set_position(self, newpos, homing_axes):
|
|
|
|
pass
|
|
|
|
def home(self, homing_state):
|
|
|
|
pass
|
|
|
|
def check_move(self, move):
|
|
|
|
pass
|
2019-11-25 03:16:21 +03:00
|
|
|
def get_status(self, eventtime):
|
2019-08-06 21:19:29 +03:00
|
|
|
return {'homed_axes': ''}
|
2018-12-11 05:40:20 +03:00
|
|
|
|
|
|
|
def load_kinematics(toolhead, config):
|
|
|
|
return NoneKinematics(toolhead, config)
|