Bitbybit Docs
    Preparing search index...

    Class CreateInstanceNodeDto

    DTO for creating an instance node (reference to a part with transform). Instance nodes place a part at a specific location with optional transform.

    Index

    Constructors

    Properties

    id: string

    Unique identifier for this instance node

    undefined
    
    partId: string

    ID of the part to instance (must match a part's id)

    undefined
    
    name: string

    Display name for this instance

    undefined
    
    parentId?: string

    Parent assembly node ID. Leave undefined for root level.

    undefined
    
    translation?: Point3

    Translation as [x, y, z]

    [0, 0, 0]
    
    rotation?: Vector3

    Rotation as [rx, ry, rz] Euler angles in degrees (applied Rx * Ry * Rz)

    [0, 0, 0]
    
    scale?: number

    Uniform scale factor

    1.0
    
    colorRgba?: ColorRGBA

    Optional color override for this instance

    undefined
    

    Optional placement matrix (column-major, 16 numbers) or an ordered list of matrices applied first-to-last. When provided it fully defines the instance's placement and takes precedence over translation/rotation/scale.

    undefined