Bitbybit Docs
    Preparing search index...

    Interface DesignComponentSource (Models.OCCT)

    Where a component comes from: the id of a document given to the build beside this one, the part of it when it is a part document (an assembly document is placed whole), its configuration, and parameters replacing its values, each read by the kind of parameter it sets: for a number or boolean parameter, a number, a boolean or an expression over this assembly's parameters; for a text or choice parameter, text as it is written, or { "expr": "..." } for text this assembly's parameters compute. version, when given, pins the source: the document's version (design.versionOf, the SHA-256 of its canonical JSON without what only editors and tools read) or the store revision in its meta.revision. A document with other contents is refused, and when several versions of one document are given, a component without a version is refused too.

    interface DesignComponentSource {
        document: string;
        version?: string;
        part?: string;
        configuration?: string;
        parameters?: Record<string, DesignNumber | boolean | DesignExpression>;
    }
    Index

    Properties

    document: string
    version?: string
    part?: string
    configuration?: string
    parameters?: Record<string, DesignNumber | boolean | DesignExpression>