Optionalface: FOptionalseeds: Bit.Inputs.Base.Point3[]Optionalweights: number[]Optionalfactors: number[]Optionalshrink: voronoiShrinkEnumOptionalscale: numberOptionalinset: numberOptionalradius: numberOptionalmargin: numberOptionaloutsideSeeds: voronoiOutsideSeedsEnumOptionalcoincidentSeeds: voronoiCoincidentSeedsEnumThe planar face to perforate, holes of its own included. A face that is not planar is refused.
The points whose cells become holes, one hole a seed. Seeds off the face's plane are projected onto it along its normal.
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.
OptionalfactorsPer-seed values for scale or inset: scales from 0 to 1, closed up to 0.001 and opened at most
to 0.999, or insets of at least the face's tolerance.
OptionalshrinkWhether each hole is its cell scaled about the cell's centroid, or its cell with every edge moved
inward by inset.
OptionalscaleWith shrink scale, the factor each cell is scaled by, from 0.001 to 0.999; a hole's area is
its cell's times the factor squared.
OptionalinsetWith shrink inset, how far each edge of a cell moves inward, in model units, at least the
face's tolerance; bars between neighbouring holes are twice as wide.
OptionalradiusThe radius each hole's corners are rounded to, in model units; a corner too tight for it takes the largest radius that fits. 0 leaves corners sharp.
OptionalmarginThe least distance a hole keeps from the face's outline and its own holes, in model units. A hole that would come closer is left out.
OptionaloutsideWhat to do with a seed outside the face: refuse it, or drop it and report its cell as dropped.
OptionalcoincidentWhat to do with seeds that coincide: refuse them, or merge each into the first of them.
A planar face and seeds for
patterns.voronoi.perforateandpatterns.voronoi.perforateWithReport, which make a hole of each seed's cell, shrunk by a scale or an inset and rounded at its corners.