brepjs API Reference
    Preparing search index...

    Interface ShapeRef

    A stable reference to a face, combining a role-based name with a geometric hint. Survives parametric replay even when face hashes change.

    interface ShapeRef {
        hint: GeometricHint;
        origin: string;
        role: string;
    }
    Index

    Properties

    Properties

    Geometric snapshot for fallback matching.

    origin: string

    Generic command/step identifier (e.g., 'step_0', 'box_1').

    role: string

    Role name within the origin (e.g., 'box:top', 'fillet:round_0').