Calque is French for tracing paper, and for a layer. OpenCalque is a drafting table for buildings: draw walls that join themselves, drop in doors, windows and stairs that know how to behave, name rooms and get their area, then frame it all on a sheet. It is a desktop app and a web app from the same code, and everything it saves is a file you can read.
Status: stable. The editor works end to end and is covered by unit tests and browser tests, and a drawing saved by it stays readable by every later version (what stays stable). Download it or run it from source, and see what is not there yet and what changed.
Why OpenCalque
|
|
| Figma-like, not CAD-like |
A toolbar, panels you can dock anywhere, a command list on Ctrl+K with every shortcut rebindable, hints that show only the next step. No command line to memorise. |
| Built for buildings |
Walls mitre at any angle and stay joined when you move one. Doors and windows snap into walls and cut them. Rooms are found from the walls and report their area. |
| Non-destructive |
Components update everywhere at once. Modifiers such as crop and floor patterns change how something is drawn without changing it, and can be switched off at any time. |
| Open by design |
A drawing is plain JSON with a published schema. Every edit is a small JSON operation, the same ones the editor, the CLI and the assistant use. |
| Works with AI, or without |
A built-in assistant edits the drawing from a description, through Claude, a local model with Ollama, or any OpenAI-compatible service. The rest of the app never goes online. |
| Free |
MIT licensed. No account, no subscription, no telemetry. |
A first look
Download
Installers for each version are on the releases page:
| System |
File |
| Windows |
OpenCalque-…-windows-setup.exe to install, or …-windows-portable.exe to run without installing |
| macOS |
OpenCalque-…-mac-arm64.dmg (Apple silicon) or …-mac-x64.dmg (Intel) |
| Linux |
OpenCalque-…-linux-x86_64.AppImage, or …-linux-arm64.AppImage for ARM (a Raspberry Pi 4 or 5 on a 64-bit system) |
The builds are not signed, so the system asks before running them the first time:
- Windows: choose "More info", then "Run anyway".
- macOS: open the app once, then go to System Settings → Privacy & Security, where an "Open Anyway" button for OpenCalque appears; on macOS 14 and earlier, right-clicking the app and choosing Open does the same. If a version before 0.4.1 says the app "is damaged", run
xattr -cr /Applications/OpenCalque.app once, or take a newer version.
- Linux: make the AppImage executable (
chmod +x OpenCalque-*.AppImage). AppImages need FUSE 2, which recent Ubuntu does not install by default (sudo apt install libfuse2t64). On Ubuntu 24.04 and later, an Electron app started from an AppImage can close at once because the system restricts the sandbox it uses; starting it with --no-sandbox gets past that.
The macOS and Linux builds are made by the same release workflow as the Windows one, but have not been tried on a real Mac or Linux machine by the maintainers: reports of what works and what does not are welcome.
When it starts, pick Start with the example to get a furnished flat to take apart.
Or use it in a browser, with nothing to install: opencalque.com. Chrome and Edge can open and save a drawing in place; other browsers download it.
Run from source
Requires Node 22 or newer and pnpm 9.
git clone https://github.com/laurent512/opencalque.git
cd opencalque
pnpm install
pnpm dev # the desktop app, with hot reload
The welcome window offers a new drawing, a file, or the example: a furnished flat, which is examples/apartment.opencalque.
pnpm dev:web # the same editor in a browser
pnpm build && pnpm start # the built desktop app
pnpm test # unit tests (Vitest)
pnpm e2e # build the web app and drive it in a browser (Playwright; first run `pnpm exec playwright install chromium`)
pnpm dist # build the installer for the system you are on, into apps/desktop/dist
pnpm notices # rewrite THIRD-PARTY-NOTICES.txt after adding or updating a dependency
What you can do
Draw
- Walls drawn along their middle or along either face, joined cleanly at any angle; a double-click closes a room. Extend a wall to the next one, or trim what sticks out.
- Corners you can select and drag, with a choice of joint: mitred, rounded, cut off, or one wall running through.
- Doors, windows, four kinds of stairs and a compass for north, each with its own parameters.
- Lines, rectangles, ellipses and arcs, polylines straight or curved, and annotations with curved, straight or elbowed leaders.
- Text typed in place, on several lines, bold or not, aligned left, centred or right, with fields such as
{date} or {page} that fill themselves in.
- Line weights in printed millimetres, dashed and dotted lines, arrows at the ends.
- Exact sizes: type a length or an angle while drawing, in mm, cm, m, inches, feet, or feet and inches with fractions.
- Dimensions with configurable ends, text and units, and chains of them along walls and their openings; a measure tool that only reads.
Organise
- Rooms that follow their walls, with name and area; dividers to split an open space.
- Materials (concrete, brick, insulation, plaster, parquet…) that walls and floors are made of: each wall is of one material, drawn in its colour and hatch, and a wall of several materials is drawn as several walls side by side, a door going through them all.
- Tables of quantities placed on the drawing that keep up to date: objects counted, floor areas by material, rooms, walls by material and thickness, doors and windows.
- Papers: sheets at a standard format and drawing scale (A5 to A0, or the US ARCH A to E and ANSI A to E) that carry what is drawn on them.
- Pages you can duplicate and reorder; layers; groups and reusable components. What is drawn "on every sheet" (a title, a logo, a north arrow) shows on every paper, following each sheet and its scale.
- Shared colours: link objects to a named colour and recolour them all at once.
- Rotate, flip, scale and nudge any selection, from handles, the keyboard or exact values; align and space evenly.
- Repeat an object in rows and columns without multiplying objects.
- Change what several objects have in common in one go, or copy a look from one object to others with the eyedropper.
Reuse
- A searchable, illustrated object library: furniture, kitchen, bathroom and electrical symbols.
- Extensions that add new parametric objects as data, not code, so installing one is safe.
- Any drawing can be used as a library; catalogs can be published anywhere on the web.
Bring in and take out
- Drop a PDF or a picture to trace it, and set its scale from one known distance.
- Import a DXF from another CAD program: its geometry and text on their layers, blocks as groups, hatches, dimensions and leaders. A DXF laid out as a sheet, as AutoCAD's paper space and SketchUp LayOut write them, comes in as a paper at its scale.
- Export a vector PDF at true scale, one page per paper, with a title block, its text in any script but Korean. Also SVG and DXF.
- Export the quantities as a CSV for a spreadsheet: room areas, wall lengths and faces less openings, doors and windows by kind, floors and walls by material, the objects placed.
The full inventory and roadmap are in docs/FEATURES.md.
A local CLI
Everything the editor does to a drawing, a script can do too. The CLI is on npm as opencalque: with Node 22 or later, npx opencalque <command> runs it with nothing else to install. From a checkout of this repository (see Run from source), pnpm opencalque <command> runs the same code, as below. It is not installed with the app.
pnpm opencalque new plan.opencalque "My plan"
pnpm opencalque apply plan.opencalque examples/studio.ops.json # apply a JSON array of operations
pnpm opencalque describe plan.opencalque # a JSON summary, good context for an AI agent
pnpm opencalque pdf plan.opencalque --out plan.pdf # every paper as a page, at its real size and scale
pnpm opencalque svg plan.opencalque --out plan.svg
pnpm opencalque dxf plan.opencalque --out plan.dxf
pnpm opencalque import plan.opencalque ground.dxf first.dxf # each DXF becomes a page, with its pictures
pnpm opencalque validate plan.opencalque # exits 1, listing them, if opening it needs repairs
pnpm opencalque check plan.opencalque # what is wrong with it, as JSON; exits 1 if anything is
pnpm opencalque quantities plan.opencalque # rooms and their areas, walls, doors and objects, as JSON
pnpm opencalque png plan.opencalque --size 2000 --out plan.png # a page as a picture
pnpm opencalque schema --out schema # JSON Schemas of documents and operations
pnpm opencalque guide # how drawings are stored and edited, written for an AI agent
pnpm opencalque guide --type wall # the JSON Schema of one type of node
A wall is one operation:
{ "op": "add_node", "node": { "type": "wall", "parent": "page_1", "a": { "x": 0, "y": 0 }, "b": { "x": 6000, "y": 0 }, "thickness": 200 } }
A batch is all-or-nothing and every result is validated, so a script or a model cannot leave a drawing broken. Details are under Operations.
AI agents
OpenCalque serves drawings to an agent over MCP, with the tools the assistant uses: edit with operations, read, measure, check what came out wrong, and look at a picture of the result. A model with no tools can read opencalque.com/llms.txt, which leads to a guide to the format with a complete example drawing.
The drawing open in the desktop app needs only the app. Turn on Let agents on this computer work on the open drawing under Preferences › AI, which also gives the command to run once, with the real path of your app. With Claude Code it looks like this:
claude mcp add opencalque-live -- "C:\Users\you\AppData\Local\Programs\OpenCalque\OpenCalque.exe" --mcp
For any other MCP client, the command is the app and its one argument is --mcp. The app does not need to be open when you add it, only when the agent works.
Drawings on disk need only Node 22 or later, through the package on npm:
claude mcp add opencalque -- npx -y opencalque mcp
For any other MCP client (Claude Desktop, Cursor, VS Code, Gemini CLI…), the command is npx and its arguments -y opencalque mcp. From a checkout, the same server is pnpm --silent --dir /path/to/opencalque opencalque mcp: keep --silent, as anything else on its output would break the protocol. opencalque mcp --live also reaches the open drawing. Give the agent absolute paths. It reads read_guide first, and asks for the schema of each type of node it uses.
|
On a file |
On the drawing open in the app |
| Turn it on |
Nothing to do |
Preferences › AI › Let agents on this computer work on the open drawing (desktop app, off by default) |
| An edit |
Is written to the file at once |
Appears on the canvas, and Ctrl+Z undoes it |
| Undo |
None: keep the drawing in version control, or a copy |
Each edit is one step |
| Selection |
None |
The agent is told what is selected |
Do not work on a file with an agent while it is open in the app: the last to save wins. Use --live for that.
While it is on, the desktop app listens on this computer only, on a port of its choosing, and answers only those who show the token it writes in .opencalque/bridge.json in your home folder. Web pages are turned away. Any program you run can read that file, so turn it off when you are not using it.
Practical workflows
- Trace an existing plan. Drop a scan or a PDF, click two points you know the distance between, and draw over it.
- Describe it. Ask the assistant for "a 5 × 4 m room with a door on the bottom wall", paste a sketch, and undo the whole request with one
Ctrl+Z.
- Generate it. Produce a plan from a script or an agent with operations, then open it to adjust by hand. The example apartment is made this way. An agent can check and measure what it drew.
- Furnish and annotate. Pick symbols from the library, name the rooms, add a floor pattern, dimension the walls.
- Frame it and print it. Lay an A3 at 1:50 around the plan, fill in the title block, and export a PDF on which one metre measures 20 mm.