Optionalshape: TOptionalseeds: Bit.Inputs.Base.Point3[]Optionalweights: number[]Optionalsizes: number[]Optionalshrink: voronoiShrinkEnumOptionalscale: numberOptionalinset: numberOptionalradius: numberOptionalwall: voronoiWallEnumOptionalthickness: numberOptionalwallInset: numberOptionalwalls: booleanOptionaloutsideSeeds: voronoiOutsideSeedsEnumOptionalcoincidentSeeds: voronoiCoincidentSeedsEnumThe convex solid the cells fill, such as a box; a solid that is not convex of planar faces is refused.
The points the cells grow from, one cell a seed, each inside the solid.
OptionalweightsOne weight a seed, in squared model units, making power cells: a heavier seed's cell grows, and one far outweighed may have none. Left empty, all weigh the same.
OptionalsizesPer-seed values for scale or inset, a face taking its cells' mean: scales from 0 to 1, whole up
to 0.001, or insets of at least the solid's tolerance.
OptionalshrinkWhether each window is its face scaled about the face's centroid, or its face with every edge
moved inward by inset.
OptionalscaleWith shrink scale, the factor each face is scaled by for its window, from 0.001 to 0.999.
OptionalinsetWith shrink inset, how far each edge of a face moves inward for its window, in model units,
so each frame's border is that wide.
OptionalradiusThe radius each window's corners are rounded to, in model units; a tight corner takes the
largest that fits. 0 leaves corners sharp, as a wall needs.
OptionalwallWhether to frame each face flat, or make each cell a hollow wall, its inside scaled by
thickness or inset by wallInset and each window a tunnel through it.
OptionalthicknessWith wall scale, the wall's share of its cell: the inside is the cell scaled toward its
centroid by 1 less the share.
OptionalwallWith wall inset, how far every face of a cell moves inward for its inside, in model units,
so each wall is that thick.
OptionalwallsWhether to also frame the cells' faces on the solid's boundary; with a wall, whether those
faces get windows or stay closed.
OptionaloutsideWhat to do with a seed outside the solid: refuse it, or drop it and report its cell as dropped.
OptionalcoincidentWhat to do with seeds closer than a hundred-thousandth of the solid's box diagonal: refuse them, or merge each into the first.
A convex solid and seeds for
patterns.voronoi.frames3dandpatterns.voronoi.frames3dWithReport, which build every face between the seeds' Voronoi cells once with a window, or with awalleach cell as a hollow solid.