Open-Source CAD. Inspectable Geometry. Zero Lock-In.

TrueDraft CAD is built in the open under the GNU AGPL-3.0 license. Your floor plans are stored in readable JSON and export to open standards (PDF, AutoCAD DXF R12, 3D OBJ, SVG, CSV) — never trapped inside a proprietary subscription cloud.

Core Engineering Modules

src/lib/cad/geometry.ts

Planar half-edge minimal cycle room detector, T-junction wall splitter, corner mitering solver, magnetic snapping, and construction material takeoff engine.

src/lib/cad/symbols.ts

66 scale-accurate US architectural 2D vector symbols (Kitchen, Bath, Living, Bedroom, Dining/Office, Stairs/Mechanical, Garage/Outdoor) with procedural 3D mesh specs.

src/lib/exporters/pdf.ts

Pure vector pdf-lib architectural blueprint compiler supporting exact 1/4"=1', 3/16"=1', 1/8"=1', 1:50, and 1:100 physical scales on Letter, Tabloid 11×17, and Arch D 24×36 sheets plus Sheet A2.0 schedules.

src/lib/exporters/dxf.ts

Deterministic AutoCAD DXF R12 (AC1009) ASCII writer emitting AIA-standard CAD layers (A-WALL, A-WALL-INTR, A-DOOR, A-GLAZ, A-FURN, A-AREA, A-ANNO-DIMS, A-ANNO-TEXT).

src/lib/exporters/obj.ts

Watertight Wavefront 3D .OBJ triangulator with true door/window wall cutouts (lintels & sills), ear-clipped concave floor slabs, and rotated 3D fixture prisms.

src/lib/studio/Canvas2D.svelte & Viewport3D.svelte

High-DPI 60fps HTML5 2D drafting engine with direct keyboard length input + real-time Three.js WebGL 3D cutaway & first-person WASD walkthrough renderer.

Run Locally From Source

TrueDraft CAD runs on SvelteKit 5, TypeScript, Three.js, pdf-lib, and Cloudflare Workers/D1. Clone and start the full CAD studio locally in under a minute:

git clone https://github.com/truedraftcad/truedraft-cad.git
cd truedraft-cad
pnpm install
pnpm run db:migrate
pnpm test
pnpm run dev

Why Pay For a Hosted License?

You are always welcome to inspect, audit, fork, or self-host the AGPL-3.0 source code. Purchasing a one-time license ($9 Single Project / $29 Pro Lifetime / $79 Studio) gives you:

  • Instant browser access at www.truedraftcad.com — zero local setup
  • Managed AI Sketch / Photo / Zillow-Screenshot-to-CAD tracing included
  • Cloud project storage across devices with passwordless sign-in
  • Commercial deliverable rights & funding for ongoing open-source CAD development