Bitbybit Docs
    Preparing search index...

    Class IFCSiteBeta

    The site around the building: its terrain and its trees, written as geographic elements of the site, so the ground and planting travel with the building in the file.

    Index

    Constructors

    create

    Constructors

    create

    • Beta

      Adds terrain to the site: the ground as an outline in the site's plan, with holes where the building or paving meets it, its top at elevation and depth deep.

      Parameters

      Returns Promise<IfcModelPointer>

      A new model with the terrain

      model = await bitbybit.ifc.site.addTerrain({ model, outline: [[-30000, -30000], [30000, -30000], [30000, 30000], [-30000, 30000]], holes: [[[0, 0], [10000, 0], [10000, 8000], [0, 8000]]], material: "Lawn" });
      
    • Beta

      Adds a tree to the site: a tapering trunk and a rounded crown at position, height tall, each part in its own material, with its species written as the element's object type.

      Parameters

      Returns Promise<IfcModelPointer>

      A new model with the tree

      model = await bitbybit.ifc.site.addTree({ model, species: "Silver birch", position: [-6000, -8000], height: 9000, crownRadius: 2200, crownMaterial: "Foliage", trunkMaterial: "Bark" });