mirror of https://github.com/Desuuuu/klipper.git
27 lines
720 B
Python
27 lines
720 B
Python
|
# 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 []
|
||
|
def calc_position(self):
|
||
|
return [0, 0, 0]
|
||
|
def set_position(self, newpos, homing_axes):
|
||
|
pass
|
||
|
def home(self, homing_state):
|
||
|
pass
|
||
|
def motor_off(self, print_time):
|
||
|
pass
|
||
|
def check_move(self, move):
|
||
|
pass
|
||
|
def move(self, print_time, move):
|
||
|
pass
|
||
|
|
||
|
def load_kinematics(toolhead, config):
|
||
|
return NoneKinematics(toolhead, config)
|