Bitbybit Docs
    Preparing search index...

    Class IFCElementsBeta

    Elements of any kind whose body is given as data: exact boundary representations, such as an OpenCascade shape described with occt.recipes.describe, or triangle meshes.

    Hierarchy (View Summary)

    Index

    Constructors

    create

    Constructors

    create

    • Beta

      Adds an element of any class to a storey, its body written from a recipe: brep steps as advanced breps less their cavities, triangle steps as triangulated face sets.

      The body is scaled to the model's units; its roots may move and turn it, not scale or mirror it. Describe shapes with ifcSurfaces set.

      Parameters

      Returns Promise<IfcModelPointer>

      A new model with the element

      const body = await bitbybit.occt.recipes.describe({ shape: bracket, ifcSurfaces: true });
      model = await bitbybit.ifc.elements.add({ model, storey: "ground", body, type: "IfcFurniture", name: "Bracket", position: [2000, 1500, 0] });