WallOpening is a plain hole in a wall: a passage, a serving hatch or a round window hole. It has no door or window in it. In a saved building it is a void on a wall.
For a custom straight-wall hole, set profile to { outline: [[0, 0], [1, 0], [0.5, 1]] }. The first coordinate runs along the hole width and the second runs up from the sill. Use 3 to 64 points in a simple ring that touches all four sides of the normalized hole. The last point connects to the first automatically.
Import
Example
Notes
add-hosted-openingadds a void to a wall of an existing storey in one undo step. A void always has a host wall:add-free-openingrefuses a void.profileisrectangular,roundorarched. A void with noprofileis rectangular.- A round void needs equal
widthandheight. An arched void needsheightgreater thanwidth / 2: the head is a half circle on straight jambs. The model check refuses other sizes withbad-void-profile. - Round and arched holes are cut as planar facets: 64 for a full circle, 33 for an arch head. The facets are at most 0.6 mm inside the true circle for a 0.9 m hole. Plans, sections and elevations draw them.
- A curved
Wall(live geometry only; a saved wall is straight) keeps an exact round hole. It builds, but it does not draw in plan, section or elevation yet. A curved wall refuses an arched hole. offsetis the distance along the wall to the centre of the hole.sillHeightis the bottom of the hole above the wall base.
extends Opening<ElementType.OPENING> implements IShape, PlanVectorExportable
Constructor
Position along the host wall:
alongWall is the opening’s centerline distance from the wall
start. The sill is baseHeight.Shape of the structural void. A round void uses equal width and height; an arched void has a half
circle head, so its height is more than width / 2. Round and arched holes are cut as planar
facets.
Properties
Methods
editableSchema
anchorSpace
alongAxis along the wall).
getEditAnchors
getEditFaces
applyEditAnchor
move
Opening.move (which walks points) does not apply.