# Slicing-pipeline plugins: Python hooks inside `Print::process()` with an editable geometry API This branch adds a new **slicing-pipeline** plugin capability on top of the plugin framework: Python plugins can now run at defined points inside the slicing pipeline and edit the live slicing data, with changes cascading into perimeters, infill, and the final G-code. ## The capability - New plugin type `slicing-pipeline`, selectable per print profile via a new picker option (`slicing_pipeline_plugin`). - `Print::process()` fires a hook at 13 pipeline steps (`posSlice`, `posPerimeters`, … `psSkirtBrim`, `psGCodePostProcess`). Selected plugins run per step with cancellation honored and failures surfaced as ordinary slicing errors, never crashes. - G-code post-processing is folded into this capability as the final step (`psGCodePostProcess`); the separate "post-processing" plugin type and its option are removed. Breaking only for the unreleased plugin API — migrated plugins gain settings and config access in return. ## The Python API (`orca.host`) - The live print graph is exposed as raw host classes — `Print`, `PrintObject`, `Layer`, `LayerRegion`, `SurfaceCollection`, `Surface`, `ExPolygon`, `Polygon`, `Point`, plus `Model`/`TriangleMesh` with zero-copy numpy views. - Geometry is genuinely editable through the class API: in-place transforms, whole-surface replacement, and vertex-level rebuilds, with `layer.make_slices()` re-deriving the C++ invariants after edits. Write paths validate input, so malformed data raises in Python instead of corrupting the slice. - Bindings are organized under `src/slic3r/plugin/host/` by domain. ## Architecture - All libslic3r hook seams (capability resolver, pipeline dispatcher) are installed and uninstalled by one composition root, `plugin/PluginHooks`, from `PluginManager::initialize()`/`shutdown()`. GUI_App no longer accumulates per-capability wiring, and hooks detach before the Python interpreter finalizes. ## Samples (`sandboxes/`) — one per editing idiom | Sample | Step | Demonstrates | | --- | --- | --- | | **Inset Every Slice** | `posSlice` | Shrink every slice via polygon offset + whole-surface replacement (`slices.set`) | | **Twistify** | `posSlice` | Twist/taper/wobble via count-preserving in-place transforms | | **Fuzzy Slices** | `posSlice` | Fuzzy skin applied to the slice contours themselves (vertex-level rebuild) — walls, infill, and the preview all inherit it | | **G-code Stamp** | `psGCodePostProcess` | Editing the exported G-code file in place | # Screenshots/Recordings/Graphs 1. Fuzzy skin example: Orca's built-in fuzzy skin perturbs the outer-wall EXTRUSION PATHS during perimeter generation, so only the printed wall is fuzzy. This sample instead perturbs the sliced outline itself at sliced geometry: <img width="1230" height="902" alt="image" src="https://github.com/user-attachments/assets/bcf8b0c7-f932-4e6a-985d-7c9cc2f3d7cb" /> 2. Twistify -- twist/taper/wobble any model at slice time every layer's sliced surfaces are transformed by a similarity about the object's bounding-box center as a function of Z https://github.com/user-attachments/assets/d1309ea8-b01c-4708-adf1-821b3b00a4cc 3. Inset Every Slice -- a small, WORKING SlicingPipeline sample plugin For every layer/region of the sliced object, this shrinks each sliced surface by INSET_MM using a real polygon offset <img width="1225" height="896" alt="image" src="https://github.com/user-attachments/assets/5f2028a9-ae2a-4aea-8b38-a3d6e24f5cb4" />
OrcaSlicer: an open source Next-Gen Slicing Software for Precision 3D Prints.
Optimize your prints with ultra-fast slicing, intelligent support generation, and seamless printer compatibility—engineered for perfection.
Official links and community
Official Website:
Github Repository:
Follow us:
Join our Discord community:
|
⚠️ CAUTION: Several clickbait and malicious websites, such as orca-slicer[.]com and orcaslicer[.]net, are pretending to be the official OrcaSlicer site. These sites may redirect you to dangerous downloads or contain misleading information. Our only official website is www.orcaslicer.com. If you come across any of these in search results, please report them as unsafe or phishing to help keep the community secure with: - Google Safe Browsing - Microsoft Security Intelligence - IPThreat |
Main features
- Advanced Calibration Tools
Comprehensive suite: temperature towers, flow rate, retraction & more for optimal performance. - Precise Wall and Seam Control
Adjust outer wall spacing and apply scarf seams to enhance print accuracy. - Sandwich Mode and Polyholes Support
Use varied infill patterns and accurate hole shapes for improved clarity. - Overhang and Support Optimization
Modify geometry for printable overhangs with precise support placement. - Granular Controls and Customization
Fine-tune print speed, layer height, pressure, and temperature with precision. - Network Printer Support
Seamless integration with Klipper, PrusaLink, and OctoPrint for remote control. - Mouse Ear Brims & Adaptive Bed Mesh
Automatic brims and adaptive mesh calibration ensure consistent adhesion. - User-Friendly Interface
Intuitive drag-and-drop design with pre-made profiles for popular printers. - Open-Source & Community Driven
Regular updates fueled by continuous community contributions. - Wide Printer Compatibility
Supports a broad range of printers: Bambu Lab, Prusa, Creality, Voron, and more. - Additional features can be found in the change notes.
Wiki
The wiki aims to provide a detailed explanation of the slicer settings, including how to maximize their use and how to calibrate and set up your printer.
Download
Stable Release
📥 Download the Latest Stable Release
Visit our GitHub Releases page for the latest stable version of OrcaSlicer, recommended for most users.
Nightly Builds
🌙 Download the Latest Nightly Build
Explore the latest developments in OrcaSlicer with our nightly builds. Feedback on these versions is highly appreciated.
How to install
Windows
Download the Windows Installer exe for your preferred version from the releases page.
-
For convenience there is also a portable build available.
Troubleshooting
- If you have troubles to run the build, you might need to install following runtimes:
- MicrosoftEdgeWebView2RuntimeInstallerX64
- vcredist2019_x64
- Alternative Download Link Hosted by Microsoft
- This file may already be available on your computer if you've installed visual studio. Check the following location:
%VCINSTALLDIR%Redist\MSVC\v142
Windows Package Manager
winget install --id=SoftFever.OrcaSlicer -e
Mac
-
Download the DMG for your computer:
arm64version for Apple Silicon andx86_64for Intel CPU. -
Drag OrcaSlicer.app to Application folder.
-
If you want to run a build from a PR, you also need to follow the instructions below:
Quarantine
-
Option 1 (You only need to do this once. After that the app can be opened normally.):
- Step 1: Hold cmd and right click the app, from the context menu choose Open.
- Step 2: A warning window will pop up, click Open
-
Option 2: Execute this command in terminal:
xattr -dr com.apple.quarantine /Applications/OrcaSlicer.app -
Option 3:
-
Linux
Flathub (Recommended)
OrcaSlicer is available through FlatHub:
Install from the command line:
flatpak install flathub com.orcaslicer.OrcaSlicer
flatpak run com.orcaslicer.OrcaSlicer
It can also be installed through graphical software managers (KDE Discover, GNOME Software, etc.) when Flathub is enabled. Search for OrcaSlicer in your software center.
AppImage
AppImages are published for both x86_64 and aarch64 (ARM64). Pick the file matching your CPU — the ARM64 build has aarch64 in its name (e.g. OrcaSlicer_Linux_AppImage_Ubuntu2404_aarch64_*.AppImage).
-
Download App image from the releases page.
-
Double click the downloaded file to run it.
-
If you run into trouble executing it, try this command in the terminal:
chmod +x /path_to_appimage/OrcaSlicer_Linux.AppImage
How to Compile
All updated build instructions for Windows, macOS, and Linux are now available on the official OrcaSlicer Wiki - How to build page.
Please refer to the wiki to ensure you're following the latest and most accurate steps for your platform.
Klipper Note
If you're running Klipper, it's recommended to add the following configuration to your printer.cfg file.
# Enable object exclusion
[exclude_object]
# Enable arcs support
[gcode_arcs]
resolution: 0.1
Supports
OrcaSlicer is an open-source project and I'm deeply grateful to all my sponsors and backers.
Their generous support enables me to purchase filaments and other essential 3D printing materials for the project.
Thank you! :)
Sponsors
|
|
Backers:
Ko-fi supporters ☕: Backers list
Support me
Some Background
Open-source slicing has always been built on a tradition of collaboration and attribution. Slic3r, created by Alessandro Ranellucci and the RepRap community, laid the foundation. PrusaSlicer by Prusa Research built on Slic3r and acknowledged that heritage. Bambu Studio in turn forked from PrusaSlicer, and SuperSlicer by @supermerill extended PrusaSlicer with community-driven enhancements. Each project carried the work of its predecessors forward, crediting those who came before.
OrcaSlicer began in that same spirit, drawing from BambuStudio, PrusaSlicer, and ideas inspired by CuraSlicer and SuperSlicer. But it has since grown far beyond its origins. Through relentless innovation — introducing advanced calibration tools, precise wall and seam control, tree supports, adaptive slicing, and hundreds of other features — OrcaSlicer has become the most widely used and actively developed open-source slicer in the 3D printing community. Many of its innovations have been adopted by other slicers, making it a driving force for the entire industry.
The OrcaSlicer logo was designed by community member Justin Levine.
License
- OrcaSlicer is licensed under the GNU Affero General Public License, version 3.
- The GNU Affero General Public License, version 3 ensures that if you use any part of this software in any way (even behind a web server), your software must be released under the same license.
- OrcaSlicer includes a pressure advance calibration pattern test adapted from Andrew Ellis' generator, which is licensed under GNU General Public License, version 3. Ellis' generator is itself adapted from a generator developed by Sineos for Marlin, which is licensed under GNU General Public License, version 3.
- The Bambu networking plugin is based on non-free libraries from BambuLab. It is optional to the OrcaSlicer and provides extended functionalities for Bambulab printer users.


