Bitbybit Docs
    Preparing search index...

    Class IFCRoofsBeta

    Roofs: flat, mono-pitch, gable and hip roofs over a rectangle, each an IfcRoof whose parts are the sloping slabs of its planes. Walls are clipped under a roof with walls.clipByRoof.

    Index

    Constructors

    create

    Constructors

    create

    • Beta

      Adds a roof over a rectangle of a storey: flat, sloping one way, gabled, or hipped on all four sides. Every slope has the same pitch; its underside meets the outline at baseOffset above the storey's floor and reaches overhang past it on every side.

      Parameters

      Returns Promise<IfcModelPointer>

      A new model with the roof

      model = await bitbybit.ifc.roofs.add({ model, storey: "first", id: "roof", outline: [[0, 0], [10000, 0], [10000, 8000], [0, 8000]], kind: Bit.Inputs.IFC.roofKindEnum.gable, pitch: 35, baseOffset: 3000, overhang: 400 });