feat: Z Anti-Aliasing (ZAA) non-planar contouring#9727
Open
mnott wants to merge 2 commits intobambulab:masterfrom
Open
feat: Z Anti-Aliasing (ZAA) non-planar contouring#9727mnott wants to merge 2 commits intobambulab:masterfrom
mnott wants to merge 2 commits intobambulab:masterfrom
Conversation
added 2 commits
February 10, 2026 02:43
Port of ZAA from BambuStudio-ZAA (github.com/adob/BambuStudio-ZAA) to stock BambuStudio. ZAA eliminates stair-stepping on curved surfaces by raycasting each extrusion point against the mesh and adjusting Z height to follow the true surface geometry. Changes: - Core algorithm: ContourZ.cpp (~330 lines) performs vertical raycasting - 3D geometry: Point3, Line3, Polyline3, MultiPoint3 extensions - ExtrusionPath::polyline changed from Polyline to Polyline3 - GCode writer emits per-point Z when path.z_contoured is set - Pipeline step posContouring in PrintObject after perimeter/infill gen - 5 new print settings under Quality (zaa_enabled, zaa_min_z, etc.) - GUI integration: config options, preset registration, search support - Guard for missing resources/nonplanar/ directory - cmake_minimum_required bumped to 3.5 for CMake 4.x compatibility - Build script, build guide, and release guide for macOS
- Change SLIC3R_VERSION from 02.05.01.52 to 02.05.00.52 to match the network plugin available on Bambu's servers (02.05.00.56). The first 8 chars must match for check_networking_version(). - Force ignore_module_cert=true since our Developer ID certificate differs from Bambu Lab's, causing IsSamePublisher() to reject the downloaded plugin.
This was referenced Feb 10, 2026
|
\o/ this would be great to have in a released version of BambuStudio! Thanks for doing the work of getting an MR put together. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Z Anti-Aliasing (ZAA) — a non-planar contouring post-processing step that smooths staircase artifacts on curved surfaces by micro-adjusting Z heights during extrusion. Based on the BambuStudio-ZAA implementation by AdoC3.
Changes
src/libslic3r/NonplanarSurface/GCode.cppandGCodeWriter.cppbuild.shfor macOS,BUILD.mdwalkthroughdocs/ZAA.mdTest plan