Bitbybit Docs
    Preparing search index...

    Interface VoronoiFoamReport (Models.OCCT)

    What patterns.voronoi.foam made of each seed's cell, the skin it kept and the windows it opened.

    interface VoronoiFoamReport {
        skin: number;
        windows: number;
        wallWindows: number;
        cells: VoronoiFoamCell[];
        pieces: VoronoiPiece[];
        booleans: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    skin: number

    The distance every void keeps from the solid's outside.

    windows: number

    How many windows join two voids.

    wallWindows: number

    How many windows open a void through the solid's own faces.

    One entry a seed, in the order of the seeds.

    pieces: VoronoiPiece[]

    One entry a piece of the shape, in its order.

    booleans: number

    How many cells crossed the face's or solid's boundary and were cut to it by a boolean; 0 when every cell was cut exactly.