Provide options without default values
Optionalshape: TOptionalnrRectanglesU: numberOptionalnrRectanglesV: numberOptionalscalePatternU: number[]OptionalscalePatternV: number[]OptionalfilletPattern: number[]OptionalinclusionPattern: boolean[]OptionaloffsetFromBorderU: numberOptionaloffsetFromBorderV: numberThe face to draw the rectangles on.
How many cells across the U range.
How many cells across the V range.
OptionalscaleSizes of the rectangles along U as fractions of their cell, from 0 to 1, applied in turn; 1 fills the cell, and leaving the list out means no scaling.
OptionalscaleSizes of the rectangles along V as fractions of their cell, from 0 to 1, applied in turn; 1 fills the cell, and leaving the list out means no scaling.
OptionalfilletCorner rounding of the rectangles as fractions from 0 to 1 of half the shorter side, applied in turn; 0 leaves sharp corners.
OptionalinclusionWhich cells get a rectangle, applied in turn: true draws one, false skips the cell.
A fraction of the U range trimmed at each end before dividing into cells, so the pattern keeps 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 pattern keeps clear of the border; keep it below 0.5.
A face, a grid of cells and optional patterns for
shapes.face.subdivideToRectangleWires, which draws one rectangle wire per cell of the face's UV range. The patterns are read cell by cell and repeat when they run out.