Back to Browse

Autocad MCP Server

Developer ToolsModerate6.8MCP RegistryLocal
Free

Server data from the Official MCP Registry

AI drafting for construction in AutoCAD: KT/KC/NT, MEP, TCVN calc, quantities, sheets, PDF.

About

AI drafting for construction in AutoCAD: KT/KC/NT, MEP, TCVN calc, quantities, sheets, PDF.

Security Report

6.8
Moderate6.8Moderate Risk

AutoCAD MCP is a Developer Tools/CAD drafting server that talks to a local AutoCAD add-in over 127.0.0.1 TCP, using only standard Node built-ins and pinned SDK dependencies. The visible code shows no data exfiltration, hardcoded secrets, or shell injection; execFile is used with fixed arguments for a process check. Permissions (network to localhost, file/drawing access, process listing) match the stated CAD drafting purpose, though the run_lisp and bridge-level command execution inside AutoCAD warrant user awareness; the truncated code limits full review. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity).

3 files analyzed · 4 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

What You'll Need

Set these up before or after installing:

TCP port of the ACAD MCP Bridge add-in in AutoCAD (type MCPPORT in AutoCAD to change it there too)Optional

Environment variable: AUTOCAD_MCP_PORT

Seconds to wait for AutoCAD to answer one commandOptional

Environment variable: AUTOCAD_MCP_TIMEOUT

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

AutoCAD MCP

English | Tiếng Việt

AI drafting for construction drawings in AutoCAD: architecture (KT), structure (KC) with a preliminary TCVN calculation, interior (NT), electrical and plumbing sets from one plan, quantities checked by AutoCAD itself, live Excel workbooks, sheets and PDF, in Vietnamese or English; it also reads, cleans and edits drawings made by others.

AutoCAD MCP: ask in plain language and the AI draws in your AutoCAD drawing

AutoCAD MCP lets Claude work directly in the drawing you have open in AutoCAD. Its main job is drafting: from a scanned or photographed plan, a sketch, a render or a 3D model, Claude draws a complete, layered 2D drawing (walls with clean junctions and material hatches, doors and windows cut into the walls, columns, grids with bubbles, stairs, rooms with measured areas, dimension chains, symbols, a sheet with a title block and a PDF). From the same plan it derives the elevations and sections, draws reinforced-concrete details (beams, columns, footings) with their bar schedule, the interior design set (furniture layout, floor finish and ceiling plans, interior elevations of each wall, joinery shop drawings and the finish schedule), and the electrical and plumbing sets (lighting and power plans with their circuits, single-line and riser diagrams, water supply and drainage plans, riser diagrams, the septic tank) with their calculations and quantities. It also reads drawings, takes off quantities by layer and block, and checks drawings for common problems.

It works like SketchUp MCP: a Claude Desktop extension (.mcpb) that runs on the Node.js built into Claude Desktop, plus a small add-in that runs inside AutoCAD (the ACAD MCP Bridge, a .NET add-in). No Python or Node.js install is needed.

Current version: 1.6.0 - download it from Releases. Also listed in the official MCP Registry as io.github.2ez4gcx/autocad-mcp.

Features

83 tools. Lengths are in drawing units (mm in a metric drawing), areas in m², angles in degrees counter-clockwise from +X.

GroupTools
Read & quantitiesping, drawing_info, list_layers, list_blocks, query_entities, selection_info, quantity_takeoff, check_drawing, measure_model, verify_quantities, list_views, standardize_layers, read_plan, revision_cloud, describe_drawing, describe_folder, compare_drawings, check_annotations, list_texts
Standardssetup_layers, setup_styles
Drawing & editingdraw_plan, draw_entities, define_block, transform_entities, stretch_entities, set_properties, replace_text, update_texts, convert_vietnamese_text, clean_drawing, delete_entities, select_entities, undo, purge_drawing
Elevations, sections & structuredraw_elevation, draw_section, draw_roof_plan, draw_door_schedule, draw_stair_detail, draw_finish_quantities, draw_structure_plan, draw_beam_schedule, draw_structure_notes, draw_structure_detail, rebar_schedule, structural_calc, draw_quantity_schedule
Interior designdraw_furniture_plan, draw_floor_finish_plan, draw_wall_finish_plan, draw_ceiling_plan, draw_interior_elevation, draw_joinery_detail, material_schedule, lighting_calc
Electrical & plumbingdraw_electrical_plan, draw_electrical_diagram, electrical_calc, draw_plumbing_plan, draw_plumbing_diagram, plumbing_calc, draw_mep_notes
Images & 3D sourcesview_image, attach_image, manage_images, import_drawing, screenshot, set_view
Sheets & filescreate_layout, update_title_blocks, retitle_view, draw_cover_sheet, draw_drawing_list, export_pdf, save_drawing, open_drawing, close_drawing, new_drawing
Scriptingrun_lisp
Setupinstall_autocad_bridge

Highlights:

  • Asks before it assumes: before drawing, Claude lists what the request leaves open (dimensions it cannot read, heights, roof, materials, furniture, structural sizes...) with the value it would use, and draws once you confirm or change them. draw_plan, draw_elevation, draw_section, draw_structure_detail and the interior drawing tools take dry_run=true to list the defaults they would apply without drawing, and every result reports the defaults it used (assumed).
  • A complete plan in one step (draw_plan): Claude describes the plan in millimetres, as read from the image (wall axes and thicknesses, openings by wall and offset, columns, grids, rooms, stairs, levels, section marks, north arrow) and the tool draws it all in one Undo step:
    • walls are unioned, so L, T and X junctions come out clean, with a different hatch per material (brick, concrete, block, light, stone, solid);
    • doors (single, double, sliding), windows and plain openings are cut out of the walls, with leaf, swing arc and glazing lines;
    • columns are cut out of the walls and hatched; a column can be placed at every grid intersection;
    • grids get bubbles at both ends (1, 2, 3... across, A, B, C... up), exterior dimension chains (openings, grid spacing, overall size) are added on the sides you choose;
    • room areas are measured from the walls, never typed: each room is a point inside it; the label shows the name and the measured area (a name wider than the room is wrapped onto two lines and the label kept off the walls), a closed boundary goes on A-AREA (not plotted) for takeoffs, and spaces closed by walls but without a room are reported.
  • Elevations and sections from the plan (draw_elevation, draw_section): built from the same description as draw_plan, so they always agree with it. Heights (floor, ground, wall top, door heads, window sills and heads, foundation) and roofs (gable with either ridge direction, pitch, overhang, or flat with parapets; several roofs, e.g. a porch) are given once.
    • elevations from any side: the nearest walls and columns win, hidden lines are removed, roofs show the eaves side (tile ribs) or the gable end, doors and windows with frames, plinth and ground lines, level marks, height dimension chains, grid bubbles with their spacing, title;
    • sections along the plan's section mark (or any cut line): slabs, roof slabs, lintels and the beams under the slabs on every cut wall drawn solid (poché, beam_depth default 300), cut walls hatched with lintels over the openings they cross, each room's ceiling at its finish level with its drop bands and hangers up to the slab and its ceiling and floor codes, level marks on both sides tied to the building by extension lines, footings with lean concrete, floor slab and fill, a porch slab out to its columns, the roof cut, walls, doors and windows seen beyond, room names, levels and grids;
    • ornaments seen in a photo (gable windows, cladding, finials) are added with draw_entities on A-ELEV.
  • Five sets, five files: architecture (KT), structure (KC), interior (NT), electrical (Đ) and plumbing (N) are separate drawings, as a design office issues them. Each is made with new_drawing from the same plan description and has its own cover, drawing list (draw_drawing_list, sheet KT-00 / KC-00 / NT-00 / Đ-00 / N-00), sheet numbers and title block item (KIẾN TRÚC, KẾT CẤU, NỘI THẤT, ĐIỆN, CẤP THOÁT NƯỚC). The structural, interior, electrical and plumbing tools work in a file without the architectural plan: AutoCAD computes the room outlines from the plan description without drawing it (draw_plan rooms_only). Example: examples/Nha-pho-5x18-KT.pdf, -KC.pdf, -NT.pdf, -DIEN.pdf, -CTN.pdf.
  • Roof plan (draw_roof_plan), for flat roofs:
    • the parapets and the stair tower of the top floor, with grids and dimensions;
    • the tower roof hatched, the roof terrace;
    • floor drains with falls (i=2%) and rainwater pipes;
    • the levels of the terrace, the parapet top and the tower roof;
    • notes on waterproofing, screed to falls and pipes.
  • Cover sheet (draw_cover_sheet): "HỒ SƠ BẢN VẼ ", the phase, project, item, client, consultant, contractor, location, date; every set starts with its cover and its drawing list.
  • Door and window schedule (draw_door_schedule):
    • every type (by tag, kind and size, on every floor) drawn in elevation with its frame, leaves and opening direction (dashed lines meet on the hinge side) and glazing;
    • its width, height and sill dimensions, its tag and count;
    • the table: tag, kind, W x H, sill, count by floor, description.
  • Stair detail (draw_stair_detail), for a U stair:
    • the stair plan on each kind of floor (start, typical floors grouped, arrival) at 1:50, with the walls around it, the treads numbered, run / landing / width dimensions (n x going), floor and landing levels, grids and the section mark;
    • section 1-1 along the flights: the cut flight with its RC waist slab and landing, the flight beyond, slabs and walls cut, handrails with balusters, riser dimensions (n x riser) per flight, floor heights and levels;
    • build-up notes of treads and landing, with 2h + b;
    • the tread and handrail detail at 1:20 (granite, mortar, brick steps, waist slab, plaster, handrail, balusters), drawn apart: one sheet holds both through create_layout views.
  • Preliminary structural calculation (structural_calc), to be checked, calculated again and signed by a licensed structural engineer:
    • loads by TCVN 2737:2023: slab build-ups, live loads by room (rooms 1.5, halls and stairs 3, balconies 2 kPa ...), partitions, walls on the beams less their openings, self-weight;
    • slab panels shared out to their beams (two-way trapezoid / triangle, one-way), continuous beams with the live load on all / odd / even spans, end supports qL²/24;
    • bending and shear by TCVN 5574:2018 (αm, ξ ≤ ξR, As, bars; stirrups at the supports and midspan), bending from the equivalent loads, shear and reactions from the loads really carried; a beam that ends on another beam and a column planted on a beam are point loads on it; the designed bars go to draw_beam_schedule;
    • column loads floor by floor down to the footings; the columns sized for their load (220x220, 220x300, 300x300 ... with φ by l0/h), the pad footings sized for the soil pressure (side, thickness by punching, mesh by bending, at most four types), with a note when the pads overlap (strip footings or a raft) or stand on the site boundary; draw_structure_plan then draws these columns (C1, C2 ...) and pads (M1, M2 ...);
    • slabs (two-way panels by Marcus, one-way strips), stairs and cantilever balconies designed too: their bars go to the bar schedule;
    • a sheet of tables (materials, slab loads, build-up, beams, columns and footings, assumptions) with the sign-off: calculated, checked, structural lead (name, licence No., signature, date); CSV for Excel;
    • xlsx_path: a live Excel workbook: the inputs in yellow cells (materials, layer thicknesses and unit weights, load factors, live loads, soil pressure, column and footing sizes, q, bars), everything else as formulas (g, p, M, αm, ξ, As, checks, stirrup spacing, column capacity, footing area), so it calculates again when a value changes.
  • Bar schedule and bill of quantities (draw_quantity_schedule):
    • the bar schedule of the whole set: footings, columns, ground beams, beams, slabs, stairs and balconies as designed; laps and anchorage, weights as table formulas, totals per diameter, flowing over pages;
    • the bill of quantities with how each item is made up (like parts × one part): excavation of the pits and trenches, backfill and surplus soil; lean concrete, concrete and formwork of footings, column stubs, ground beams, the slab on grade and the fill under it, columns per storey, beams, slabs, stairs; steel by grade; brick walls by thickness (m², m³) less the openings, lintels, brick stair steps; plaster inside, outside and of the soffits; CSV for Excel. The working space of the excavation and the ground slab are options, and what is assumed is listed;
    • xlsx_path: the whole structural workbook (the calculation, the bar schedule with its weights as formulas, the quantities as formulas of how they are made up).
  • Architectural finish quantities (draw_finish_quantities): floor tiles by finish, wall tiles, skirting; skim coat and paint inside, outside (the faces with no room on their side, plinth, parapets) and of the ceilings; gypsum ceilings; waterproofing of toilets, balconies and the roof terrace; screed to falls and the tower roof; stair granite and railings, balcony railings; doors and windows by type. The rooms and finishes are those of the interior set. Balconies count with their tiles, waterproofing and soffit; the walls around a roof terrace count at the height of the parapet. A table with the quantity of every floor, CSV, and a live Excel workbook: the finishes are formulas over the sheets of rooms, outer faces and doors, so a changed size or height recalculates the bill.
  • Quantities that can be checked (rules, verify_quantities, measure_model): the bills are sums over one model of what is built, never a room area times a material:
    • finishes are measured face by face: a wall face by the height of the wall behind it, with its openings and their reveals; the vertical face of a dropped ceiling; treads, risers and the stepped skirting of a stair; the floor under the doors; the waterproofing turned up the walls between the doors; sloped soffits and roofs; with the structure of structural_calc, the sides of beams under a painted soffit and the faces of columns that stand out of the walls;
    • concrete is measured as solids, and where members meet the junction belongs to one of them only, so the sum of the lines is the volume poured;
    • every line carries two numbers, the quantity by a rule set and the geometric net. The default set follows Appendix VI of Circular 13/2021/TT-BXD, kept as the last detailed rule set although Circular 37/2026 has replaced that circular with principles only (an opening under 0.25 m² is not deducted from masonry and finishes, under 1 m² from formwork, a void under 0.1 m³ from concrete; the column-beam node counts with the beam, what lies in the slab thickness with the slab; three decimals); rules: "NET" gives the geometry as it is, and rules: {base: "PL6", void: {finish: 0.5}} a company's own thresholds;
    • each bill runs its cross-checks (rooms + walls = floor plate, every opening deducted on two faces, sum of the net volumes = union of the solids, backfill + buried = excavation...) and reports those that fail; the workbooks list every face and every member with live formulas and a check sheet;
    • verify_quantities rebuilds the structure as solids and the finish faces as regions in AutoCAD's own modeler and compares. On the sample house the union of the 166 members is 86.146 m³ in AutoCAD and in the bill, the 127 faces measure 1396.652 m² in both, and the floor plate of every floor agrees (examples/Nha-pho-5x18-kiem-tra-khoi-luong.json). measure_model gives the same independent measure for any prisms and faces. The method and its sources are in docs/quantity-model.vi.md (Vietnamese).
  • Consistent layers in drawings made by others (standardize_layers): every entity goes to one standard set of layers (these tools' A-/S-/E-/P- layers or a company standard) by what it is: the purpose read from the layer name (Vietnamese with or without accents, English, Chinese, AIA-like codes, bound-xref prefixes dropped), the entity type where the name says nothing or says otherwise (a dimension goes to the dimension layer wherever it was), the block of an insert (door, level mark, grid bubble, title block), and the weight it plots with (from the layouts' .ctb) for linework on pen-named layers ("0.3", "net manh") or on layer 0. Entity colours, linetypes and lineweights become ByLayer except where the drawing would then plot differently (a bold line stays bold, a dashed one dashed; keep_look: false takes the standard's weights). Emptied layers are purged; layer 0 inside blocks, Defpoints and xref layers are left alone. A dry run comes first (the mapping layer by layer, also as CSV to correct in Excel and give back as mapping_csv); apply: true does it in one Undo step and checks that every entity is still there; files + out_dir processes many drawings, saving new copies (originals never written). On 13 real drawings from other offices: 1,487 layers became 334, every entity kept, the plotted sheet unchanged. Method and limits: docs/layer-standard.vi.md (Vietnamese).
  • Reading the plan of a drawing made by others (read_plan): walls (pairs of parallel faces at a wall's thickness, their ends run on to the walls they meet), openings (a door where a swing arc or a door block is, double when two leaves, a window where glazing or a window block is, with their tags), columns, grids with their bubbles and room names become the plan description of draw_plan. A plan inside a block or a bound xref is read through it; without a window the areas of the model space are ranked by door swings, room names and walls in both directions (sections and elevations have parallel lines too). preview draws what was read over the drawing on a non-plotting layer; adopt moves what was read and the old dimensions to the frozen layer X-OLD-PLAN (nothing deleted) and draws the plan in place, so it is updated like a plan drawn here. On the sample house every wall, opening, grid and room was read; on another office's drawing most interior walls and the rooms were, not its thin curtain walls. Method and limits: docs/read-plan.vi.md (Vietnamese).
  • Vietnamese and English sets: Vietnamese by default (decimal comma, TCVN titles and codes); setup_layers with language: "en" (or language on any tool) draws the whole set in English: titles and scale lines (SCALE 1:50), notes, legends, schedules, CSV and Excel files, joinery notes, and the codes of each discipline (boards DB-1 and MDB, circuits AC/WH/CK/PU, load symbols Pd, Id, Kd; pipes CW, HW, SP, WP, RWP, VP, shaft SH, septic tank ST, manholes MH; beams B2./GB./RB., footings F1) with decimal points. Rooms may be named in either language: BEDROOM, KITCHEN, BATHROOM, OFFICE are recognised as well as PHÒNG NGỦ, BẾP, WC, VĂN PHÒNG (whole words: "ĂN" is not read in "VĂN PHÒNG"). Checked by drawing the five sample sets in English and finding no Vietnamese left but the names the user typed.
  • Assumptions confirmed before drawing: a drawing tool called without confirmed: true draws nothing when it would assume values the request did not give (wall thicknesses, heights, roof, finishes, sizes...): it returns them for the user to confirm or change, then the call is made again with confirmed: true. Redrawing a view in place (update: true) keeps what was confirmed. AUTOCAD_MCP_CONFIRM=0 turns this off for scripted runs.
  • Outer walls and partitions: a wall with no thickness is 200 when it stands on the outside of the building and 100 when it is a partition between rooms (found from the plan itself); wall_thickness and partition_thickness change them.
  • Project data once, on every sheet (fields): the project, location, item, client, consultant, contract, phase and the people who sign are kept once in the drawing properties (DWGPROPS, Custom) and the title blocks and the cover show them by fields. A sheet that does not give them shows what the drawing has; update_title_blocks with project: {...} (or DWGPROPS in AutoCAD) changes them on every sheet at once. The scale (viewport) and the drawing number (layout name) were fields already. Every value and label is fitted to its cell, again after a change, and check_drawing reports a value wider than its cell.
  • Key plans and callouts: draw_key_plan draws the door and window location plan (every opening tagged, a table of the tags with type, size and count) or the elevation key plan (a key A B C D in each room); draw_detail_callout the detail callout bubble, whose sheet number is a field of that layout: rename the sheet and the callout follows. The drawing list lists the sheets by fields too (number, drawing name and scale follow the layouts and their title blocks) and puts each sheet's place (3/12) in a title block that has a sheet cell.
  • Dimensions on every side with openings: by default the plan dimensions the bottom and the left, and the top and the right where their outer walls have openings.
  • Is the set complete? check_drawing adds a presentation checklist for a drawing these tools made: grid lines, dimension chains on every side with openings, interior dimensions, room names, opening tags, level marks, north arrow, sections and their cut lines on the plan, elevations, door schedule, sheets and drawing list, each with how to fix it.
  • Accuracy checks built in:
    • attach_image fits the scale of a scan or photo to several printed dimensions and says how far each is off and whether the image is stretched; dimension_chains checks that the parts of a printed chain add up to its total before anything is drawn.
    • lighting_calc reads the photometric file of each light (IES LM-63 or EULUMDAT) instead of an idealised beam, lets furniture taller than the work plane shade it, and takes the reflected light by where the light first lands (the old shortcut read 6 to 8% high).
    • structural_calc checks every column in eccentric compression storey by storey (TCVN 5574:2018 8.1.2.3): the moment the beams cannot balance at the column, the random eccentricity, second-order effects; edge and corner columns that fail go up a size. No sway moments (wind, earthquake): it stays a preliminary calculation.
    • Quantities: the skirting goes round the columns that stand out, beam sides stop where another beam meets them, a suspended ceiling is open where a straight flight passes.
    • material_schedule compare_with sets the schedule beside another bill of the same building by code (a SketchUp MCP takeoff, a surveyor's sheet) and lists the differences.
    • One reader of room names (whole words, Vietnamese or English) serves finishes, doors, loads, quantities, electrical and plumbing.
    • read_plan reads a plain gap of a door's width as a door and says so.
  • More geometry:
    • Curved walls: bulges on a wall (as in a polyline) make an arc of short chords, at most 5 mm off the true curve, so elevations, room areas and quantities follow it; a door or window on the curve stands in a straight chord of its own.
    • Hip roofs (type: "hip"): elevations from every side, sections cut anywhere, the area on the slope with the lengths of the hips and the ridge.
    • L stairs (two flights and a quarter landing) and spiral stairs in the plan and the quantities: treads, risers, handrails, soffits, their footprint off the floor and the ceiling open above them. Straight and L stairs also in the structure (the well in the slab above, the waist slab designed, its concrete, formwork and bars), in sections along their flights and in draw_stair_detail type: "straight"; a spiral stair opens its well in the slab and is listed as steel or precast, by its maker.
    • Roofs as planes: several pitched roofs that meet (an L or T house) are measured where each slope is the roof, with the valleys where they meet; a roof that runs into another has no overhang at that end; hip roofs take pitch_end (ends steeper or flatter than the long sides). The bill lists the ridges, hips and valleys in metres, and draw_roof_plan draws the eaves, ridges, hips, valleys and the falls with their pitch. Limit: an elevation draws each roof's outline in full (the lines of one roof seen through another are not hidden).
    • Plumbing as a 3D network: the runs at the height of their system, the drops to the taps, the trap arms, the stacks and downpipes; the fittings (elbows, tees, crosses, reducers, end connectors) counted at its nodes by system and size instead of a lump sum. The electrical bill counts the junction boxes, conduit elbows and back boxes along the routes of the circuits.
    • Company measurement rules: rules takes the path of a JSON rule set (docs/rules-template.json), and the extension setting Measurement rules makes it the default of every bill.
  • Interior sets, details that came up on a real project:
    • Furniture: tv_cabinet takes tv: false (the low cabinet alone), sideboard is a credenza of its own, and coffee and dining tables can be round (shape: "round" or diameter, chairs around a round dining table).
    • The legend and notes of the furniture, floor, wall and ceiling plans go beside the plan, past its walls, dimensions and grid bubbles, where the drawing is free (else below, left or above). notes_at places them by hand; the result gives their window.
    • The plan copies take their own dimensions (sides or false) and interior_dimensions (off by default).
    • draw_floor_finish_plan takes zones: a carpet set into the stone floor gets its own joints, tag and area, taken off the room.
    • draw_ceiling_plan takes lights placed by the designer (downlight, spot with its aim, linear, slot diffuser, access panel), counted by code in the legend; rooms[].ceiling.grid draws a T-bar grid.
    • draw_interior_elevation takes wall_finishes (one wall in back-painted glass, the others painted) and titles.
    • setup_styles and draw_plan keep the LTSCALE of a drawing that already has views; unknown heights keys are reported; an opening error names its tag.
    • list_texts / update_texts reach the attributes of multileader notes (handle:TAG); export_pdf says when the PDF is open in a viewer (if_locked: "rename" writes another name); manage_images unloads, reloads, replaces and purges images; retitle_view changes a view title with its underline; create_layout takes a view id instead of a window; update_title_blocks writes a revision into every sheet.
  • Working on drawings made by others (describe_drawing, stretch_entities, replace_text, convert_vietnamese_text, compare_drawings):
    • describe_drawing reads the map of a drawing: its sheets (layouts and their viewports, or frames drawn in model space, extended frames included, with paper and scale found from their size), title blocks, and the views on each sheet from their titles (plan, elevation, section, detail, schedule... in Vietnamese, English and Chinese, a title written in two languages counted once) with floor, scale and model window, fitted to what is drawn there.
    • stretch_entities stretches part of a drawing in place, as STRETCH: move a wall, and its faces, hatch (arcs keep their bulge), doors and dimensions follow; the area written in a room outline that changes is recalculated.
    • replace_text finds and replaces text in texts, mtext, attributes, dimension overrides, table cells and block definitions, with a preview.
    • convert_vietnamese_text turns texts typed for the legacy TCVN3 (.VnTime) and VNI (VNI-Times) fonts into Unicode and moves their styles to Arial; a style whose font has another name (an SHX font) is found by what its texts read.
    • compare_drawings compares the drawing with an earlier version on disk and clouds what changed.
    • transform_entities, set_properties, delete_entities and draw_entities take revision too, so hand edits are clouded as they are made.
    • check_annotations finds dimensions written over with a value they do not measure and area texts that are not the area of their room outline, and fixes them on request (clouded with revision).
    • list_texts lists the texts of a drawing (distinct texts, language, handles; CSV), and update_texts sets many texts by handle in one step: review the wording, or translate a bilingual drawing.
    • clean_drawing removes entities drawn twice, zero-length entities and empty texts, and merges overlapping lines (as OVERKILL), with a preview.
    • describe_folder reads every DWG of a folder in the background, without opening them, and writes the register of sheets (Excel or CSV).
  • Revision clouds (revision, revision_cloud): every drawing tool takes revision (a number, or {no, note}) with update: true: the view as it was is compared with the view as it is now, entity by entity, and the places that changed are clouded on A-ANNO-REVS with the delta of the revision number. A changed outline is clouded only where its vertices moved, not around the whole floor. The clouds of a revision are a view of their own. revision_cloud clouds places given by window, handles or points (edits made entity by entity on an old drawing), and create_layout writes title_block.revisions into the revision rows of each sheet.
  • Changing a drawing instead of drawing it again (update, list_views): what each drawing tool draws is a view, and the drawing itself keeps a record of its views and the plan description they were drawn from:
    • every drawing tool takes update: true: its earlier view (the same floor, section mark, room...) is erased and the new one drawn where it stood, in one Undo step, so the sheets keep showing it; a view that outgrew the old one is reported so its sheet can be made again;
    • change the building by giving draw_plan the changed description with update: true; the result lists the views still drawn from the old plan (stale_views): update each one and the set is consistent again, the bills included;
    • list_views shows the views of a drawing with the arguments they were drawn with and, with plan: true, the plan description kept in it. Both live in the DWG, so a drawing reopened in another session, or weeks later, is changed the same way without describing the house again;
    • a drawing these tools did not make has no views: it is edited entity by entity (query_entities, transform_entities, set_properties, delete_entities, draw_entities).
  • Electrical set (draw_electrical_plan, draw_electrical_diagram, electrical_calc, draw_mep_notes), from the same plan:
    • lighting plans: the lights by the ceiling rules of the interior set, extract fans in the WCs, outdoor wall lights; one switch per room by its door (latch side; WC switches outside the WC) with a gang per group of lights, two-way switches at the stairs; the wiring of each circuit and its home run to the board, named L1, L2...;
    • power plans: sockets by the kind of room (bedside, desk, TV wall, worktop, weatherproof in WCs and yards), hob outlet, wall air conditioners sized at 600 BTU/m², water heaters, the pump, data and TV outlets to the data cabinet, the meter at the front;
    • a board on each floor by the stair (the main board TĐ-T on the ground floor); circuits of at most 10 lights or 8 sockets, a circuit for each air conditioner, water heater, hob and the pump; breakers (MCB, RCBO 30 mA) and Cu/PVC cables chosen from the current, lengths from the routes, voltage drop;
    • the single-line diagram with the schedule of each board, the riser diagram, the earthing detail, the general notes and legend;
    • electrical_calc: the load calculation and the bill of quantities (lights, switches, sockets, air conditioners, boards and breakers, cables by size, conduit, earthing) as a sheet with the sign-off of the electrical engineer, a CSV and a live Excel workbook (currents, breakers, cables and voltage drops as formulas).
  • Plumbing set (draw_plumbing_plan, draw_plumbing_diagram, plumbing_calc, draw_mep_notes):
    • a shaft in the corner of the WCs, the same on every floor, with the soil and waste stacks and the supply risers;
    • supply plans: the meter, the pump up to the tank on the stair tower roof, one gravity branch per floor in PPR (trunk with tees to every fixture), hot water from a water heater in each WC, a stop valve on each branch; the fixtures come from the furniture plan or default to a toilet, shower and basin per WC, a sink in the kitchen run and a washer in the yard;
    • drainage plans: soil, waste and rainwater as separate uPVC systems with their sizes and slopes, floor drains, the rain downpipes of the roof and balconies, the 3-compartment septic tank under the ground floor, the manholes and the drain to the street;
    • the supply and drainage riser diagrams, the septic tank and manhole details, an enlarged WC plan;
    • plumbing_calc: the demand of a dwelling (TCVN 4513:1988 equivalents, q = 0.2 N^(1/a) + K N), the riser size, the roof tank, the head at the highest shower against the 3 m minimum (booster pump advised under 8 m), rainwater per downpipe (TCVN 4474:1987, Q = K F q5 / 10000 with K = 2), the septic tank volume, and the bill of pipes by system and diameter, fittings, fixtures and equipment, with the sign-off, CSV and a live Excel workbook.
  • Structural set (draw_structure_plan, draw_beam_schedule, draw_structure_notes):
    • draw_structure_plan floor=foundation draws the foundation plan: pad footings M1 under the columns (hidden), ground beams GM under the ground floor walls, the footing size and bottom level;
    • draw_structure_plan draws the framing plan of each slab (floor 2, 3 ... and the roof):
      • beams along the load-bearing walls of the floor below (partitions under 150 mm stand on the slab), named per slab (D2.1 ..., DM.1 for the roof) with b x h and their count;
      • columns at the wall nodes;
      • the slab thickness, wet rooms and balconies lowered 50 (hatched), stair openings crossed;
      • grids with bubbles and dimensions.

Documentation truncated — see the full README on GitHub.

Reviews

No reviews yet

Be the first to review this server!