Free for all.

OpenCAD2D is open-source 2D CAD for Windows. Open the DWG you were sent, draw with the commands you already know, plot the sheet to PDF. No licence to buy, no subscription to renew.

  • For Windows 10 and 11, 64-bit. MIT licence.
  • Opens DWG R2000 to R2018 and DXF R12 to R2018.
The sheet in full: the plan with its structural grid, walls, doors, windows, room names, areas and dimensions, the section and the elevation, a door and window schedule, a north arrow, a scale bar and a title block
Birch Lane House: ground floor plan, section A-A and south elevation. Sheet A3, scale 1:100, drawn by OpenCAD2D.

Drawing a line should not cost a subscription.

Every serious CAD program today has to be bought or rented before you can draw a single wall. Students, small offices and independent engineers pay every year, or work on copies they are not sure they may use.

OpenCAD2D began as an answer to that. Engineers, architects and electrical and plumbing designers get a 2D CAD that opens the drawings they already have and works the way they already work, with no licence to buy, renew or worry about.

The code is open under the MIT licence. Use it at work, read how it works, fix what bothers you, and make it better for the next person.

Read the source on GitHub

For everyone who puts a building on paper.

South elevation of a two-storey house with timber fins

Architects

Plans, elevations and sections with hatches, blocks and dimensions; layouts plotted to PDF for the client.

Structural column grid with numbered and lettered bubbles

Structural engineers

Grids, beams and steel details drawn in millimetres, read from the consultant's DWG without converting it.

Plan with cold and hot water pipe runs and a lighting circuit

Electrical and plumbing

Pipe runs and circuits over the architect's plan, on their own layers, with symbols kept as blocks.

Nothing new to learn.

The time you spent learning AutoCAD keeps paying off. OpenCAD2D follows AutoCAD 2021 down to the prompts.

Opens the DWG you were sent

DWG R2000 to R2018 and DXF R12 to R2018, saved back so AutoCAD opens them without complaint.

Your shortcuts work

L, C, TR, O and the rest; it reads the aliases of your own acad.pgp.

The screen you know

Ribbon, command line, Properties and palettes in their usual places.

Installs in a minute

No admin rights, nothing else to install, and no account to create.

Works offline

No telemetry: your drawings stay on your computer. The app goes online only when you approve a package download for a tool or plugin.

Your routines come along

The .lsp files your office relies on load as they are.

A steel plate with six holes, a weld line, its dimensions and notes, drawn in OpenCAD2D
Steel plate, 580 by 300 mm

Draw, change, annotate.

The 2D draw and modify commands with their prompts and options. Grips, object snaps and tracking. Text, tables, dimensions and multileaders in the styles your office already set up.

LINEPLINEOFFSETTRIMHATCHMTEXTDIMLINEAR

From model to sheet.

Layouts with viewports, page setups and plot styles. Plot one sheet, or publish a whole set to PDF. What OpenCAD2D saves opens in AutoCAD 2021, and AUDIT finds nothing to fix.

MVIEWPAGESETUPPLOTPUBLISH

A border, a title block and a viewport that shows the same plate
Sheet A3, the plate at 1:3

Make it work your way.

Automate the drawing you repeat every week, or let another program draw for you: a schedule from a spreadsheet, a grid from a calculation, a plan from a model. See every way to script it

AutoLISP

Your .lsp routines load as they are, from APPLOAD or the Lisps folder.

Python

Write commands with @command, or pip install opencad2d and read and write drawings from your own scripts.

Remote

Drive a running OpenCAD2D from another program, in Python or .NET, through a named pipe on your own computer.

MCP

A Model Context Protocol server, so an AI assistant can read your open drawing and draw in it when you ask.

A folder in Pythons with requirements.txt, plugin.json and this __init__.py adds RING to the command line.

from opencad2d.cad import active_drawing, command, get_distance, get_point

@command("RING", alias="RG", description="Draws a circle of the radius asked")
def ring() -> None:
    centre = get_point("Specify centre")
    radius = get_distance("Specify radius", base=centre)
    drawing = active_drawing()
    drawing.add_circle(centre, radius)
    drawing.commit()

Tools made by people like you.

LISP routines, Python commands and C# source that people wrote for their own projects and now give away. Download what helps, and share what you made.

Open Share

Beyond AutoCAD.

What OpenCAD2D gives that AutoCAD does not: other programs and AI assistants that can draw in it, a library you can run with no window, and source you can read.

Remote

Drive a running OpenCAD2D from another program, the way a program drives a running Tekla Structures. Read and edit the open drawings, type commands on the command line, ask the user to pick a point, and apply a batch of changes as one undo step.

CadApplicationGetObjectsCommitChangesPickPoint

Read more

An AI assistant can draw

OpenCAD2D.Mcp.exe is an MCP server installed beside the app, with 137 tools. An assistant such as Claude Desktop, Claude Code or Cursor opens a drawing, reads it, draws in it, looks at a picture of the result and checks it, from a blank drawing to a plotted PDF. It needs no Python and no .NET, shows no window and opens no network port.

open_drawingrun_planrender_pngplot_pdf

Read more

Python, with no window

pip install opencad2d reads, draws and saves DXF and DWG from a script, draws a drawing to PNG, SVG or PDF, and makes synthetic training drawings with their labels. A synthetic plate detail takes 41 ms without a picture and 76 ms with one on .NET 8 (medians of 40 drawings).

open_filerender_pngsynth.generaterun_many

Read more

Rendering to a picture

The renderer of the app's canvas also runs with no window: a drawing becomes a PNG, an SVG, a PDF or an array of pixels. A PNG of 1 600 by 960 pixels takes about 30 ms, most of it the encoding of the PNG.

render_pngrender_svgrender_pdfrender_image

Read more

C# plugins from source

A command plugin can be a folder of C# source with a .csproj and no build: OpenCAD2D reads the .csproj and compiles the .cs files when it loads the folder. The project may name NuGet packages.

.csprojPluginsPLUGINLOAD

Read more

AutoLISP, with DCL dialogs

Routines load as they are, and their DCL dialogs show in the app's window at the sizes AutoCAD 2021 draws. Of 17 routines written for AutoCAD and run in both programs on the same blank drawing, 12 wrote the same command line and left the same drawing.

APPLOADload_dialognew_dialogstart_dialog

Read more

Free, under the MIT licence

Use it at work, read how it works, fix what bothers you and share it. No licence to buy, no subscription, no account, and the setup needs no administrator rights.

MIT

Read the source

An open DWG and DXF engine

DXF R12 to R2018 and DWG R2000 to R2018, read and written by a library you can use on its own: OpenCAD2D.Core, the engine with no window, is on nuget.org. What the app does not draw or edit is kept as the file had it.

OpenCAD2D.CoreOpenCAD2D.Remote

Read more

Free, and it stays free.

No trial that runs out, no account, no admin rights. It installs in a minute, and uninstalling leaves your drawings where they are.

Download the latest version