feat(editor): expose printable STL export - #727
Open
nicemit wants to merge 1 commit into
Open
Conversation
nicemit
marked this pull request as ready for review
August 28, 2026 08:50
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.
What does this PR do?
Exposes printable STL export in the settings panel Export section. Users can now download printable STL files (as a zip) via a dedicated button, using the same safe print profile as the existing 3MF export (
printScale: 100,printScope: levels,printContent: structure,printBase: none).Follow-up to Discussion #331 — exposes the existing internal
print-stlexport path in the Settings UI.How to test
bun devand open http://localhost:3002bun --cwd packages/editor run test -- print-export-buttonScreenshots / screen recording
Screenshot shows the new "Export 3D print STL files" button alongside the existing 3MF export in the Export panel.
Checklist
bun devbun checkto verify)mainbranchNote
Low Risk
UI-only wiring to an existing
print-stlexport path with shared preflight and options; no auth or data-model changes.Overview
Adds a dedicated Export 3D print STL files control next to the existing 3MF export in the settings Export section, replacing the single generic print export button.
preparePrintExportnow takes an optional format (print-3mforprint-stl, default unchanged) and passes it through tomodelExportwhile keeping the same fixed print options (levels, structure-only, no base, 100% scale). A unit test asserts STL uses that same profile and returns zip artifacts with STL metadata.Reviewed by Cursor Bugbot for commit ca1433a. Bugbot is set up for automated code reviews on this repo. Configure here.