mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-14 02:07:56 -06:00
toolhead: Move kinematic modules to new kinematics/ directory
Move extruder.py, cartesian.py, corexy.py, and delta.py to a new kinematics/ sub-directory. This is intended to make adding new kinematics a little easier. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
7d897d84d7
commit
8faab46ed2
9 changed files with 37 additions and 17 deletions
|
@ -7,7 +7,7 @@
|
|||
import sys, os, optparse, logging, time, threading
|
||||
import collections, ConfigParser, importlib
|
||||
import util, reactor, queuelogger, msgproto
|
||||
import gcode, pins, heater, mcu, toolhead, extruder
|
||||
import gcode, pins, heater, mcu, toolhead
|
||||
|
||||
message_ready = "Printer is ready"
|
||||
|
||||
|
@ -216,7 +216,7 @@ class Printer:
|
|||
m.add_printer_objects(config)
|
||||
for section in fileconfig.sections():
|
||||
self.try_load_module(config, section)
|
||||
for m in [toolhead, extruder]:
|
||||
for m in [toolhead]:
|
||||
m.add_printer_objects(config)
|
||||
# Validate that there are no undefined parameters in the config file
|
||||
valid_sections = { s: 1 for s, o in self.all_config_options }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue