Provide options without default values
Optionalshape: TOptionalnrRectanglesU: numberOptionalnrRectanglesV: numberOptionalscalePatternU: number[]OptionalscalePatternV: number[]OptionalfilletPattern: number[]OptionalinclusionPattern: boolean[]OptionalholesToFaces: booleanOptionaloffsetFromBorderU: numberOptionaloffsetFromBorderV: numberThe face to cut the holes into.
How many cells across the U range.
How many cells across the V range.
OptionalscaleSizes of the holes along U as fractions of their cell, applied in turn; leaving the list out uses 0.5.
OptionalscaleSizes of the holes along V as fractions of their cell, applied in turn; leaving the list out uses 0.5.
OptionalfilletCorner rounding of the holes as fractions from 0 to 1 of half the shorter side, applied in turn; 0 leaves sharp corners.
OptionalinclusionWhich cells become holes, applied in turn: true cuts one, false leaves the face whole there.
When true, the result also carries one face per hole after the perforated face.
A fraction of the U range trimmed at each end before dividing into cells, so the holes keep clear of the border; keep it below 0.5.
A fraction of the V range trimmed at each end before dividing into cells, so the holes keep clear of the border; keep it below 0.5.
A face, a grid of cells and optional patterns for
shapes.face.subdivideToRectangleHoles, which cuts a grid of rectangular holes into the face. Without a scale pattern each hole covers half its cell.