BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    API Namespace Geometry3d is used for 3D geometry related API calls.

    Index

    Constructors

    Methods

    • Download a glTF model (GLB) for one or multiple models.

      Parameters

      • versionUuids: Iterable<string>

        A list of models

      • query: string

        You can filter the result by providing a BQL query

      Returns Promise<string>

    • Parameters

      • versionUuids: Iterable<string>

      Returns Promise<unknown>

    • Store the alignment of a version: a 4×4 matrix, sixteen numbers column-major (translation in elements 12, 13 and 14), in millimetres, applied to the version's geometry in every viewer that loads it afterwards.

      Parameters

      • versionUuid: string

        The version

      • alignment: ArrayLike<number> | null

        The sixteen numbers (an array or a mat4), or null to clear the alignment

      Returns Promise<Version>

      The updated version