Skip to content

Epic: live end-to-end testing with real slicers (PrusaSlicer + OrcaSlicer) #86

Closed

Description

@markballew

Problem

p2pp has unit tests and CI builds, but no end-to-end validation that post-processed G-code is correct for real printers. We need to run p2pp against real slicer output and validate the result.

Proposed pipeline

PrusaSlicer/OrcaSlicer (VM/container)
  → slice test model (multi-color)
  → capture G-code
  → run p2pp post-processing
  → validate output (lint/simulator)
  → report pass/fail

Sub-issues

  1. VM/container setup: Docker image with PrusaSlicer + p2pp + test models
  2. Printer profiles: Palette 2/3 profiles for PrusaSlicer and OrcaSlicer
  3. G-code capture: Script to slice test models and capture output
  4. Lint validator: G-code lint for Palette-specific markers (O22, P3 metafile, ping/pong)
  5. CI workflow: GitHub Actions job running the full pipeline
  6. OrcaSlicer support: Verify OrcaSlicer G-code compatibility with p2pp
  7. Golden outputs: Establish baseline outputs for regression testing

Platform matrix

Platform Slicer Status
Linux (Ubuntu) PrusaSlicer CI-ready
Linux (Ubuntu) OrcaSlicer Needs container/AppImage
macOS PrusaSlicer Local dev
macOS OrcaSlicer Local dev
Windows PrusaSlicer VM/container
Windows OrcaSlicer VM/container

Hardware simulation

  • Palette 3 firmware: Firmware is available and can be run in a simulator (QEMU) to validate p2pp output against real device behavior without physical hardware
  • P3 device Docker containers: Docker containers exist for the Palette 3 device but must run in a simulator due to the CPU architecture (ARM). The containers need QEMU emulation in CI
  • Prusa sample models: PrusaSlicer ships with sample 3MF/STL test models that can be used for automated slicing validation — the model needs vision capability to visually confirm render output matches expectations

Research

Full research doc: #85 (docs/live-test-research.md)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions