Browser-based CAD viewer built with React, TypeScript, Vite, and three.js.
It provides a lightweight landing page plus a full engineering viewer experience for inspecting CAD and mesh files directly in the browser.
/- Marketing landing page/viewer- CAD viewer application
- 3D viewing for CAD and mesh formats
- Measurement tools
- Section/cross-section controls
- Snapshot capture (normal and outline)
- Assembly/part-focused workflows
- DXF preview support
- CAD solids:
STEP,STP,IGES,IGS,BREP - Mesh/assembly formats:
STL,OBJ,3MF,GLTF,GLB - 2D drawing format:
DXF
src/main.tsx- App bootstrap and router setupsrc/ui/App.tsx- Route shellsrc/ui/LandingPage.tsx- Landing page (/)src/ui/ViewerPage.tsx- Viewer route (/viewer)src/ui/App.css- Shared styles for landing + viewer shellsrc/components/cad/- Core CAD viewer engine, loaders, DXF pipeline, and UI overlayssrc/workers/occ-worker.ts- OpenCascade worker bridgepublic/occ/- OCCT runtime assets
npm install
npm run devnpm run typecheck
npm run build
npm run previewThis repository is licensed under the Devaraj CAD Viewer Non-Commercial License. See LICENSE for full terms.
OCCT is used for CAD import (STEP/IGES/BREP) and is licensed separately under LGPL 2.1 with exception by Open Cascade S.A.S.
- Official site: https://dev.opencascade.org
- License text:
third_party/OCCT_LICENSE.txt