Klipper setup for a pen plotter

Basic Information:

Printer Model: Ender 3 Max
MCU / Printerboard: SKR MINI E3 V3.0
Host / SBC: Raspberry Pi
klippy.log: N/A

My Ender 3 Max is using CAN Bus with a Hermit Crab. I want to swap out the Extruder assembly for a pen and use the printer to write or plot to paper. Is there a way to use the macro language to selectively disable parts of the configuration file so it won’t look for a heater, thermocouple, extruder, BLTouch? I intend on setting the z-offset manually.

@cgriffin

You can’t use macros to enable/disable parts of your config, but you can use include’s.

You can put your motion system in its own config, say motion.cfg. Then your extruder config in another file, extruder.cfg. Then your pen plotter config in another file, plotter.cfg.

You can modify your printer.cfg to selectively include these configs:

[include motion.cfg]
[include extruder.cfg] # Comment out when using plotter
#[include plotter.cfg]  # Uncomment when using plotter

As far as I am aware, Klipper does not mandate an [extruder] config section. So you should be able to define the kinematic axes and a minimum set of options.