How prusa3d/prusaslicer works
PrusaSlicer is a desktop and command-line application that turns FDM or mSLA 3D models into printer instructions and can transfer jobs to printers. The documented user workflow is to configure and modify a project, arrange models, generate and inspect the print, then export or send it. The graph preserves the README’s major capabilities, including multi-bed projects, per-layer settings, multi-material work, preview, and optional online integrations. Several capabilities are documented but their implementation files were not sampled, so those links cite the README; sampled source also shows launcher dispatch and PrusaLink storage-choice handling.
Main entry points: Run.hpp Desktop application · ProjectInteractor.hpp Project operations · libslic3r.h Print generation · main.cpp Application launcher
Components 20
Application entry
- Application launcher
src/slic3r-app-launcher/src/Slic3r/App/Launcher/main.cpp - Desktop application
src/slic3r-app-desktop/include/Slic3r/App/Desktop/Run.hpp - Command-line interface
src/slic3r-app-cli/include/Slic3r/App/CLI/CLIApp.hpp
Project and settings
- Project and model data
src/libslic3r/src/libslic3r/Model.hpp - Project operations
src/slic3r-shared/include/Slic3r/Biz/ProjectInteractor.hpp - Print settings
src/slic3r-shared/include/Slic3r/Biz/Preset/PresetInteractor.hpp - Printer profiles
src/slic3r-shared/include/Slic3r/Biz/PhysicalPrinter/PhysicalPrinterConfig.hpp - Project storage
src/slic3r-domain/include/Slic3r/Domain/ProjectDirectoryStorage.hpp
Model preparation
- Bed arrangement
src/slic3r-biz-arrange/src/Slic3r/Biz/Arrange/PackingContext.cpp - Model editing tools
src/slic3r/GUI/Gizmos/GLGizmosManager.cpp - Scene interaction
src/slic3r-shared/include/Slic3r/Biz/Scene/SceneInteractor.hpp
Print generation
- Print generation
src/libslic3r/src/libslic3r/libslic3r.h - Resin job control
src/libslic3r/src/libslic3r/SLA/JobController.hpp
Preview and delivery
- Print preview
src/libslic3r/src/libslic3r/PrePreview.cpp - Result export
src/slic3r-shared/include/Slic3r/Biz/ResultExport/ResultExportInteractor.hpp - Print job management
src/slic3r-platform/include/Slic3r/Biz/Platform/JobManager/JobManager.hpp - Printer storage choices
src/slic3r-shared/src/Slic3r/App/PrusaLinkStorageListener.cpp - PrusaLink printer
src/slic3r-shared/src/Slic3r/Biz/PrintHost/PrintHostPrusaLinkStorage.cpp - Online integrations
src/slic3r-shared/include/Slic3r/App/AppServices.hpp
Other components
- User
Connections 23
- User → Application launcher: starts
- Application launcher → Desktop application: dispatches
src/slic3r-app-launcher/src/Slic3r/App/Launcher/main.cpp - Application launcher → Command-line interface: dispatches
src/slic3r-app-launcher/src/Slic3r/App/Launcher/main.cpp - Desktop application → Project and model data: opens models
- Command-line interface → Print generation: generates instructions
- Desktop application → Project operations: manages projects
- Project operations → Project and model data: edits project
- Project operations → Project storage: stores projects
- Project operations → Print settings: configures settings
src/slic3r-shared/include/Slic3r/Biz/ProjectInteractor.hpp - Project operations → Printer profiles: configures printers
- Desktop application → Bed arrangement: arranges objects
- Desktop application → Model editing tools: edits objects
- Desktop application → Scene interaction: interacts with scene
- Desktop application → Print generation: generates instructions
- Print generation → Resin job control: supports resin jobs
- Print generation → Print preview: produces preview
- Desktop application → Print preview: views instructions
- Desktop application → Result export: exports results
- Result export → Print job management: starts print jobs
- Print job management → PrusaLink printer: sends jobs
- Printer storage choices → Result export: resolves storage
src/slic3r-shared/src/Slic3r/App/PrusaLinkStorageListener.cpp - Printer storage choices → User: requests choice
src/slic3r-shared/src/Slic3r/App/PrusaLinkStorageListener.cpp - Desktop application → Online integrations: offers integrations