RatOS Documentation
website·Indexed 33 days ago
https://os.ratrig.com/Documentation for RatOS, featuring wiring guides, firmware installation, and configuration for 3D printer boards and toolboards from Big Tree Tech and Mellow. Includes support for printers such as Voron V2.4, Voron V0.1, Rat Rig V-Minion, and V-Core Pro, with version-specific guides for 2.0.x, 2.1.x, and 2.1.0-RC3.
What's inside RatOS
- RatOS is a preconfigured Raspberry Pi image designed to simplify the installation and management of Klipper, Moonraker, Mainsail, and KlipperScreen. Unlike standard images, RatOS provides a managed modular configuration supporting various printers, extruders, hotends, boards, probes, and sensors. Key features include automated firmware updates and easy input shaper graph generation, with a design goal of eliminating the need for command-line interaction for standard operations.
Overview of RatOS print macros
RatOS provides standardizedSTART_PRINTandEND_PRINTmacros to handle print initialization and cleanup. Using these macros allows users to switch between different slicers without duplicating complex G-code logic. The G-code definitions for these macros are located inconfig/printers/[PRINTER_NAME]/macros.cfg.Overview of RatOS print macros
RatOS provides built-inSTART_PRINTandEND_PRINTmacros to standardize how the printer begins and ends a print job. Using these macros allows users to switch between different slicers without needing to redefine the startup and shutdown sequences in each one. The G-code definitions for these macros are located inconfig/printers/[PRINTER_NAME]/macros.cfg.Overview of RatOS for 3D Printers
RatOS is an open-source operating system for custom-built 3D printers built around the Klipper firmware. It simplifies the 3D printing experience by providing an intuitive point-and-click configuration interface, a managed auto-generated Klipper configuration, and an intelligent setup wizard for wiring and control board flashing. Key features include support for Mainsail and Fluidd web interfaces, advanced built-in macros, real-time analysis tools for mechanical debugging, and 'ToolShift' technology for IDEX printers.Overview of RatOS for 3D Printers
RatOS is a preconfigured Raspberry Pi image designed to simplify the deployment of Klipper, Moonraker, Mainsail, and KlipperScreen. Unlike standard images, RatOS provides a managed modular configuration system that supports various printers, extruders, hotends, boards, probes, and sensors. Key features include automatic firmware updates and easy input shaper graph generation, with a design goal of eliminating the need for users to interact with the command line.Overview of Mainsail in RatOS
Mainsail is the primary web-based control interface for the printer. It communicates with Klipper via the Moonraker API. It is used for starting prints, monitoring progress, and configuring Klipper. It is accessible athttp://RatOS.local/.Overview of RatOS firmware solution
RatOS is a comprehensive 3D printer firmware solution that simplifies Klipper-based printing by combining Klipper, Moonraker, Mainsail, and KlipperScreen. It replaces manual command-line configuration with a web-based configurator that automatically generates and maintains printer configuration files. Key features include a pre-configured Raspberry Pi image, automated system updates, and a wide array of configurable macros for print sequences, filament handling, and calibration.Overview of RatOS firmware solution
RatOS is a comprehensive 3D printer firmware solution that integrates Klipper, Moonraker, Mainsail, and KlipperScreen. It is designed to remove the need for command-line knowledge by providing a pre-configured Raspberry Pi image and a web-based configurator. The system automatically generates and maintains configuration files, though it remains fully compatible with standard Klipper configurations for advanced users.Understand Beacon Adaptive Heat Soak
Beacon Adaptive Heat Soak monitors the thermal stability of the printer using proximity measurements. It delays the start of the print until thermal stability is reached, which minimizes thermal Z deflection during the first layer.Execute shell commands via RatOS macros
RatOS includes thegcode_shell_command.pyKlipper extension. This enables macros to perform advanced tasks without requiring SSH or Linux knowledge, such as compiling binaries, selecting printer configurations, and generating input shaper graphs.Compare CAN bus and USB for Klipper 3D printers
When configuring a 3D printer running Klipper, USB is generally preferred over CAN bus because Klipper operates on a strict master/slave architecture where the Raspberry Pi (Klippy) acts as the master. CAN bus strengths (redundancy, long-distance noise tolerance) are largely irrelevant for 3D printing environments, while USB provides lower latency, higher throughput, and plug-and-play simplicity.
Comparison Summary:
Feature USB CAN bus Architecture Master/Slave (Plug & Play) Multi-master (Requires config) Latency Ultra low Higher Throughput High Low Overhead Low High Wiring 3 wires (Cable + Power) 4 wires (Data + Power) Reliability High (with shielded cables) High (designed for vehicles) Key Considerations for 3D Printing:
- Noise: Modern USB 3.1+ shielded cables are sufficient for the short distances (typically <1.5m) found in 3D printers.
- Durability: Braided USB cables are durable enough for printer wiring and are easier/cheaper to replace than CAN setups.
- Redundancy: Since the Raspberry Pi is a single point of failure, the redundancy offered by CAN bus provides no actual benefit to the system's overall uptime.
Understand Beacon True Zero Correction (Multipoint Probing)
RatOS extends theBEACON_AUTO_CALIBRATEcommand with a true zero correction feature (also known as multipoint probing). This feature addresses positional variability where neighboring points on a 1mm grid can differ by up to 100 microns, which can negatively impact first layer consistency. The system performs six additional single-dive probes at random positions near the nominal true zero position and applies a statistical method to determine a correction value. This is particularly beneficial for textured surfaces or new textured PEI sheets, which typically exhibit higher variability than smooth or worn sheets.