brepjs API Reference
    Preparing search index...

    Interface ShapeEvolution

    Shape evolution record — tracks how input faces map to result faces through a kernel operation (boolean, transform, fillet, etc.).

    For each input face hash, modified contains the result face hashes it evolved into. generated contains hashes of newly created faces (e.g., fillet rounds). deleted lists hashes of faces that were removed entirely.

    interface ShapeEvolution {
        deleted: ReadonlySet<number>;
        generated: ReadonlyMap<number, readonly number[]>;
        modified: ReadonlyMap<number, readonly number[]>;
    }
    Index

    Properties

    deleted: ReadonlySet<number>

    Set of input face hashes that were deleted by the operation.

    generated: ReadonlyMap<number, readonly number[]>

    Map from input face hash → newly generated face hashes (e.g., fillet surfaces).

    modified: ReadonlyMap<number, readonly number[]>

    Map from input face hash → result face hashes it was modified into.