Back to rankings

Frix-x/klippain

Shell

Generic Klipper configuration for 3D printers

3d-printinggcodegcode-generationgeneric-repositoryklipperklipper-configurationklipper-macros3d-printerfirmware
Star Growth
Stars
1.2k
Forks
278
Weekly Growth
Issues
16
5001k
Jun 2021Feb 2023Nov 2024Jul 2026
README

Klippain

Klippain - The pain-free recipe for (french)bread and butter Klipper configuration!

Klippain is a generic, modular, and highly customizable Klipper configuration for 3D printers. Designed for use on various machines such as Cartesian, CoreXY and CoreXZ, it has been reported working correctly on Voron V2.4, Voron Trident, Voron V0, Voron SwitchWire, TriZero, VZbot, Ender5, Ender3, Prusas, etc...

Klippain

Klippain is regularly updated with new features and merged PRs from users. You can reach me on the Voron Discord as Frix_x#0161.

Fun fact: "pain" \pɛ̃\ is the French word for bread, so there's no pain in this pain—only joy! Thanks to the French channel "honhonhonbaguette-FR" on the Voron Discord for the joke and name suggestion!

Features

Klippain is designed for versatility. By selecting and enabling the desired hardware and software options, it can be used on a wide range of machines.

Custom features available out of the box include a full featured set of standard macros, adaptive bed mesh, custom printer calibrations, automated input shaper workflows, and vibration measurement macros and scripts, ... Refer to the features documentation for a detailed list and usage instructions.

Installation

To install Klippain, first ensure you have already Klipper, Moonraker, and a WebUI installed on your printer. If not, you can use KIAUH.

Then, run the installation script using the following command over SSH. This script will backup your old configuration, download this GitHub repository to your RaspberryPi home directory, and set up Klippain in ~/printer_data/config. You will also be prompted to select and install MCU board_pins templates. This is recommended for faster mcu.cfg setup, but you can do it manually later if you prefer.

wget -O - https://raw.githubusercontent.com/Frix-x/klippain/main/install.sh | bash

Finally, Klippain requires a few simple steps to configure and customize it for your printer: please follow the configuration guide.

Warning:

General rule to keep the auto-update feature working: never modify Klippain files directly, but instead add overrides as per the documentation! To proceed, you can modify all the pre-installed templates in your config root folder (printer.cfg, mcu.cfg, variables.cfg and overrides.cfg) as they will be preserved on update.

Removing Klippain

In case Klippain doesn't suit your needs or if you installed it by mistake, you can easily remove Klippain and revert to your previous configuration by using the automated uninstall script. During the uninstallation process, the script will remove all specific Klippain files and configurations. Additionally, you will be given an option to restore your previously backed-up configuration, allowing your printer to return to its last working state (from before Klippain was installed).

To run the uninstall script, execute the following command over SSH:

wget -O - https://raw.githubusercontent.com/Frix-x/klippain/main/uninstall.sh | bash

Note:

All backups are preserved during the uninstallation process. So, you can easily revert back at any time if you wish to :stuck_out_tongue_winking_eye:

Support the Project

I strive to accommodate user requests that align with this configuration's design. Feel free to open an issue or a PR for specific hardware device support or new features.

Alternatively, consider buying me a coffee or contributing to new hardware purchases to support my work!

Related repositories
FreeCAD/FreeCAD

Official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.

C++GNU Lesser General Public License v2.1freecadengineering
freecad.org
32.3k5.8k
MarlinFirmware/Marlin

Marlin is a firmware for RepRap 3D printers optimized for both 8 and 32 bit microcontrollers. Marlin supports all common platforms. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.

C++GNU General Public License v3.0repraparduino
marlinfw.org
17.5k19.7k
OrcaSlicer/OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)

C++GNU Affero General Public License v3.03d-printer3d-printing
orcaslicer.com
15.2k2.8k
openscad/openscad

OpenSCAD - The Programmers Solid 3D CAD Modeller

C++Other3d-modelsdxf-files
openscad.org
9.8k1.6k
SoftFever/OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)

C++GNU Affero General Public License v3.03d-printer3d-printing
discord.gg/P4VE9UY9gJ
9k1.1k
Ultimaker/Cura

3D printer / slicing GUI built on top of the Uranium framework

PythonPyPIGNU Lesser General Public License v3.0cura3d-printing
7k2.2k
cnr-isti-vclab/meshlab

The open source mesh processing system

C++GNU General Public License v3.03dmesh
meshlab.net
5.8k906
makerspet/oomwoo

Open-source vacuum robot cleaner

PythonPyPIApache License 2.03d-printingarduino
5k218
dw-0/kiauh

Klipper Installation And Update Helper

PythonPyPIGNU General Public License v3.0fluiddklipper
4.5k635
slic3r/Slic3r

Open Source toolpath generator for 3D printers

C++GNU Affero General Public License v3.03d-printingcam
slic3r.org
3.6k1.3k
Keychron/Keychron-Keyboards-Hardware-Design

Industrial design files for Keychron keyboards and mice. 100+ models with CAD assets in STEP, DXF, DWG, and PDF. Source-available, with commercial use allowed for original compatible accessories within the license terms.

Other3d-printingcad
keychron.com
3.6k284
huxingyi/dust3d

Dust3D is a cross-platform 3D modeling software that makes it easy to create low poly 3D models for video games, 3D printing, and more.

C++MIT Licensedust3d3d-modelling
dust3d.org
3.4k253