Bitbybit Docs
    Preparing search index...

    Class AddRoofDto<T>Beta (Inputs.IFC)

    A roof to add for roofs.add: a flat, mono-pitch, gable or hip roof over a rectangle in a storey's plan, written as an IfcRoof whose parts are sloping slabs.

    Type Parameters

    • T
    Index

    Constructors

    • Beta

      Type Parameters

      • T

      Parameters

      • Optionalmodel: T
      • Optionalstorey: string
      • Optionalid: string
      • Optionalname: string
      • Optionaloutline: Bit.Inputs.Base.Point2[]
      • Optionalkind: roofKindEnum
      • Optionalpitch: number
      • Optionalthickness: number
      • OptionallayerSet: string
      • Optionaloverhang: number
      • OptionalbaseOffset: number

      Returns AddRoofDto<T>

    Properties

    model: T

    The model to change; it stays as it was, and the call returns the changed model.

    undefined
    
    storey: string

    The storey the roof stands on, by GlobalId or by the id it was added with.

    undefined
    
    id?: string

    An id of your own for the roof. Leave it out for a generated one.

    undefined
    

    true

    name?: string

    A name for the roof, which other tools show; it need not be unique.

    undefined
    

    true

    outline: Bit.Inputs.Base.Point2[]

    The rectangle's four corners in the storey's plan, such as the walls' outer faces. A mono-pitch roof rises from the first side; a gable's ridge runs along it.

    undefined
    

    The roof's shape.

    gable
    
    pitch?: number

    The slope of a sloping roof, in degrees from level, more than 0 and at most 89.

    30
    

    0

    89

    thickness?: number

    The roof's thickness, used when no layerSet is given. Left out, 200 mm, in the model's length unit.

    undefined
    

    true

    0

    Infinity

    true

    layerSet?: string

    The name of the layer set the roof is made of, its first layer at the top, as a slab's is; its layers set the thickness.

    undefined
    

    true

    overhang?: number

    How far the roof reaches past the outline on every side, measured level.

    0
    

    0

    Infinity

    baseOffset?: number

    How high above the storey's floor the roof's underside meets the outline, such as the height of the walls under it.

    0
    

    -Infinity

    Infinity