Bitbybit Docs
    Preparing search index...

    Class IFCDoorsBeta

    Doors: door types, each a lining around one panel, and doors of those types placed in walls. A door cuts its own opening and shares its type's geometry, so a type placed many times is written once.

    Index

    Constructors

    create

    types

    Constructors

    create

    • Beta

      Places a door of a door type in a wall, offset along the wall's axis from its start, cutting an opening as wide and high as the type.

      The door is centred in the wall's thickness and belongs to the wall's storey. It must fit along the wall.

      Parameters

      Returns Promise<IfcModelPointer>

      A new model with the door

      model = await bitbybit.ifc.doors.add({ model, wall: "south", doorType: "door-90", id: "front-door", offset: 2000 });
      

    types

    • Beta

      Adds a door type: a lining around one panel, width by height, which doors are then placed from.

      The lining's sides and head are liningThickness wide and liningDepth deep; the panel sits in the middle of the depth. A handle goes on both faces, away from the hinges. Materials give the lining, panel and handle their colours.

      Parameters

      Returns Promise<IfcModelPointer>

      A new model with the door type

      model = await bitbybit.ifc.doors.addType({ model, id: "door-90", name: "Door 900", width: 900, height: 2100 });