CAD Viewer
A VS Code extension for opening 2D drawings and 3D CAD models directly inside the editor.
You can also open interactive examples in the browser: cad.thingraph.site/examples.
Features
- Open common 2D and 3D CAD formats in a custom read-only editor.
- Render drawings and models inside a VS Code webview with pan, zoom, screenshot, and viewer tools.
- Automatically switch between 2D and 3D viewer flows based on file format.
Examples
2D Drawing And Layers


3D Model Examples


DWG
DXF
glTF
GLB
OBJ
FBX
STL
IFC
STP
STEP
Usage
- Open a supported CAD file in VS Code.
- The extension opens the file with the
CAD Viewer custom editor.
- Use the viewer controls to inspect the drawing or model.
Notes
- The editor is read-only.
- Supported 2D files use the 2D viewer flow automatically.
- Supported 3D files use the 3D viewer flow automatically.
- Large files may take longer to load depending on file size and machine performance.
Support
Release Notes
See CHANGELOG.md.
Publishing
Marketplace packaging and publishing steps are documented in PUBLISH.md.
License
Proprietary, see LICENSE.
| |