Skip to content

The RatOS modular klipper configuration extended for Voron printers

Notifications You must be signed in to change notification settings

AdamYellen/RatOS-configuration

 
 

Repository files navigation

Introduction

This is a fork of RatOS-Configuration repo that adds support for Voron printers. Currently, only the Voron Trident is supported.

Features

  • Support for my specific Voron Trident 250 (see Assumptions below)
  • Adds two new variables (see New Variables below):
    • Optional "motors off" at print end
    • Support for textured plates in the print start command to apply a configurable Z-offset
  • Modified the Z-calibration sequence to work with Protoloft's auto Z-calibration
  • This repo can be used across multiple printers without any modifications
    • Instead of using the default printer.cfg file you can have printer-<name1..n>.cfg (see Install section)

Assumptions

  • Choice of Klicky as the z-probe
    • The included template might be compatible with other z-probes, but is untested (PRs welcome)
  • Mainsail OS or FluiddPi as the base install
    • RatOS itself is not used, only the configuration files
    • RatOS might work, but is untested
  • LDO 42STH48-2504AC A & B motors
    • BOM calls for LDO 42STH40-2004MAH (PRs welcome)
  • Fysetc Spider v1.1 controller
    • Other MCUs haven't been tested (PRs welcome)

Install

  • Setup Raspberry Pi using the method of your choice
  • Chose a unique name for your printer which will be referenced as <name> below
  • SSH to your Raspberry Pi and change directory to klipper_config:
    • ssh pi@<hostname>.local
      cd ~/klipper_config
  • Clone repo:
    • git clone https://github.com/AdamYellen/RatOS-Configuration config
  • Copy the included template:
    • cp config/templates/voron-trident-klicky.template.cfg printer-<name>.cfg
  • Modify the mcu setting at the bottom of printer-<name>.cfg
    • Hint: ls /dev/serial/by-id/
  • Install klipper_z_calibration
  • Install Klicky Probe macros in a specific sub-directory:
    •  git clone https://github.com/AdamYellen/Klicky-Probe-macros.git klicky-probe
  • Modify the klipper args to reference the named printer config file and restart Klipper
    • There are two ways to edit this reference based on how Klipper was installed
      • Edit the KLIPPY_ARGS line in /etc/defaults/klipper:
      • KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/klipper_config/printer-<name>.cfg -l /tmp/klippy.log -a /tmp/klippy_uds"
      • Restart Klipper:
      • sudo /etc/init.d/klipper restart
    • OR
      • Edit the KLIPPER_CONFIG line in /etc/systemd/system/klipper.service:
      • Environment=KLIPPER_CONFIG=/home/pi/klipper_config/printer-<name>.cfg
      • Restart Klipper:
      • sudo systemctl restart klipper
  • Use your interface of choice (Mainsail, Fluidd, nano, vi, etc.) to edit the copied template to suit your needs

New Variables

  • Add TEXTUREDPLATE=true to your slicer's PRINT_START command and adjust variable_textured_plate_offset in the config file
    • This is an additional Z-offset that will be applied after Z-probing
  • Enable or disable the motors off variable (variable_end_print_motors_off) in the config file to control that behavior
    • Defaults to True

Example

See my printer repo for more details

About

The RatOS modular klipper configuration extended for Voron printers

Resources

Stars

Watchers

Forks

Languages

  • Shell 100.0%