create_door_2d
Cut a door opening in a wall and draw a classic door with jambs, leaf, and swing arc as one BIM object carrying mark, height, and material for 3D, schedules, and IFC export.
Instructions
Cut a door opening in the wall and draw the classic door: jambs, open leaf, swing arc.
The door is one block ("Porte"): move/copy/delete it as a single object. It is also a BIM object:
it keeps a mark (P1, P2... numbered per level unless mark is given), its height (default 2100 mm)
and material (default Bois), used by the 3D, the schedules and the IFC export.
position: [x, y] centre of the opening ON THE WALL AXIS (mm). width: default 900 mm. orientation: direction of the WALL, "horizontal" (along x) or "vertical" (along y). wall_thickness: thickness of the wall/partition crossed (default 200 = wall; use 100 for a partition). hinge: "start" (lower x/y end of the opening) or "end". swing: side the door opens to: north/south for a horizontal wall, east/west for a vertical one (default north / east). Warns if no wall was found at the position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mark | No | ||
| hinge | No | start | |
| swing | No | ||
| width | No | ||
| height | No | ||
| fit_view | No | ||
| material | No | ||
| position | Yes | ||
| orientation | No | horizontal | |
| wall_thickness | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||