Bitbybit Docs
    Preparing search index...

    Interface AssemblyNodeJson (Models.OCCT)

    Assembly node from native JSON parsing. Contains id, name, assembly flag, visibility, optional color and transform. Includes hierarchy information (parentId, depth) and instance/definition tracking.

    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)