3D Viewer for VS Code: STL, STEP, 3MF, GLB, OBJ, G-code
Open a 3D model the way you open any other file. Turn it, cut through it, measure it and read its dimensions without leaving the editor.
Everything runs on your machine. The extension makes no network requests and collects no data, so your files stay where they are.

| Kind |
Formats |
| CAD (exact geometry) |
STEP .step .stp, IGES .iges .igs, BREP .brep .brp |
| 3D printing |
STL (binary and ASCII), 3MF, AMF, G-code .gcode .gco |
| Meshes and scenes |
OBJ (with .mtl and textures), PLY (meshes and point clouds), OFF, glTF, GLB, FBX, DAE, 3DS |
What it does
- Dimensions. Size in X, Y and Z, triangle and part counts, and a grid sized to the model.
- Measure. Click two points to get the distance and the difference along each axis.
- Section. Cut along X, Y or Z, slide the plane through the part, and flip which side you keep.
- Views. Front, top, right and isometric, plus feature edges, wireframe and bounding box.
- G-code. Step through the layers with a slider, show travel moves and read the filament length. It reads arcs (G2/G3), relative and absolute extrusion, and inches. CNC files with no extrusion work too.
- Live reload. Save the file from your CAD tool or slicer and the view updates.

How to use it
Binary formats and CAD files open in the viewer when you click them. Text formats (.obj, .gltf, .dae, .off, .gcode, .gco) still open as text, so you can edit them. Use the preview button at the top right of the editor, or Open in 3D Viewer in the Explorer's context menu.
To see a CAD file as text, use Reopen Editor With… from the Command Palette.
Units
STEP, IGES, BREP, 3MF, AMF and G-code are shown in millimetres. STL, OBJ, PLY and OFF store no unit, so the numbers are the file's own, and most of those files are in millimetres. Other formats are shown in their own units.
Limits
- Large CAD files take time. A 600 KB STEP opens in about two seconds. A very large assembly can run out of browser memory, because the CAD reader runs as WebAssembly.
- Assemblies appear as one model. There is no part tree yet.
- FBX and DAE load embedded textures only. Animations are not played.
The Convert button opens the matching page on MiConvert in your browser. Nothing is sent until you choose a file there, and that site does upload your file to convert it.
Issues
Report bugs on GitHub. A small file that shows the problem helps most.
License
MIT. Bundled libraries are listed in THIRD-PARTY-NOTICES.md.
| |