Bitbybit Docs
    Preparing search index...

    Class DesignBuildDto<T> (Inputs.OCCT)

    A design document with the configuration, parameter values, asset contents and the documents an assembly places, for design.build, which builds it, and design.toTypeScript, which writes a part document as code.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    document: DesignDocument

    The document: a part document with its parameters, features and parts, or an assembly document with its components.

    undefined
    
    configuration?: string

    The id of one of the document's configurations, whose values replace the parameters' own; left out or empty, none is used.

    undefined
    

    true

    parameters?: Record<string, string | number | boolean>

    Values that replace the parameters of the same names after the configuration's, each read as the parameter's own value is, such as { width: 40 }.

    undefined
    

    true

    assets?: Record<string, string | ArrayBuffer | Uint8Array<ArrayBufferLike>>

    The contents of the document's assets by asset id, as text or bytes, for the features that import them; each is checked against the SHA-256 the document records.

    undefined
    

    true

    documents?: DesignDocument[]

    The documents an assembly's components place, each with the id they name it by.

    undefined
    

    true

    When a hinted reference loses its faces: never fails and offers the faces most like its hint as repairs; report takes them, if they stand clear, and reports rebound.

    undefined
    

    true