Architecture: Wall
arch_wallAdd walls to an existing plan network and resolve junctions (L, T, X) automatically. Redraws affected walls with openings.
Instructions
Add walls to the plan network already on the drawing and resolve every junction.
Two ends at one point mitre into a clean L; an end inside another wall is a
T (the stem stops on the crossing wall's near face, which is cut there); two
axes crossing are an X (all four faces cut). A drawn wall whose outline the
new walls change is taken back out and redrawn with its openings - the
result lists it under redrawn - and a wall they do not touch is left alone.
Every wall carries an ACADMCP_ARCH record, so later calls find it by id.
Refused before anything is drawn or erased, by path: a wall id already on the drawing or used twice, an axis of fewer than two points or with a zero-length segment, a non-positive thickness, an unknown justification or material (the list is named), two walls meeting at less than 5° (the mitre would run away), a wall corner lying inside another wall off its axis, an end inside a wall whose axis only meets it past that wall's end, and a new wall that would leave a drawn opening uncuttable. A curved wall is not supported: an axis is straight segments only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poche | No | Hatch the cut wall faces in their material (ISO 128-50) | |
| walls | Yes | Walls to add: [{id, axis:[[x,y],...] (2+ points, straight segments, WCS mm), thickness, justification:'center'|'left'|'right' (side of the axis looking along it), material:'brick'|'aac'|'concrete'|'reinforced_concrete'|'gypsum_board'|'stone'|'timber'|'generic', closed:bool}] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||