Bitbybit Docs
    Preparing search index...

    Class GeometryToDocumentDto<T>Beta (Inputs.IFC)

    A model, the elements to build, and how to build them for geometry.toDocument, which builds the model's recipe into an OpenCascade assembly document.

    Type Parameters

    • T
    Index

    Constructors

    • Beta

      Type Parameters

      • T

      Parameters

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

      Returns GeometryToDocumentDto<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

    name?: string

    The name of the assembly at the top of the document, which holds every element.

    Model
    
    emptyWhenFailed?: boolean

    When true, an element that cannot be built is left out of the document 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 STEP carries their triangles as tessellated geometry, smaller and 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

    groupByClass?: boolean

    When true, each storey's elements are gathered in assemblies by IFC class, such as Walls and Slabs; when false they lie in the storey's assembly directly.

    true