Bitbybit Docs
    Preparing search index...

    Interface LabelInfo (Models.OCCT)

    Detailed label info.

    interface LabelInfo {
        label: string;
        name: string;
        type: string;
        isSimpleShape: boolean;
        isAssembly: boolean;
        isReference: boolean;
        isComponent: boolean;
        isCompound: boolean;
        isSubShape: boolean;
        isFreeShape: boolean;
        refLabel?: string;
        refName?: string;
        children?: string[];
        shapeType?: string;
    }
    Index

    Properties

    label: string

    Label entry string

    name: string

    Name attribute

    type: string

    Type: "part", "assembly", "instance", or "unknown"

    isSimpleShape: boolean

    Whether it's a simple shape (not compound/assembly)

    isAssembly: boolean

    Whether it's an assembly

    isReference: boolean

    Whether it's a reference/instance

    isComponent: boolean

    Whether it's a component in an assembly

    isCompound: boolean

    Whether it's a compound

    isSubShape: boolean

    Whether it's a sub-shape of another shape

    isFreeShape: boolean

    Whether it's a free shape (top-level)

    refLabel?: string

    Reference label (for instances - the label of the placed part or assembly)

    refName?: string

    Name of the placed part or assembly (for instances, empty if it has none)

    children?: string[]

    Child labels (for assemblies)

    shapeType?: string

    Shape type (vertex, edge, wire, face, shell, solid, compound, etc.)