Repository navigation
Offer only 3MF for multi-head builds, whose STL was non-manifold - #203
Merged
Merged
Conversation
vycdev
force-pushed
the
fix/multi-head-no-stl
branch
from
November 19, 2026 21:47
d804f66 to
bb3229e
Compare
Multi-head meshes are many closed region x layer shells, so a single STL of them is non-manifold and can't carry head routing. Hide Download STL for built multi-head models as Flat Paint already does, and guard the STL handler. Single-head fallback builds keep STL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A single-head fallback commits its snapshot before ThreeDView rebuilds, so the menu showed STL while the export reference still held the routed multi-head mesh. Clear it when the snapshot is applied. Also check that the menu follows the built model rather than the Multi-head toggle, and trim the changelog wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…shot An overlapping build can republish its mesh after a newer single-head snapshot enabled STL. Tag the published group and check it in the STL handler, so no ordering exports a routed mesh. Bound the fallback test's observer so a closed menu fails quickly instead of hanging. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The handler waits two frames before exporting the captured group. Check again that it is still the published, STL-capable mesh, so a build that starts in between can't hand routed geometry to the STL exporter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vycdev
force-pushed
the
fix/multi-head-no-stl
branch
from
November 20, 2026 14:42
bb3229e to
4000140
Compare
vycdev
added a commit
that referenced
this pull request
Nov 20, 2026
Merge the four Open in Slicer bullets into one entry for the shipped flow, fold Multi-head filament requirements into Multi-head printing, and move the decode-once image work into its own Changed entry. Move touch-up history fixes that predate v4.3 into Fixed, add the missing diagnostics folder fix, and reduce the cats benchmark entry to one Fixed line. Fold in the notes from PRs merged since (#203, #205, #206, #208, #209, #210, #212, #213) and trim test-only and maintenance details that do not help users. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 20, 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.
Multi-head builds still offered Download STL, and that STL wasn't printable. Multi-head geometry is a closed shell per region × layer, so one STL just stacks them together: a 2-region × 2-layer probe gave 15 edges shared by more than two triangles and 4 coincident triangle pairs. STL can't carry head routing anyway, and the Multi-head guide already says to export 3MF.
Now the download menu offers only 3MF (and Open in Slicer) for a built multi-head model, as it already did for Flat Paint. A build that falls back to a normal single-head model still offers STL. Single-head and Flat Paint behavior are unchanged.
App.tsxtreats the model as multi-head whenbuiltMultiHeadPlanexists. That is the same valueThreeDViewuses to pick the multi-head mesh path. The STL handler checks the same flag.kromacutStlUnavailable(Flat Paint or multi-head).onExportStlrefuses a tagged mesh both before and after the overlay wait, with the existing "model not ready" alert. So a routed mesh that outlives its build snapshot can never become an STL.Proof:
@smoketests inmulti-head-wiring.spec.ts:download-stlcount check.Locally on the final head:
npm test(1159 pass), and the docs/i18n checks pass.test:e2e:allsuites pass. In the@smokesuite, only the four Display P3 tests inimage-decode-reuse.spec.tsfail, and they fail the same way ondevelop(ce6b3c9) without this PR.Reviewed with sol-loop: 1 round with gpt-6.2-sol. Sol verdict: approved
Council review
Rounds: 4, plus a recheck of the rebase onto #212/#202
Created with Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code