bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Interface AssemblyNodeJson

    interface AssemblyNodeJson {
        id: string;
        parentId?: string;
        depth: number;
        name: string;
        isAssembly: boolean;
        isInstance: boolean;
        definitionId?: string;
        visible: boolean;
        colorRgba?: ColorRGBA;
        transform?: TransformMatrix;
    }
    Index

    Properties

    id: string

    Unique path identifier (e.g., "/0:1:1:1/0:1:1:2")

    parentId?: string

    Parent node ID for hierarchy reconstruction (undefined for root nodes)

    depth: number

    Depth in the assembly hierarchy (0 = root)

    name: string

    Part/assembly name

    isAssembly: boolean

    True if this is an assembly (has children), false if leaf part

    isInstance: boolean

    True if this node is an instance referencing a definition

    definitionId?: string

    Definition ID that this instance refers to (only set if isInstance is true). Multiple instances with the same definitionId share the same geometry.

    visible: boolean

    Visibility flag

    colorRgba?: ColorRGBA

    Surface color (if set)

    transform?: TransformMatrix

    4x4 transformation matrix in column-major order (if not identity)