Repository navigation
Add printable smooth meshing strength presets - #86
Merged
Merged
Conversation
This was referenced Oct 18, 2026
Merged
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.
Smooth Meshing now offers None, Minimal, Medium, and Aggressive for the physical model, with the same selection used by preview, STL, and 3MF. None uses the existing greedy mesher; Medium preserves the previous enabled result. Saved on/off settings migrate to None/Medium without changing other print settings.
Minimal uses two light smoothing passes and a 0.2-pixel movement envelope. Medium uses the original ten passes within the existing 0.49-pixel envelope. Aggressive starts with Medium's result and adds one stable half-strength finishing pass to remove residual diagonal stair steps. All retain the welded grid topology, shared cap/wall vertices, and export-precision triangulation checks. Reusing each pass's resulting boundary map removes redundant copying without changing Medium geometry.
Draft changes wait for Build 3D Model. Flat Paint temporarily shows None and retains the remembered strength; choosing a smoothing strength disables Flat Paint. Instructions, copied instructions, and 3MF metadata describe the built strength. Updated the guide, all supported UI languages, translated strength tables, and changelog.
Closes #49.
Validation
git diff --checkpass.npm run benchmark:meshing -- cc577a7: nine warmed samples per variant, alternating order in the same process. Medium's vertices and indices match the original byte for byte; every preset retains the original vertex/triangle counts on all five fixtures.Final isolated local median mesh-generation times (ms):
In this comparison, Aggressive is at or below the original time on every fixture. Medium is faster on four fixtures and within 0.1 ms on the smallest photo case. Shared-desktop timing varied between runs; these measurements show no material regression on the tested fixtures, and the benchmark remains available for repeat comparisons.