[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110113":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":27,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},110113,"constructcraft","francisreboucas\u002Fconstructcraft","francisreboucas","ConstructCraft — open source BIM authoring (Rust, egui, wgpu)","https:\u002F\u002Ffrancisreboucas.github.io\u002Fconstructcraft",null,"Rust",288,53,13,12,0,7,38,103,36,88.15,"GNU General Public License v3.0",false,"main",true,[],"2026-11-23 19:40:08","2026-11-23 10:13:38","# ConstructCraft\n\n[![CI](https:\u002F\u002Fgithub.com\u002Ffrancisreboucas\u002Fconstructcraft\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg?branch=main)](https:\u002F\u002Fgithub.com\u002Ffrancisreboucas\u002Fconstructcraft\u002Factions\u002Fworkflows\u002Fci.yml)\n[![License: GPL-3.0-or-later](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-GPL--3.0--or--later-blue.svg)](LICENSE)\n[![Rust 2024](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Frust-2024_edition-orange.svg?logo=rust)](https:\u002F\u002Fwww.rust-lang.org\u002F)\n[![IFC4](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FIFC-IFC4_export_%C2%B7_IFC2X3%2FIFC4_import-0a7bbb.svg)](https:\u002F\u002Ftechnical.buildingsmart.org\u002Fstandards\u002Fifc\u002F)\n[![Platforms](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatforms-Windows_%C2%B7_macOS_%C2%B7_Linux-lightgrey.svg)](#running)\n[![DCO](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDCO-signed--off-brightgreen.svg)](CONTRIBUTING.md)\n\nFree and open source **Building Information Modeling (BIM)** software, written in Rust and independent of any commercial vendor.\n\n[Português (Brasil)](README.pt-BR.md) · [Contributing](CONTRIBUTING.md) · [Code of Conduct](CODE_OF_CONDUCT.md) · [Security](SECURITY.md)\n\nA single parametric model is the source of truth. Floor plans, ceiling plans, sections, elevations, 3D views, legends, schedules and sheets are *queries* over that model and update automatically after every change.\n\n## Familiar by design\n\nThe menus, shortcuts, panels and tools your hands already know. Productive on day one, no retraining.\n\nConstructCraft follows the conventions shared by desktop CAD and BIM tools: the quick access toolbar at the top left, a ribbon of tabs, the properties palette and project browser docked at the side, and standard and two-letter keyboard shortcuts. These are general conventions; ConstructCraft does not copy any product's icons, artwork or wording (see [Independence](#independence)).\n\nEvery button's tooltip shows its shortcut, what it does, why it is unavailable when it is greyed out, and the engine command behind it. **Ctrl+Shift+P** opens a command palette that finds any command, view or engine command by name; **Ctrl+F1** collapses the ribbon to its tabs. See the [interface guide](docs\u002Finterface.md).\n\n## The name\n\nThe project started as **ConstructCAD** and is now **ConstructCraft**. \"CAD\" made some people expect a general drawing or 3D modeling program, a tool for drawing lines and shaping solids, rather than BIM software, where walls, floors, doors and rooms are building elements with their own data, and plans, sections and schedules come from one model. The new name says what the project is about: building a construction model with care.\n\n*Craft* stands for that care, and for the wave of software that calls itself craft: tools made with attention to detail, that respect the people who use them and the work they make with them. ConstructCraft keeps its motto, **familiar by design**: the new name changes nothing in how it works or where things are.\n\nOnly the name changed. The `ccad` command line, the `.ccad`, `.ccomp`, `.ccmacro` and `.ccgraph` files, the Lua `ccad` table, the MCP server and the `ConstructCAD_*` IFC property sets keep their names, so projects, scripts and exported models from before keep working (see the [changelog](CHANGELOG.md)).\n\n## Screenshots\n\n![Floor plan and 3D view of the showcase house: an L-shaped plan with an arc wall under a hip roof](docs\u002Fscreenshots\u002Fen\u002Fhero.png)\n\nThe showcase house, built by [`examples\u002Fshowcase.ccmacro`](examples\u002Fshowcase.ccmacro) with engine commands only and saved as [`examples\u002Fshowcase.ccad`](examples\u002Fshowcase.ccad); the images are captured from the app by [`scripts\u002Fscreenshots.ps1`](scripts\u002Fscreenshots.ps1).\n\n| | |\n|---|---|\n| [![3D view of the hip roof over the arc wall](docs\u002Fscreenshots\u002Fen\u002Froof-3d.png)](docs\u002Fscreenshots\u002Fen\u002Froof-3d.png) | [![Plumbing plan](docs\u002Fscreenshots\u002Fen\u002Fplumbing.png)](docs\u002Fscreenshots\u002Fen\u002Fplumbing.png) |\n| Hip roof computed by the straight skeleton over the arc wall | Plumbing plan: cold water and drains over the faded architecture, with sizes and slopes |\n| [![Electrical plan and panel diagram](docs\u002Fscreenshots\u002Fen\u002Felectrical.png)](docs\u002Fscreenshots\u002Fen\u002Felectrical.png) | [![Structural plan and reinforcement view](docs\u002Fscreenshots\u002Fen\u002Fstructure.png)](docs\u002Fscreenshots\u002Fen\u002Fstructure.png) |\n| Electrical plan with circuits and conduits, beside the board's single-line diagram and load schedule | Structural plan with tagged columns, beams and footings, and the reinforcement in 3D |\n| [![Renovation plan and filtered plan](docs\u002Fscreenshots\u002Fen\u002Fgraphics.png)](docs\u002Fscreenshots\u002Fen\u002Fgraphics.png) | [![Section](docs\u002Fscreenshots\u002Fen\u002Fsection.png)](docs\u002Fscreenshots\u002Fen\u002Fsection.png) |\n| Construction phases (existing, demolished, new) and view filters coloring walls by thickness | Section with cut hatching, levels and the roof |\n| [![Sheet](docs\u002Fscreenshots\u002Fen\u002Fsheet.png)](docs\u002Fscreenshots\u002Fen\u002Fsheet.png) | [![Room schedule](docs\u002Fscreenshots\u002Fen\u002Fschedule.png)](docs\u002Fscreenshots\u002Fen\u002Fschedule.png) |\n| A3 sheet with the plan, a section and the 3D view | Room schedule with totals |\n\n## Installing\n\nEach [release](https:\u002F\u002Fgithub.com\u002Ffrancisreboucas\u002Fconstructcraft\u002Freleases) has installers, plain archives and a `SHA256SUMS.txt` to check them against:\n\n| System | Installer | Archive |\n|---|---|---|\n| Windows (x64) | `constructcraft-vX.Y.Z-x86_64.msi`: installs under Program Files with a Start menu shortcut, opens `.ccad` files, and optionally adds `ccad` to the PATH. Newer versions upgrade it in place. | `…-x86_64-pc-windows-msvc.zip` |\n| Linux (x86_64, arm64) | `constructcraft_X.Y.Z_amd64.deb` or `…_arm64.deb` (Debian, Ubuntu: `sudo apt install .\u002Fconstructcraft_X.Y.Z_amd64.deb`) or `constructcraft-vX.Y.Z-x86_64.AppImage` or `…-aarch64.AppImage` (`chmod +x` it and run it). Both register the desktop entry and icon; the `.deb` also the `.ccad` file type and `ccad` in `\u002Fusr\u002Fbin`. | `…-x86_64-unknown-linux-gnu.tar.gz`, `…-aarch64-unknown-linux-gnu.tar.gz` |\n| macOS | `constructcraft-vX.Y.Z-aarch64-apple-darwin.dmg` (Apple silicon) or `…-x86_64-apple-darwin.dmg` (Intel): drag *ConstructCraft* to *Applications*. | `…-apple-darwin.tar.gz` (also has `ccad`) |\n\nThe builds are not code-signed yet. On Windows, SmartScreen may warn about an unknown publisher: choose *More info → Run anyway*. On macOS, Gatekeeper blocks the first launch: right-click (Control-click) the app and choose *Open*, or, on macOS 15 and later, open it once and then click *Open Anyway* in *System Settings → Privacy & Security*. The Linux builds need glibc 2.35 or later (Ubuntu 22.04, Debian 12 and newer) and a Vulkan or OpenGL driver.\n\n## Running\n\nRequires a recent stable Rust toolchain (edition 2024).\n\n```sh\ncargo run --release -p cc_app                                    # new project\ncargo run --release -p cc_app -- examples\u002Fcasa_simples.ccad      # open a project\ncargo run --release -p cc_app -- examples\u002Fcasa_simples.ccad --view \"Elevação: Sul\"\ncargo run --release -p cc_app -- --lang en                       # English interface\ncargo run -p cc_core --example casa_simples                      # regenerate the example\n```\n\nThe bundled example project was authored in Portuguese, so its view names are in Portuguese.\n\n### Update notice\n\nAt startup (at most once a day) the app asks the GitHub API for the latest release and, if it is newer, shows a notice with a link to its page; it never downloads anything. Turn it off in *File → About* or with `CONSTRUCTCAD_NO_UPDATE_CHECK=1`; see [the interface guide](docs\u002Finterface.md#update-notice) for what is contacted. `ccad --version` prints the version.\n\n## Languages\n\nThe interface is available in **English**, **Portuguese (Brazil)**, **Spanish**, **French**, **German**, **Italian**, **Lao**, **Polish**, **Ukrainian**, **Traditional Chinese**, **Simplified Chinese** and **Japanese**, switchable under *File → Language*. The choice is saved between sessions. On first run the system language is used, and `--lang en|pt-BR|es|fr|de|it|lo|pl|uk-UA|zh-TW|zh-CN|ja` forces a language.\n\nNew projects get level, material, type and view names in the active language. Existing projects keep their names, since they are part of the data. The decimal separator follows the language (comma or point).\n\nTranslations live in `assets\u002Fi18n\u002F*.ftl`. A test ensures every language has the same keys and placeholders. To add a language, create the `.ftl` file and register it in `Language` (`crates\u002Fcc_app\u002Fsrc\u002Fi18n.rs`).\n\n## Features (MVP)\n\n- **Project browser**: Floor Plans, Ceiling Plans, 3D Views, Elevations (N\u002FS\u002FE\u002FW), Sections, Legends, Schedules and Sheets. The context menu opens, renames, duplicates, deletes and places views on the active sheet.\n- **Plan modeling**:\n  - Chained walls with automatic L (mitered) and T joins.\n  - Wall-hosted doors and windows, with openings cut automatically.\n  - Floors, ceilings and roofs (flat or single-slope, with overhang) by sketch or \"From walls\".\n- **Structure and circulation**: columns (rectangular or round, top attached to a level), beams (their ends stop at the faces of structural columns and meet other beams at mitered corners and butt joints; center or face justification), columns at grid intersections and beams along grids or between columns in one step, column and beam schedules with section, cut length, volume and material, steel and hollow sections (I, U, L, tubes), sloped beams, foundations (pad and strip footings, rafts; `IfcFooting`), slabs joined to their supports, an analytical model (3D view and JSON export), reinforcement with a steel schedule (`IfcReinforcingBar`), bracing and trusses, structural plans with section tags, stairs (straight, with a landing, L-shaped, U-shaped in two or three flights, spiral; risers from the type's maximum riser or set per stair) and railings; *Structure* tab; exported as `IfcColumn`, `IfcBeam`, `IfcStair`, `IfcRailing`.\n- **Building services (MEP)**: pipes and conduits (level, sloped or vertical runs, chained by their tools) forming networks with derived fittings (elbows, tees, crosses, couplings, reducers) and automatic connection of fixtures and devices, sizing of drains (fixture units), water pipes (flow and speed) and circuits (breaker, conductor, voltage drop), panel diagrams (single-line diagram and load schedule, on sheets), plumbing systems and electrical circuits with codes, colors, boards and voltages, plumbing fixtures with fixture units and electrical devices (outlets, switches, lights, boards) at their usual mounting heights, plumbing and electrical plans with diameter, slope and circuit tags and the usual device symbols, pipe and conduit schedules and a circuit load schedule; *MEP* tab; exported as `IfcPipeSegment`, `IfcCableCarrierSegment`, `IfcOutlet`, `IfcSwitchingDevice`, `IfcElectricDistributionBoard` and `IfcDistributionSystem`\u002F`IfcDistributionCircuit`.\n- **Roofs**: flat, shed, gable and hip (lowest of the planes rising from each eave), with ridges and hips in plan; pitched roofs export as faceted B-reps.\n- **Rooms**: click inside room-bounding walls to place a room; its boundary, area and perimeter follow the walls. Room tags in plans, room schedule and `IfcSpace` export.\n- **Grids and annotation**: grid lines with bubbles in every plan, named in series as they are placed (1, 2, 3… and A, B, C… across them), with ends that snap into line with the other grids' bubbles and an *Align Grid Ends* command; aligned, linear, ordinate (running totals from an origin), angular, radial and diameter dimensions in any 2D view (*Annotate* tab); single-line and multiline text notes (word-wrapped to a width, rotatable, edited with a double click) with leaders of one or two segments ending in an arrow, open arrow, triangle, dot, circle, square or tick; door and window marks tagged automatically.\n- **Parametric components**: furniture, fixtures and casework made of boxes, cylinders, and profiles of lines and arcs drawn on the plan, front or side plane, extruded or revolved, with void pieces cut out of the others; every coordinate and size is an expression over named parameters (type or instance). A component editor with live checking and plan, front and 3D previews, a starter library (table, chair, bed, sofa, toilet, washbasin, wardrobe), the *Component* tool (CM), schedules and legends, `.ccomp` files to share them, and IFC export\u002Fimport as `IfcFurniture`, `IfcSanitaryTerminal`, `IfcLightFixture` or `IfcBuildingElementProxy`.\n- **Materials**: browser with identity, graphics (shading, transparency, surface and cut patterns), render appearance and physical properties; cut patterns show in plans and sections, transparency in 3D.\n- **Project units**: millimeters, centimeters or meters, or imperial units — decimal feet or inches, feet and fractional inches (`12'-6 1\u002F2\"`) or fractional inches, to 1\u002F64\" — (and area, volume, angle, slope and currency formats, including square and cubic feet, cubic yards and US gallons) with decimals, symbols and digit grouping.\n- **Modify tools**: move, copy, rotate, mirror, array, trim\u002Fextend, split, offset, align, wall join control and pinning; cut, copy and paste, and match type properties.\n- **Navigation and drawing aids**: 3D navigation cube, editable temporary dimensions and angles (type a length, Tab for the angle), alignment guides, Space to rotate or flip.\n- **Snapping**: endpoints, midpoints, on wall, 15° angles, Shift for orthogonal, typed length + Enter.\n- **Editing**: click or box selection (to the right a window takes what lies inside, to the left a crossing also takes what it cuts), drag an element by its lines (or a selected one anywhere) to move, Ctrl+drag to copy, delete. Undo and redo cover every edit.\n- **Properties**: instance and view parameters in collapsible sections; walls with base and top constraints (unconnected height or up to a level), location line, room bounding and structural flags.\n- **Types**: Type Properties dialog with duplicate and rename, layer editor with layer functions (core, finishes), wall function and identity data (type mark, manufacturer, model, classification, fire rating, cost…).\n- **3D view** (wgpu, MSAA): orbit, pan, zoom, zoom to fit, click selection and window or crossing selection (Shift+drag).\n- **Elevations and sections**: hidden line removal, cut hatching and annotated levels.\n- **Schedules** for every model category and rooms: choose and order the fields (instance, type and computed values such as length, area and volume), sort, filter, show totals and export to CSV.\n- **Sheets** A0–A4: title block with project data and draggable, scaled viewports; export to vector PDF and SVG (*File → Export PDF\u002FSVG…*), identical to the screen.\n- **View graphics**: per-view visibility and overrides of categories and elements (projection and cut lines, surface and cut fills, halftone, transparency), rule-based view filters, view templates that views copy or follow, and temporary hide\u002Fisolate (*View → Graphics*, VG); they show on screen, on sheets and in PDF\u002FSVG export.\n- **Construction phases** (renovation): elements are built and demolished in ordered phases; each view shows a phase through a phase filter (existing, demolished, new and temporary work by category, overridden or hidden). *Manage → Phases* edits phases, filters and their graphics; *Modify → Demolish* (DE) demolishes elements in the view's phase.\n- **Manage**: project information, levels (each new level creates its plans) and materials.\n- **`.ccad` files**: versioned, human-readable RON; saving is atomic.\n- **IFC4 export** (*File → Export IFC…*): storeys, walls with openings, doors, windows, floors, ceilings, roofs, structure and components as swept solids (imported objects as polygonal face sets in their original class), with types, material layers, colors and base quantities. Written by ConstructCraft's own STEP writer, with no third-party IFC library.\n- **SketchUp import** (*Insert → Import SketchUp…*, SketchUp 3 to the current format): components and groups come in as component elements with their geometry as fixed meshes, one piece per material, copies of a component sharing one type; *Load component* also takes a `.skp` file as one component to place. Read by ConstructCraft's own `cc_skp` crate.\n- **IFC import** (*Insert → Import IFC…*, IFC2X3 and IFC4) with no class left behind: storeys become levels and grids grid lines; walls, doors, windows, slabs, ceilings, roofs, spaces, columns and beams become native elements with matching or new types, materials and colors whenever a native element can hold their geometry exactly. Every other physical object — stairs, railings, members, plates, curtain walls, MEP segments and fittings, terrain, classes from other schemas — comes in as a generic component that keeps its IFC class, predefined type, property and quantity sets (its own and its type's, converted to SI units) and exact geometry, and is exported back as the same class; the openings that void it are cut from its geometry. Geometry is read by ConstructCraft's own engine: extrusions (with voids), revolutions, swept disks and profiles, CSG primitives and booleans (union, difference, intersection), half-space clipping, faceted and advanced B-reps, face sets, mapped items, every parametric profile and curves with arcs, conics and B-splines.\n- **DWG and DXF underlays** (*Insert → Import CAD…*, or drop the file on the window): a drawing placed in a plan, elevation, section or legend as grey background linework to trace over, with its layers, blocks, arcs and texts; snapping to its endpoints, midpoints and centers; units, scale, rotation, colors and layer visibility in its properties. DXF is read by ConstructCraft's own reader; DWG through the open-source acadrust library.\n- **Pictures and SVG drawings** (*Insert → Import Image…*, or drop the file on the window): a PNG, JPEG, GIF, BMP or WebP picture (a scanned plan, a site photo) or an SVG drawing placed in a plan, elevation, section or legend under the model, sized by the file's resolution and scaled, turned and moved like a CAD underlay; it prints on sheets and in PDF, SVG and PNG exports, and the project keeps the file's bytes.\n- **DXF export** (*File → Export DXF…* or *Insert → Export DXF…*, or `view_export` to a `.dxf`): any view at full size in millimeters, or a sheet in paper millimeters, each category on its own layer, written by ConstructCraft's own DXF R12 writer.\n\n## Component library\n\n[ConstructCraft Components](https:\u002F\u002Fgithub.com\u002Ffrancisreboucas\u002Fconstructcraft-components) is a free library of ready-made `.ccomp` components: furniture, casework, plumbing fixtures, electrical devices and lighting, each with several sizes as types. Plumbing fixtures carry their drainage fixture units and supply weights, and electrical devices their kind and load, so pipes and circuits are sized with them. Load a file with `component_load` (or `ccad -p house.ccad --save run component_load path=…`) and place it with the *Component* tool (CM). Every file is built and checked by `ccad` itself; see the [catalog](https:\u002F\u002Fgithub.com\u002Ffrancisreboucas\u002Fconstructcraft-components\u002Fblob\u002Fmain\u002FCATALOG.md) and how to [contribute a component](https:\u002F\u002Fgithub.com\u002Ffrancisreboucas\u002Fconstructcraft-components\u002Fblob\u002Fmain\u002FCONTRIBUTING.md).\n\n## Coming from Revit?\n\nConstructCraft does not read `.rvt` files. To bring a Revit model in, export it to IFC from Revit (*File → Export → IFC*, IFC4 or IFC2x3) and open the file with *Insert → Import IFC…*. Storeys, walls, doors, windows, slabs, ceilings, roofs, spaces, columns and beams come across as native, editable elements with their types and materials; everything else comes across as generic objects with their IFC class and geometry, and the import message reports how many.\n\nIf you do not have Revit, independent third-party tools can convert `.rvt` files to IFC; check their coverage and license terms yourself. ConstructCraft neither bundles nor endorses them.\n\n## Shortcuts\n\n| Key | Action | Key | Action |\n|---|---|---|---|\n| WA | Wall | SB | Floor |\n| DR | Door | FO | Ceiling |\n| WN | Window | TE | Roof |\n| CT | Section | MD | Select |\n| ZE | Zoom to fit | Esc | Cancel \u002F exit tool |\n| Ctrl+Z \u002F Ctrl+Y | Undo \u002F Redo | Delete | Delete |\n| Ctrl+S \u002F Ctrl+Shift+S | Save \u002F Save as | Space | Rotate \u002F flip (selection or placement) |\n| Ctrl+N \u002F Ctrl+O | New \u002F Open | Ctrl+W | Close project |\n| RM | Room | GR | Grid |\n| DI | Aligned dimension | CL | Column |\n| BM | Beam | ST | Stair |\n| RA | Railing | CM | Component |\n| MV \u002F CO | Move \u002F Copy | RO | Rotate |\n| MM \u002F DM | Mirror (pick \u002F draw axis) | AR | Array |\n| TR \u002F TX | Trim\u002Fextend to corner \u002F to reference | SL | Split |\n| OF | Offset | AL | Align |\n| PN \u002F UP | Pin \u002F Unpin | MA | Match type properties |\n| Ctrl+X \u002F Ctrl+C | Cut \u002F Copy | Ctrl+V | Paste |\n| TT | Text | Ctrl+Shift+P | Command palette |\n| Ctrl+F1 | Collapse \u002F expand the ribbon | SA | Select all instances in the view |\n| GP \u002F UG | Group \u002F Ungroup | ME | Measure between two references |\n| VG | Visibility\u002FGraphics | EH | Hide in view |\n| HH \u002F HI | Temporarily hide \u002F isolate elements | HC \u002F IC | Temporarily hide \u002F isolate categories |\n| HR | Reset temporary hide\u002Fisolate | DE | Demolish (in the view's phase) |\n\n2D navigation: the mouse wheel zooms and the middle button pans. 3D navigation: left drag orbits, Shift+left drag selects with a window or crossing box (swapped by a preference), right or middle drag pans and the wheel zooms.\n\n## Automation (command line and MCP)\n\nEverything ConstructCraft does is meant to be reachable without the interface. The engine (`cc_engine`) exposes the operations as named commands with JSON parameters and a JSON Schema each; the `ccad` tool runs them from the command line, from scripts, or for AI agents as an [MCP](https:\u002F\u002Fmodelcontextprotocol.io\u002F) server. The same catalog serves all three. The [automation guide](docs\u002Fautomation.md) explains it in full and the [command reference](docs\u002Fcommands.md) lists every command with its parameters. Lua 5.4 scripts call the same commands with variables and loops, and plugins (a folder with a `plugin.toml` and Lua code) add their own commands to the catalog, each one undo step; see [Lua scripts](docs\u002Fautomation.md#lua-scripts) and [Plugins](docs\u002Fautomation.md#plugins).\n\n```sh\nccad commands                                   # list the commands\nccad schema wall_create                         # parameters of one command\nccad -p house.ccad --save run wall_create start=[0,0] end=[5,0] height=2.8\nccad -p house.ccad run elements_list category=door\nccad -p model.ifc --save-as model.ccad run project_info     # import an IFC file\nccad -p house.ccad script build.jsonl           # one {\"command\": ..., \"args\": {...}} per line\n```\n\nLengths are in meters, angles in degrees, points `[x, y]`; levels, types, views and materials can be named by id or by name. `element_get`, `type_get` and `view_get` show the `params` that `element_set`, `type_set` and `view_set` change. Each edit is one undo step, and an edit that would leave the model invalid is refused.\n\nTo use it from an MCP client (Claude Desktop, Claude Code, IDEs), register `ccad mcp`:\n\n```json\n{ \"mcpServers\": { \"constructcad\": { \"command\": \"ccad\", \"args\": [\"mcp\"] } } }\n```\n\nor, in Claude Code, `claude mcp add constructcad -- ccad mcp`. One project is open per server session (`project_open`, `project_new`, `ifc_import`, `project_save`).\n\nThe desktop app runs on the same commands: its drawing tools, property panel and dialogs change the model through the engine. *Manage → Macros* records what you do as a macro (a script of commands, saved as `.ccmacro`) and plays macros back; `ccad script` runs the same files.\n\n## Architecture\n\n```\ncrates\u002F\n  cc_core    BIM model (elements, types, levels, views), undo\u002Fredo transactions, .ccad persistence\n  cc_geom    derived geometry: walls with joins and openings, slabs, roofs, cuts, picking\n  cc_views   2D drawing generation (plan, ceiling, elevation, section, axonometric, legend), schedules, sheet composition and PDF\u002FSVG export\n  cc_render  offscreen wgpu 3D renderer\n  cc_ifc     IFC4 export and IFC2X3\u002FIFC4 import: STEP writer and parser, model mapping\n  cc_skp     SketchUp (.skp) reader and writer (MIT-licensed, see its LICENSE)\n  cc_engine  every operation as a named command with a JSON Schema, on a session without GUI\n  cc_plugins Lua 5.4 scripts and plugins (sandboxed) over the engine's commands\n  cc_cli     `ccad`: command line, scripts and MCP server over the engine\n  cc_app     eframe\u002Fegui application: ribbon, browser, properties, tools, sheets\nassets\u002Fi18n  translations (pt-BR, en); interface text is never hard-coded\n```\n\nEvery change goes through `Document::edit`, which records a reversible `Transaction`. Continuous edits (dragging values) are merged into a single undo step.\n\n## Development\n\n```sh\ncargo test --workspace\ncargo clippy --workspace --all-targets -- -D warnings\ncargo fmt --all -- --check\nCC_UI_SNAPSHOTS=1 cargo test -p cc_app snapshots    # interface screenshots (see docs\u002Finterface.md)\n```\n\nIFC exports are validated in CI with [IfcOpenShell](https:\u002F\u002Fifcopenshell.org\u002F), an independent open-source reference used only for testing:\n\n```sh\npip install -r scripts\u002Frequirements-ifc.txt\ncargo run -p cc_ifc --example export_ifc -- examples\u002Fcasa_simples.ccad casa_simples.ifc\npython scripts\u002Fvalidate_ifc.py casa_simples.ifc\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for the workflow and project rules.\n\n## Roadmap\n\n- Component arrays, nested components and hosted components (on walls and ceilings).\n- Native (editable) import of stairs and railings.\n- Run a macro as a single undo step; parameters in macros.\n- Material textures.\n\n## Independence\n\nConstructCraft is independent. Behaviour is designed from public documentation, general CAD conventions and user feedback. Reference tests use analytic values and open-source tools. ConstructCraft is not affiliated with, sponsored by or endorsed by Autodesk. Autodesk and Revit are trademarks of Autodesk, Inc.\n\n## License\n\nCopyright © Francis Rebouças \u003Cfrancisreboucas@gmail.com>.\n\nConstructCraft is licensed under the [GNU General Public License v3.0 or later](LICENSE) (GPL-3.0-or-later).\n\nThe application icon is by [Magnific – Flaticon](https:\u002F\u002Fwww.flaticon.com\u002F) (see `assets\u002Ficons\u002FFLATICON.txt`). The bundled [Inter](https:\u002F\u002Frsms.me\u002Finter\u002F) typeface is © The Inter Project Authors and licensed under the [SIL Open Font License 1.1](assets\u002Ffonts\u002FOFL-Inter.txt). The `cc_skp` crate is derived from OpenSKP, © 2024-2026 Ahsan Mehmood, and keeps its [MIT License](crates\u002Fcc_skp\u002FLICENSE).\n","ConstructCraft 是一款开源的建筑信息模型（BIM）建模软件，专注于构建单一参数化数据源驱动的全生命周期建筑信息表达。核心功能包括基于IFC标准（支持IFC2x3\u002FIFC4导入与IFC4导出）的构件级建模、自动同步生成平面图\u002F立面图\u002F剖面图\u002F明细表\u002F图纸等视图，以及遵循行业惯例的桌面级UI设计（含命令面板、属性面板、项目浏览器等）。采用Rust语言开发，基于egui与wgpu实现跨平台（Windows\u002FmacOS\u002FLinux）高性能渲染。适用于建筑师、BIM工程师在中小型项目中进行轻量级、开源可控的BIM创作与IFC协作。",2,"2026-11-24 04:38:07","CREATED_QUERY"]