cad-viewer is an open-source, web-based CAD engine for viewing and editing 2D CAD drawings directly in the browser.
Unlike traditional CAD viewers, cad-viewer is not read-only. It supports creating, modifying, and deleting CAD entities, making it suitable for interactive CAD applications, online editors, and custom design tools.
🚀 Key Features
📐 High-performance 2D CAD rendering for large DWG/DXF drawings
✏️ Create CAD entities (lines, polylines, etc.) programmatically or via user interaction
🗑️ Delete and manage entities in real time
🎯 Entity selection & highlighting with precise hit-testing
🧩 Layer-based scene organization
🌐 Web-first architecture, ideal for modern CAD applications
🔓 Fully open source and extensible
cad-viewer is designed as a foundation for building full CAD applications, not just a passive viewer. It can be integrated into engineering platforms, online CAD tools, or any application that needs real-time CAD interaction in the browser.
If you’re looking for a lightweight but powerful CAD engine for the web—this project is for you.