Add Pressure Advance visualization support #1334

Closed
opened 2026-04-05 17:22:42 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @loss-and-quick on 12/17/2025

Description

This PR adds visualization and legend support for pressure advance values in the G-code viewer.

It parses pressure advance commands from multiple firmware dialects (Marlin M900, RepRapFirmware/Duet M572, and Klipper-style SET_PRESSURE_ADVANCE) and propagates the value into the move data used by the preview.

A new PressureAdvance view mode was added to the G-code viewer.

This feature helps users identify problematic pressure advance values when using adaptive PA. By visualizing PA changes throughout the print, users can correlate print defects with specific PA values easily and fine-tune their settings accordingly.

Screenshots/Recordings/Graphs

image

Tests

Just sliced my model with adaptive PA

*Originally created by @loss-and-quick on 12/17/2025* # Description This PR adds visualization and legend support for pressure advance values in the G-code viewer. It parses pressure advance commands from multiple firmware dialects (Marlin M900, RepRapFirmware/Duet M572, and Klipper-style SET_PRESSURE_ADVANCE) and propagates the value into the move data used by the preview. A new PressureAdvance view mode was added to the G-code viewer. This feature helps users identify problematic pressure advance values when using adaptive PA. By visualizing PA changes throughout the print, users can correlate print defects with specific PA values easily and fine-tune their settings accordingly. # Screenshots/Recordings/Graphs <img width="1349" height="886" alt="image" src="https://github.com/user-attachments/assets/b3745ca8-4710-4d46-9775-4bd8d54b8012" /> ## Tests Just sliced my model with adaptive PA
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#1334