Bitbybit Docs
    Preparing search index...

    Class AddShapeElementDto<T, S>Beta (Inputs.IFC)

    An element to add for elements.addShape: any kind of element whose body is an OpenCascade shape, standing on a storey.

    Type Parameters

    • T
    • S

    Hierarchy (View Summary)

    Index

    Constructors

    • Beta

      Type Parameters

      • T
      • S

      Parameters

      • Optionalmodel: T
      • Optionalstorey: string
      • Optionalshape: S
      • OptionalmillimetresPerUnit: number
      • Optionalid: string
      • Optionalname: string
      • Optionaltype: string
      • OptionalpredefinedType: string
      • OptionalobjectType: string
      • Optionalposition: Bit.Inputs.Base.Point3
      • Optionalrotation: number
      • Optionalmaterial: string

      Returns AddShapeElementDto<T, S>

    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 element stands on, by GlobalId or by the id it was added with.

    undefined
    
    id?: string

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

    undefined
    

    true

    name?: string

    A name for the element, which other tools show.

    Element
    
    type?: string

    The IFC class of the element, any kind of IfcElement that is not abstract, such as IfcBuildingElementProxy, IfcFurniture or IfcPipeFitting.

    IfcBuildingElementProxy
    
    predefinedType?: string

    The predefined type of a class that has one, as IFC writes it, such as NOTDEFINED; left out, NOTDEFINED, or USERDEFINED when objectType is given.

    undefined
    

    true

    objectType?: string

    What the element is, in words, when no predefined type says it, such as Bracket.

    undefined
    

    true

    position?: Bit.Inputs.Base.Point3

    Where the body's origin stands, as [x, y, z] in the storey's plan, z up from its floor.

    [0, 0, 0]
    
    rotation?: number

    How far the body turns about the vertical, in degrees, counterclockwise seen from above.

    0
    

    -360

    360

    15

    material?: string

    The name of a material the model holds, given to the element.

    undefined
    

    true

    shape: S

    The element's body: a solid, several, a shell or faces, described exactly.

    undefined
    
    millimetresPerUnit?: number

    How many millimetres one unit of the shape's coordinates is.

    1
    

    0

    Infinity

    1