Skip to content

CAD PreviewInteractive 3D CAD and mesh previews in VS Code

Open a STEP, IGES, BREP, STL, OBJ, PLY, or glTF file โ€” CAD Preview renders it instantly inside the editor with full orbit, pan, and zoom.

See It in Action โ€‹

The CAD Preview editor โ€” 3D viewer, orientation cube, Components/Parts/Edits/FE Mesh sidebar, toolbar, and view controls.

Previewing a STEP model with colour-coded parts, parametric variables, and every panel live. The tutorials build a real part start to finish; Getting Started is the panel-by-panel reference.

Geometry creation opsNamed colour-coded partsGenerated FE mesh overlay

Supported Formats โ€‹

FormatExtensionsPipeline
STEP.step, .stpOpenCascade.js โ†’ BRepMesh tessellation
IGES.iges, .igsOpenCascade.js โ†’ BRepMesh tessellation
BREP.brepOpenCascade.js โ†’ BRepMesh tessellation
OpenSCAD CSG.csgCSG parse โ†’ OCCT build โ†’ BRepMesh
OpenSCAD Src.scadopenscad binary โ†’ .csg โ†’ same as above
STL.stlThree.js STLLoader
OBJ.objThree.js OBJLoader
PLY.plyThree.js PLYLoader
glTF.gltf, .glbThree.js GLTFLoader

Plus VTK/VTU, MED, CGNS, Exodus, XDMF, Kratos MDPA, OpenFOAM, Gmsh Mesh, Abaqus, I-DEAS Universal, SU2, INRIA Medit, GiD Postprocess, and Nastran Bulk Data via the host-side meshio++ bridge โ€” Gmsh Mesh, Abaqus, I-DEAS Universal, SU2, INRIA Medit and Nastran close a real export/import asymmetry (this codebase's own FE Meshing panel wrote them but couldn't reopen them). SVG and DXF are not rendering formats but appear at both ends of the pipeline: Import SVGโ€ฆ/Import DXFโ€ฆ trace a 2D drawing's geometry into sketch polylines/profile ops, and Export Silhouette SVGโ€ฆ/โ€ฆDXFโ€ฆ write a 2D outline of the model back out.

Badges โ€‹

CI Docs VS Code Engine Three.js OpenCascade.js License TypeScript

Released under the GPL-3.0-or-later License.