Skip to content

fix(export): auto-union multi-part Scenes for STL - #681

Merged
w1ne merged 1 commit into
developfrom
fix/stl-auto-union-scene
Jul 28, 2026
Merged

fix(export): auto-union multi-part Scenes for STL#681
w1ne merged 1 commit into
developfrom
fix/stl-auto-union-scene

Conversation

@w1ne

@w1ne w1ne commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Summary

STL export of a multi-part assembly Scene (MAKE NO MISTAKES keycap, etc.) failed with export.no-shape / use Scene.toUnion(). Studio header STL should just download a mesh.

Changes

  • runAndExport(format: 'stl') on a SceneBackend fuses world-frame parts (boolean union), matching Scene.toUnion()
  • STEP / 3MF / GLB unchanged (per-part identity)
  • Integration test updated; CQE export-trio harness no longer rewrites returns

Test plan

  • vitest run tests/integration/lowering/sceneStepExport.test.ts
  • After server vendor pin + deploy: STL of project N2yYiZxy returns binary mesh

Studio header STL on assemblies (e.g. keycap body + inlays) failed with
export.no-shape asking for Scene.toUnion(). STL is a single mesh, so fuse
world-frame parts automatically — same geometry as an explicit toUnion —
while STEP/3MF/GLB keep per-part identity.
@w1ne
w1ne merged commit 07e2399 into develop Jul 28, 2026
13 checks passed
@w1ne
w1ne deleted the fix/stl-auto-union-scene branch July 28, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant