cad-viewer
cad-viewer brings CAD geometry to life with an interactive 3D visualization environment. Load, inspect, and evaluate generated CAD files directly within your workflow, making design review and iteration seamless. Perfect for agents that need to validate or present CAD output in real time.
cad-viewer supports a wide range of CAD and 3D formats including STEP, STP, STL, URDF, SRDF, SDF, DXF, GLB, and 3MF files. You can load generated CAD models, robot description files, G-code previews, and manufacturing files directly into the interactive 3D viewer for inspection and validation.
AI-generated summary based on this skill's SKILL.md
Install
earthtojake/text-to-cad/cad-viewer · repository language: JavaScript
git clone https://github.com/earthtojake/text-to-cad
cp -r text-to-cad/skills/cad-viewer ~/.claude/skills/cad-viewerFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What file formats can cad-viewer open and display?
cad-viewer supports a wide range of CAD and 3D formats including STEP, STP, STL, URDF, SRDF, SDF, DXF, GLB, and 3MF files. You can load generated CAD models, robot description files, G-code previews, and manufacturing files directly into the interactive 3D viewer for inspection and validation.
How do I view STEP files in cad-viewer's 3D model viewer?
cad-viewer provides an interactive 3D viewer where you can open STEP files by loading them into the environment. Once loaded, you can inspect the geometry, rotate, zoom, and examine design details. The viewer makes it easy to validate CAD output before proceeding with production or further iteration.
Can cad-viewer generate shareable review links for CAD models?
Yes, cad-viewer lets you generate shareable review links for CAD model artifacts. This enables seamless design review and collaboration by allowing team members to access and inspect your CAD geometry interactively without needing local file access or specialized software.
Does cad-viewer support viewing robot description and kinematic files?
cad-viewer supports visual inspection of robot description files including URDF and SRDF formats, as well as SDF files. This allows you to preview and validate robot kinematics and structure directly within the interactive 3D environment, making design verification straightforward.
Can I preview G-code and manufacturing files before production?
cad-viewer includes G-code preview functionality, letting you visualize manufacturing files before sending them to production. This helps catch design issues early and ensures your CAD output is ready for manufacturing workflows.
What license does cad-viewer use?
cad-viewer is released under the MIT license, making it free and open-source for both commercial and personal use with minimal restrictions.
SKILL.md
rendered from the published skill — quoted content, verbatim
CAD Viewer
Provenance: maintained in earthtojake/text-to-cad. Use the installed local skill files as the runtime source of truth; the repository link is only for provenance and release review.
Use this skill to open existing or newly generated CAD, implicit CAD, robot-description, DXF, or plain FDM G-code files in CAD Viewer and hand back live review links. The expected input is one or more explicit file paths.
Start Viewer
Start or reuse one local CAD Viewer with npm run agent:start, passing the
absolute artifact directory as --dir. The agent:start launcher owns port
selection, compatible-server reuse, directory activation, and the ?dir= query
parameter. Dev-mode viewers are reused only for matching git identities;
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 15 files
skills/cad-viewer/LICENSE
skills/cad-viewer/SKILL.md
skills/cad-viewer/agents/openai.yaml
skills/cad-viewer/references/development.md
skills/cad-viewer/references/moveit2-server.md
skills/cad-viewer/references/viewer-features.md
skills/cad-viewer/requirements.txt
skills/cad-viewer/scripts/viewer/.gitignore
skills/cad-viewer/scripts/viewer/backend/server.mjs
skills/cad-viewer/scripts/viewer/dist/assets/BufferGeometryUtils-xu92ooFc.js
skills/cad-viewer/scripts/viewer/dist/assets/BufferGeometryUtils-xu92ooFc.js.map
skills/cad-viewer/scripts/viewer/dist/assets/GLTFLoader-B3ztFMBW.js
skills/cad-viewer/scripts/viewer/dist/assets/GLTFLoader-B3ztFMBW.js.map
skills/cad-viewer/scripts/viewer/dist/assets/STLLoader-C7hGonJR.js
skills/cad-viewer/scripts/viewer/dist/assets/STLLoader-C7hGonJR.js.map