Bitbybit Docs
    Preparing search index...

    Class GeometryToShapesDto<T>Beta (Inputs.IFC)

    A model, the elements to build, and how to build them for geometry.toShapes, which builds the model's recipe as OpenCascade shapes.

    Type Parameters

    • T
    Index

    Constructors

    • Beta

      Type Parameters

      • T

      Parameters

      • Optionalmodel: T
      • Optionalelements: string[]
      • OptionaladjustZtoY: boolean
      • OptionalemptyWhenFailed: boolean
      • OptionalfacetedMeshes: boolean
      • OptionalmaxTriangles: number

      Returns GeometryToShapesDto<T>

    Properties

    model: T

    The model whose elements are built.

    undefined
    
    elements?: string[]

    The elements to build, each by GlobalId or by the id it was added with. Leave it out for every element with a body.

    undefined
    

    true

    adjustZtoY?: boolean

    When true, the shapes turn a quarter turn about X so the model's Z points along Y, which is up when drawn: (x, y, z) becomes (x, z, -y).

    true
    
    emptyWhenFailed?: boolean

    When true, an element that cannot be built comes back as an empty compound and the others are built; when false, it stops the build.

    true
    
    facetedMeshes?: boolean

    When true, elements stored as triangle meshes become faceted solids that cut and fillet like any shape; when false they keep their triangles, which draw and export faster.

    false
    
    maxTriangles?: number

    The most triangles a mesh built as a faceted solid may hold; a larger one is not built and counts as an element that failed.

    100000
    

    0

    Infinity

    10000