Skip to content

docs: show how to export two named parts in one GLB - #238

Open
nickfast2025 wants to merge 1 commit into
wrong-nebula:mainfrom
nickfast2025:codex/two-part-scene-quickstart
Open

nickfast2025 wants to merge 1 commit into
wrong-nebula:mainfrom
nickfast2025:codex/two-part-scene-quickstart

Conversation

@nickfast2025

Copy link
Copy Markdown

Closes #229.

The first CLI example builds a single flange. This adds a base and pin beside it in the agent guide, links the example from the README, and shows the equivalent MCP eval arguments. Both paths write one assembly.glb with independently selectable base and pin nodes. The guide links to #68 for the separate single-mesh use case.

The npm smoke suite now checks node names in the active glTF scene of CLI and MCP exports. Previously the MCP check only tested the GLB's file size.

Verification

  • Ran the documented snippet through the npm CLI and the documented JSON through a fresh stdio MCP server. Decoded each GLB and found both base and pin with mesh primitives. Removing --scene from the CLI command produced just pin.
  • All five npm smoke groups passed on Ubuntu using the checked-in WASM. The local-path guard and git diff --check passed.
  • On Windows the two example exports passed. The full suite stops at the existing strict-invariant CLI exit-code check on both this branch and unmodified 20fd619 (3221226505 instead of 3).

AI assistance: OpenAI Codex helped prepare the example, tests, and verification.

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.

Show how to export all named parts in the first agent example

1 participant