Skip to content

Add docs for exporting a Viam Visualization scene as URDF and MJCF - #5571

Merged
Eliza Farley (elizafarley) merged 2 commits into
mainfrom
claude/update-visualization-urdf-mjcf-export
Nov 23, 2026
Merged

Eliza Farley (elizafarley) merged 2 commits into
mainfrom
claude/update-visualization-urdf-mjcf-export

Conversation

@shannonbradshaw

@shannonbradshaw Shannon Bradshaw (shannonbradshaw) commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Source changes

  • Add a plugin that exports the scene as URDF and MJCF visualization#1186 (6880f757, released in @viamrobotics/visualization v3.4.0): adds the SceneExport plugin, a toolbar button (Export scene as URDF and MJCF) that downloads scene-urdf-mjcf.zip with urdf/ (plus a Gazebo model.config), mjcf/ and export-notes.txt. The standalone app mounts it (src/routes/+layout.svelte); the Viam app's 3D SCENE tab does not (scene-view.svelte imports no SceneExport).

Documents: no ticket key found (the PR carries no Jira key). Docs gap: viz-scene-urdf-mjcf-export.

Docs changes

  • docs/visualization/viam-visualization.md: new "Export a scene for simulation" section. File and folder names come from package-sim-export.ts and SceneExportButton.svelte; what is left out comes from export-notes-text.ts (point clouds, lines and arrows, hidden objects, Denavit-Hartenberg links welded).

PR #5564 also edits this page ("Connect to a live machine"); this PR touches a different section. The page's viam-labs/motion-tools import paths are tracked separately (backlog, DOCS-4986) and left as they are.

How I found these

  • Xref lookup: none for the standalone visualizer.
  • Grep: urdf, mjcf, export, simulat across docs/visualization/: no page mentions scene export.

Checks: prettier 3.2.5, markdownlint, vale 3.12.0, make build-prod: clean.


Generated by daily docs change agent


Generated by Claude Code

visualization#1186 (v3.4.0) adds a toolbar button that exports the scene as
a zip of URDF (Gazebo, Isaac) and MJCF (MuJoCo) with export notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nja2XnkouVDxo5aWtzgeF3
@netlify

netlify Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit 9f05f83
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6b0466b798fee2a73abc2625
😎 Deploy Preview https://deploy-preview-5571--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 33 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label Nov 21, 2026

Copy link
Copy Markdown
Member

Docs review: Needs changes

This PR adds an "Export a scene for simulation" section to the Viam Visualization page. Every claim I could check matches the visualization source. One question remains about whether readers who follow the page's setup steps get the export button.

CI: All required checks passing

Docs health: No regressions

Released: All documented changes are live: the source change is in @viamrobotics/visualization v3.4.1 (released 2026-11-20).

Needs owner sign-off

Claim Where Owning team Why unverified
The export button appears in the standalone app a reader starts with make up from the viam-labs/motion-tools repository docs/visualization/viam-visualization.md:119-138 Visualization The button is in viamrobotics/visualization (src/routes/+layout.svelte:140), but the page's "Run the app" section points readers at viam-labs/motion-tools. I couldn't tell whether that checkout carries the plugin.
Verified against source (7 claims)
  • Button label Export scene as URDF and MJCF, download icon: viamrobotics/visualization src/lib/plugins/SceneExport/SceneExportButton.svelte:13, :63
  • Downloads scene-urdf-mjcf.zip: same file, line 14
  • Zip holds urdf/ (scene.urdf, meshes, model.config), mjcf/ (scene.xml, meshes) and export-notes.txt: src/lib/plugins/SceneExport/package-sim-export.ts:66-71
  • model.config lets Gazebo load the folder as a model: package-sim-export.ts:9
  • Each folder holds its own meshes: package-sim-export.ts:44
  • Point clouds, lines/arrows and hidden objects are left out; Denavit-Hartenberg links are welded: src/lib/plugins/SceneExport/export-notes-text.ts:5-20
  • The standalone app mounts the plugin and the Viam app's 3D SCENE tab does not: src/routes/+layout.svelte:140; no SceneExport reference in viamrobotics/app ui/src

Automated review by Claude. Rerunning the review updates this comment.


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@elizafarley

Copy link
Copy Markdown
Contributor

Docs review: Ready to merge

Adds an "Export a scene for simulation" section to the Viam Visualization page for the new URDF/MJCF export plugin. Every claim matches the SceneExport plugin source at @viamrobotics/visualization v3.4.1. The sentence about the 3D SCENE tab has been removed (9f05f83), so the section stays on topic for the standalone visualizer.

CI: All required checks passing

Docs health: No regressions

Released: All documented changes are live (viamrobotics/visualization#1186, in v3.4.0 and v3.4.1). The standalone app mounts the plugin (src/routes/+layout.svelte:140).

Verified against source (9 claims)
  • Button label Export scene as URDF and MJCF, download icon: viamrobotics/visualization src/lib/plugins/SceneExport/SceneExportButton.svelte:2,14
  • Button sits in the top-right toolbar strip: SceneExport.svelte renders through WorkspacePortal; src/lib/components/overlay/workspace/Workspace.svelte:10
  • Download is named scene-urdf-mjcf.zip: SceneExportButton.svelte:15
  • urdf/ holds scene.urdf, its meshes, and a Gazebo model.config: src/lib/plugins/SceneExport/package-sim-export.ts:7-14,52-53
  • mjcf/ holds scene.xml and its meshes: package-sim-export.ts:54
  • export-notes.txt lists everything left out or approximated: package-sim-export.ts:39,55-56
  • Each folder holds its own meshes; for Gazebo, Isaac, and MuJoCo: package-sim-export.ts:34,39-40
  • Arms articulated from kinematics, posed as the scene shows them: src/lib/plugins/SceneExport/build-sim-scene.ts:75-77,125
  • Point clouds, lines and arrows, and hidden objects left out; Denavit-Hartenberg links welded: src/lib/plugins/SceneExport/export-notes-text.ts (point-cloud-skipped, drawing-skipped, hidden-skipped, dh-model-not-articulated)

Automated review by Claude. Rerunning the review updates this comment.

@elizafarley
Eliza Farley (elizafarley) merged commit d33a145 into main Nov 23, 2026
14 checks passed
@elizafarley
Eliza Farley (elizafarley) deleted the claude/update-visualization-urdf-mjcf-export branch November 23, 2026 16:18
@github-actions

Copy link
Copy Markdown

🔎💬 Inkeep AI search and chat service is syncing content for source 'Viam Docs'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to build This pull request is marked safe to build from a trusted zone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants