Skip to content

Preserve GLB instances and fix assembly validation and exports - #235

Merged
wrong-nebula merged 1 commit into
mainfrom
codex/fix-scene-round-trips
Dec 5, 2026
Merged

wrong-nebula merged 1 commit into
mainfrom
codex/fix-scene-round-trips

Conversation

@wrong-nebula

Copy link
Copy Markdown
Owner

Changes

Forma now reimports each copy in a GPU-instanced GLB batch with its world transform. The regression exports 64 rotated, scaled boxes through both the default and realtime profiles and compares the count and bounds of every box.

  • Include transformed instances in assembly contact checks. Sparse assemblies can exceed 64 parts, and dense assemblies report when the pair budget leaves checks incomplete.
  • Invalidate exports when the session unit changes. A failed evaluation restores the prior unit and revision, and undo restores the prior physical scale.
  • Reconsider producer choices when a later goal requires a different artifact kind. Both goal orders now resolve the shared dependency.
  • Preserve bore materials and material boundaries across planar caps during rim bevels.
  • Emit separate STEP boundary shells for disconnected solids and enclosed voids.
  • Weld vertices within each named part before normal repair in the planner’s Hullyeah handoff. The conditioned assembly passes strict reimport.

Each fix has regression coverage. The bundled WASM was rebuilt from the merged source.

Verification

Check Local result
Rust workspace tests 284 passed
Rebuilt WASM and npm smoke suite All 5 groups passed
Native goal-planner and rigid-stack integration tests 9 planner and 6 rigid-stack tests passed
Clippy, all targets and features, warnings treated as errors Passed
Workspace documentation build and tracked-file path check Passed
Independent STEP import in OpenCascade Two valid solids, four shells, combined volume of 112 mm³

@wrong-nebula
wrong-nebula merged commit d580a80 into main Dec 5, 2026
3 checks passed
@wrong-nebula
wrong-nebula deleted the codex/fix-scene-round-trips branch December 5, 2026 17:56
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.

2 participants