UNPKG

@bitbybit-dev/occt

Version:

Bit By Bit Developers CAD algorithms using OpenCascade Technology kernel. Run in Node and in Browser.

28 lines (27 loc) 846 B
/** * Detailed label info. */ export interface LabelInfo { /** Label entry string */ label: string; /** Name attribute */ name: string; /** Type: "part", "assembly", "instance", or "unknown" */ type: string; /** Whether it's a simple shape (not compound/assembly) */ isSimpleShape: boolean; /** Whether it's an assembly */ isAssembly: boolean; /** Whether it's a reference/instance */ isReference: boolean; /** Whether it's a component in an assembly */ isComponent: boolean; /** Whether it's a free shape (top-level) */ isFreeShape: boolean; /** Reference label (for instances) */ refLabel?: string; /** Child labels (for assemblies) */ children?: string[]; /** Shape type (vertex, edge, wire, face, shell, solid, compound, etc.) */ shapeType?: string; }