Open Source 2D CAD

Enchanter CAD

A lightweight 2D CAD application built with Python and PyQt6. Features an AutoCAD-style command line, 30+ drawing and modify commands, DXF/DWG support, and G-code generation — all in a fast, portable package.

Version v1.1
Language Python
GUI PyQt6
License MIT
Capabilities

Built for 2D Drafting Workflows

Enchanter CAD combines a familiar AutoCAD-style interface with a powerful command engine and modern Python tooling.

AutoCAD-Style Command Line
Type commands directly with full A-Z alias support. Feels just like AutoCAD — type L for Line, C for Circle, TR for Trim, and 200+ more aliases.
30+ Drawing Commands
Line, Arc, Circle, Ellipse, Polyline, Spline, Rectangle, Point, Text, Dimensions, Leaders, Hatches, and more — all implemented as interactive generators.
Modify Tools
Trim, Extend, Offset, Mirror, Rotate, Scale, Move, Copy, Fillet, Array, Stretch — full set of modification commands for precision editing.
Layer Management
Create, lock, freeze, and manage drawing layers with color support. Control visibility and editability per layer like professional CAD tools.
DXF/DWG File Support
Open and save DXF files via the ezdxf library. Interoperable with AutoCAD, LibreCAD, and other major CAD packages.
G-Code Generation
Export your drawings directly to CNC G-code. Generate toolpaths from 2D geometry for manufacturing with built-in post-processors.
Gallery

Screenshots

A look at the Enchanter CAD interface and branding.

Enchanter CAD Splash
Splash Screen
Application launch screen with branding
Enchanter CAD Start
Application Start
Welcome screen with recent files and quick actions
Enchanter CAD Logo
App Icon
High-resolution application icon and branding
Enchanter CAD Banner
Banner
Official Enchanter CAD branding banner
Technology

Tech Stack

Built on modern, performant technologies chosen for speed, simplicity, and portability.

Python 3.10+
Core language. Clean, readable codebase with generator-based command system for interactive prompts.
PyQt6
Cross-platform GUI framework. Dark-themed interface with toolbar, ribbon, command line, and status bar.
ezdxf
Python library for DXF file reading and writing. Full support for lines, arcs, circles, text, dimensions, and blocks.
G-code Engine
Built-in G-code generator with multiple post-processors for CNC machines. Export drawings directly for manufacturing.
Get Started

Download Enchanter CAD

Open source and free to use. Download the installer or clone the repository to build from source.

Latest Release — v1.1
Includes 30+ drawing and modify commands, DXF/DWG support, G-code generation, layer management, and dark theme UI.
github.com/SID-cmd-sk/enchanter-cad/releases/tag/v1.1