A free, open-source CAD-BIM editor that your AI can drive.
Download · Install · ERP link · Quickstart · Gallery · Editor · AI and MCP · MEP · Export · Lua · Browser · Build
v1.4.1 · Windows 10/11 x64 · Linux x64 · macOS (beta) · 8 GB RAM · works offline · no account
| Platform | Get it | Notes |
|---|---|---|
| Windows 10/11 x64 | Download the zip | Full editor. Unzip and run ddc-app.exe. |
| Browser | Open the online demo | Full editor in a browser tab with sample projects, nothing to install. Register with your email, then the editor opens right away. |
| Linux x64 | Download the tar.gz (71 MB) | Editor ddc-app and ddc CLI. Ubuntu 22.04+, Debian 12+ (glibc 2.35), X11 or Wayland. |
| macOS, Apple silicon (beta) | Download the tar.gz (…-macos-arm64-beta) |
Editor ddc-app and ddc CLI. Built by CI, not tested on a Mac, not signed. If macOS blocks it, run xattr -dr com.apple.quarantine <folder>. |
| macOS, Intel (beta) | Download the tar.gz (…-macos-x64-beta) |
Same as above. |
All releases · Website · User guide
If OpenConstructionDesign is useful to you, a ⭐ on GitHub helps a lot. It is the easiest way to help the project grow and reach more people who build.
OpenConstructionDesign is a CAD-BIM editor written in Rust, with its own geometry kernel and file readers. You describe a building in the built-in chat, over MCP or as a JSON brief; the editor produces real walls, rooms, doors, stairs and building services as a highlighted preview, and nothing changes in your model until you press Apply. Bring a cloud model with your own key, or run a local model on your own computer. The model and its full change history live in one SQLite file on your machine, and IFC goes in and out.
Note
The latest release is v1.4.1. The project file format, the APIs and the interface can still change between releases. Keep the original of every model you open and keep an IFC export for long-term storage. See Current limits.
- Download the Windows zip (
…-windows-x64.zip) (62 MB). - Unzip anywhere and run
ddc-app.exe. Nothing is installed in the system and no account is needed. The build is not code-signed yet, so Windows SmartScreen may warn once: choose More info → Run anyway, and check the SHA-256 on the release page if you want to be sure. If the window does not open or rendering is broken, startddc-app.exe --safe-graphics. - Make something. Open Ask AI in the ribbon and describe a change, open an IFC file, or
generate a whole building from the sample brief
brief.de-residential.json(see Quickstart).
Build from source
Needs Git, the MSVC build tools and Rust 1.89+ via rustup; details in Build from source and docs/BUILDING.md.
git clone https://github.com/datadrivenconstruction/OpenConstructionDesign.git
cd OpenConstructionDesign
cargo build --release -p ddc-app -p ddc-cli
cargo run --release -p ddc-appCLI quick start: a building from a brief
ddc gen and ddc publish are in the ddc of every release from v1.4.0. Older releases and a
plain cargo build do not have them; build with cargo build --release -p ddc-cli --features link.
ddc gen --brief crates/io/contract/examples/brief.de-residential.json --out housing.ddc
ddc info housing.ddc
ddc open housing.ddc --export ifc4 housing.ifc![]() |
Estimate of the 6-storey housing block, priced straight from the model. 7 positions · 6,730 elements · 7 levels · quantities from the model, rates from the DE_BERLIN cost database. Move a wall, add a floor or change a type in the editor, publish, and the quantities, the estimate, the 4D schedule and procurement in OpenConstructionERP update with it. |
OpenConstructionERP is the open construction ERP from the same team. The editor hands it every element with a stable key, its quantities and its level.
- Brief in, model out. An ERP project brief goes through
ddc gen --brief; you review the preview in the editor and press Apply. - One revision package.
ddc publishwriteselements.parquet, quantities, the diff to the last revision, sheets and IFC4; the ERP matches keys and updates the estimate, 4D schedule and procurement. - Files or a live session. Exchange packages as files (offline) or link a session through a
.ddclinkfile with the token in the OS key store. Code does the maths, not the AI. An ERP edition with the editor built in is in preparation.
OpenConstructionERP on GitHub · openconstructionerp.com · ERP link on the website · Details below
- Start
ddc-app.exe. - Open Ask AI in the ribbon and pick a model: a local one on your own computer (no key), or paste a key for a cloud provider. The key stays in the Windows credential store.
- Describe a change in plain words, for example "Add a 2-storey extension on the east side, 12 × 8 m, joined to the corridor on both levels."
- Review the highlighted preview in plan and 3D, untick items or change values, then press Apply. The whole plan is one undo step. Then keep editing by hand.
For a new building, write a short JSON brief (use, storeys, structure, flat mix) and let the
generator lay it out. The schema is crates/io/contract/schemas/brief.schema.json;
a full example is brief.de-residential.json.
ddc gen --brief brief.json --out housing.ddc
ddc info housing.ddc
ddc open housing.ddc --export ifc4 housing.ifcBrief excerpt: five-storey housing with a lift (from brief.de-residential.json)
{
"schema": "ddc-brief/1",
"name": "Wohnhaus Beispielstraße",
"norm_pack": "de",
"use": { "category": "residential_multi", "detail": "Mehrfamilienhaus, ein Treppenhaus" },
"massing": {
"floors_above": 5, "floors_below": 1, "floor_height_m": 3.0,
"footprint": { "width_m": 34.0, "depth_m": 12.0 }, "lift": true
},
"programme": {
"units": [
{ "name": "2-Zimmer", "count": 10, "area_m2": 52,
"rooms": [{ "kind": "living" }, { "kind": "bedroom" }, { "kind": "kitchen" }, { "kind": "bath" }, { "kind": "hall" }] },
{ "name": "3-Zimmer", "count": 10, "area_m2": 74,
"rooms": [{ "kind": "living" }, { "kind": "bedroom", "count": 2 }, { "kind": "kitchen" }, { "kind": "bath" },
{ "kind": "hall" }, { "kind": "storage" }] }
],
"spaces": [{ "kind": "technical", "name": "Technik", "floors": [-1], "area_m2": 40 }]
},
"structure": { "system": "masonry", "foundation": "raft" },
"envelope": { "roof": "flat" }
}Note
ddc gen and ddc publish belong to the ERP link. Releases from v1.4.0 include them; to add
them to a source build, use cargo build --release -p ddc-cli --features link.
Each model is regenerated from its source in one command: a brief for the housing block, a Lua script for the stadium and the tower. Times are wall-clock generation on one laptop with release 0.10; figures come from each run's own summary.
Known gap in the housing block: 30 kitchen taps are not yet connected to the water network.
The recipes live in crates/script/data/recipes (5 files). Each
one passes audit{strict = true} with its default parameters:
| Recipe | What it builds |
|---|---|
arches_and_vaults.lua |
Ribbed vault with glass panels and a row of free arches |
long_span_grid.lua |
Double-layer space frame on perimeter columns |
radial_array.lua |
Nodes on a circle joined to a hub, one component at every node |
surface_lattice.lua |
Diagrid over a dome with an oculus; swap in a vault, hypar, loft or wave |
tiered_frame.lua |
Storeys of columns and slabs with taper and twist |
Plan and 3D in one window. Whatever the AI proposes, you can open, edit and finish by hand.

The six-storey housing block in the editor. Select anything in 3D or on the plan; the Properties panel shows the real values and edits them in place.
Scripted shapes
![]() |
![]() |
![]() |
![]() |
Shapes made with Lua scripts, rendered with default parameters. More on the site.
Full feature list
Modelling
- Levels, grids, reference planes, walls (layered types, automatic joins), floors, ceilings, roofs, stairs, railings, ramps, curtain walls, openings, doors, windows, rooms and zones.
- Own geometry kernel: exact predicates, B-rep solids, CSG, sweeps, NURBS, sketch constraints.
- Parametric families: components with types and parameters defined inside the model.
- Every edit is a journaled step with undo, redo, per-change history with its author, and version comparison.
Documentation and drawings
- Plans, sections, elevations, 3D views, schedules, dimensions, tags, text, legends.
- Sheets with title blocks and views placed at scale; vector PDF and SVG export.
Structure
- Beams, columns, braces, structural walls and floors, footings, foundation slabs, reinforcement that follows its host; steel connections with plates and bolts.
Formats
- Import IFC2X3, IFC4, IFC4X1 to IFC4X3 and
.ifczip; export IFC2X3, IFC4 and IFC4.3. - Read
.dwgand.dxfwith independent decoders. The original file is never modified. - Export glTF, STEP, STL, OBJ, 3MF; issues as BCF 2.1/3.0.
.rvtthrough an optional, separately distributed bridge module that speaks the published bridge protocol; it is not part of this repository.- Clash detection, rule checks and model integrity checks.
Spreadsheets
- Round-trip element parameters through XLSX; an import is one undo step with a per-cell report.
- Query elements and open them as an editable table.
Automation
- JSON edit scripts with preview, and recording of actions into a script.
- Sandboxed Lua geometry scripts; the headless
ddcCLI (open,info,batch,run;genandpublishwith the ERP link).
The editor runs no AI service of its own and is not tied to a vendor. It speaks the two common protocols, chat completions and messages, plus MCP for external clients. You pay your provider directly, or nothing with a local model.
Important
Preview, then Apply. The AI plans on a scratch copy, runs the model checks on its result and shows it highlighted under a Preview, model unchanged banner, with the quantities it adds. Nothing reaches your model until you press Apply; an applied plan is one undo step.
Turn on MCP server in the editor. It listens on 127.0.0.1:47621 only and copies a client
config with a fresh token; revoke the token with one click.
| Tool | Purpose |
|---|---|
get_context |
Project, levels and the current selection |
query_elements |
Find walls, rooms, doors by any parameter |
create_elements |
Add elements into the preview |
run_checks |
Run the audit on the preview |
request_apply |
Ask the user to press Apply |
Client configuration
HTTP clients (for example .cursor/mcp.json):
{ "mcpServers": { "ddc-editor": {
"type": "http", "url": "http://127.0.0.1:47621/mcp",
"headers": { "Authorization": "Bearer <token>" } } } }Command-line clients: add a server named ddc-editor with the HTTP transport, the address
http://127.0.0.1:47621/mcp and the header Authorization: Bearer <token>.
Clients that need a stdio bridge:
{ "mcpServers": { "ddc-editor": {
"command": "npx",
"args": ["mcp-remote", "http://127.0.0.1:47621/mcp", "--header", "Authorization:${DDC_AUTH}"],
"env": { "DDC_AUTH": "Bearer <token>" } } } }More: docs/user/ai-assistant.md.
The generator lays out services together with the building: ducts sized for the air each room
needs, pipes with their fittings, cooling and power for a data centre. They export as real IFC
classes (IfcDuctSegment, IfcPipeSegment, IfcCableCarrierSegment), not as boxes. Each grid
steps from the architecture through a ghosted shell to the service systems.
![]() 3-storey school: ventilation, then water, drainage and heating. 276 service runs. |
![]() 4-storey clinic: cold and hot water, drainage and fixtures. 983 service runs. No ventilation yet. |
![]() 6-storey housing: supply and extract air, fixtures and appliances. 702 service runs. |
![]() Data centre: chilled water (×2) with the rack rows, then power (×2). 330 service runs. |
Process plant
Process plant, 90 m³/h, from one brief: 29 units, 285 pipe runs, 978 m of pipe, 245 supports. 46 of 69 nozzles are connected so far; the plant check lists every open line.
Note
Room-level electrical (boards, circuits, luminaires) is still being completed in the generator, and the clinic has no ventilation yet. Both appear in the generator's own report.
IFC read and write covers IFC2X3 to IFC4.3. The model is data first: every element carries a stable key, its parameters and quantities, so an estimating or ERP system can price it. The editor never invents a cost.
ddc gen --briefturns a project brief from the ERP into a model;ddc publishsends a model back as a revision package: element rows (elements.parquet), quantities, a diff against the parent revision, sheets, IFC and 3D geometry.- As files, this works offline and through any file share. A
.ddclinkfile opens a linked session straight from the ERP; the project token lives only in the OS key store.
The housing block above, exported to IFC4 and opened in OpenConstructionERP 18.8.2:
![]() Imported model: 6,730 elements on 7 levels, counted by category and storey. The ERP draws imported geometry as simplified boxes. |
![]() Quantities per element: Wall 105 on Level 1, 12 m long, 3 m high, 9.837 m³ net volume. |
![]() A dry run of 7 quantity rules matches 2,060 elements and shows the 7 bill positions it would create. |
![]() The estimate: seven positions with quantities from the model. Total EUR 3,560,405.95; unit rates are typed in as an example. |
The ERP edition with the editor built in is in preparation. Without the ERP the editor works on its own.
Some shapes are a rule. A recipe declares its parameters with param, calls a builder and
ends with an audit; change a number and the whole shape rebuilds. Scripts run sandboxed: no
files, network, clock or randomness.
-- Twisted diagrid tower: steel diagonals in staggered rows, ring beams on every floor, slabs round a concrete core.
local floors = param("floors", 24, {min = 4, max = 80})
local radius = param("radius", "16 m", {min = "8 m", max = "40 m"})
local twist = param("twist", "90 deg", {min = "-180 deg", max = "180 deg"})
local taper = param("taper", 0.8, {min = 0.5, max = 1.2})
tower{floors = floors, floor_h = "4 m", radius = radius, sides = 12, twist = twist,
taper = taper, system = "diagrid", module = 2, diagonal = "CHS 508x25",
beam = "I 500x200", name = "tower"}
audit{strict = true}Run it headless and override a parameter:
ddc run project.ddc crates/script/data/recipes/tiered_frame.lua --out tower.ddc --param floors=32The editor also runs in a browser tab. It is the same code as the desktop application, compiled to
WebAssembly (crates/web-editor, with the page entry and build tools in tools/web). The model,
checks, generators, IFC and the ERP revision package work as on the desktop; Lua scripts, OS file
dialogs, the update check, local AI keys, the MCP server and the external format converters stay
desktop only. AI requests go through the host page, so keys never reach the browser. On touch
devices and small screens it opens view only.
In OpenConstructionERP nothing has to be installed by hand. The ERP reads the release feed
erp-link/release/latest-web.json, downloads the zip from the
GitHub release, checks its size and SHA-256, verifies its minisign signature against the public key
shipped with the ERP (key id BF094D8BDEC11250) and unpacks it under its data folder
(design/web-editor/). A newer feed installs the newer bundle the same way and removes the old one.
On your own machine you need Rust with the wasm32-unknown-unknown target, clang and llvm-ar,
the wasm-bindgen CLI in the version from Cargo.lock, and Python 3:
rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli --version 0.2.130 --locked
bash tools/web/build_bundle.sh # bundle in dist/web-editor/
mkdir -p tools/web/pkg && cp -r dist/web-editor/* tools/web/pkg/
python3 -m http.server 8080 -d tools/web # open http://localhost:8080/Full guide, including how releases are built, signed and updated: docs/BROWSER.md.
| Crate | Role |
|---|---|
app |
The desktop editor (ddc-app) |
cli |
Headless CLI (ddc) |
ui |
Application shell on egui: tokens, icons, commands, ribbon, localisation |
render |
wgpu viewport renderer: scene chunks, instancing, camera, picking |
model |
Building model stored in SQLite with an edit journal |
ops |
Serialisable edit language shared by tools, imports, scripts and external clients |
geom |
Geometry kernel |
solver |
Geometric constraint solver for plan points |
gen |
Seed-deterministic building generators and family templates |
script |
Sandboxed Lua geometry scripts that emit one ops envelope |
ai |
AI assistant core: providers, wire protocols, conversation loop, tool catalogue |
io |
Import and export: IFC, DXF, XLSX, PDF, glTF; closed formats via an out-of-process bridge |
bridge-proto |
Neutral interchange frames for out-of-process import bridges |
link |
ERP link client: link file, token, context, lock, revisions |
calc |
Structural analysis job: analytical model and loads to solver input |
fem |
Linear static 3D frame finite elements |
Architecture: docs/ARCHITECTURE.md.
Windows 10/11 x64 is the primary platform. You need Git, the MSVC build tools ("Desktop development with C++"; a C compiler is needed for the bundled SQLite and Lua) and Rust via rustup (stable, MSVC target, 1.89 or newer; CI uses 1.95.0).
rustup component add rustfmt clippy
git clone https://github.com/datadrivenconstruction/OpenConstructionDesign.git
cd OpenConstructionDesign
cargo build --release -p ddc-app -p ddc-cli
cargo run --release -p ddc-app # the editor
cargo run --release -p ddc-cli -- --help # the CLI (binary name: ddc)cargo test -q -p ddc-model # one crate
cargo test -q --workspace # everything (slow)
cargo fmt --all --check
cargo clippy --workspace -- -D warningsDetails and other platforms: docs/BUILDING.md.
| Platform | Status |
|---|---|
| Windows 10/11, x64 | Supported; primary development platform |
| Linux | Editor and CLI in every release, built on Ubuntu 22.04; library crates tested in CI |
| macOS | Beta builds (Apple silicon and Intel) in every release, built by CI; not tested on a Mac |
| Browser (wasm32) | Online demo after a short registration; the browser build is not part of this repository yet |
- The
.dwgand.dxfdecoders are independent implementations covering common building elements and geometry, not every feature. Compare imports with the source. - The AI assistant can make mistakes; always read the preview and diff. Small local models handle only simple requests.
- The structural solver is a library and is not yet exposed in the editor.
- The project file format is not frozen; keep an IFC export for long-term storage.
- Very large models can be slow.
| Document | Contents |
|---|---|
| Getting started | First model, files, saving |
| AI assistant | Providers, preview, Apply |
| Video and frames | Stills, interface shots and build-up animation |
| Formats | Supported formats and IFC round trip |
| Families | Parametric families |
| User guide | Core workflows and shortcuts |
| Architecture | Crates, data flow, journal, AI contract |
| Building | Building and testing |
| Browser version | Browser build, ERP install and updates |
| Changelog | What shipped |
Contributions are welcome; read CONTRIBUTING.md. Every contributor signs the
Contributor License Agreement before the first merge and signs off each commit
(git commit -s). Follow the Code of Conduct. Report vulnerabilities
privately as described in SECURITY.md, not in public issues.
Estimates, schedules and procurement priced from your model · Courses on data-driven construction
Found this useful? A ⭐ at the top of the page is the best way to say thanks.
GNU Affero General Public License, version 3 only (AGPL-3.0-only). If you run a modified version as a network service, you must offer its source to that service's users. Third-party components keep their own licences; see THIRD_PARTY_LICENSES.txt and NOTICE. A commercial licence is available where the AGPL does not fit; see COMMERCIAL.md.






















