ZoningRuleSet holds the zoning rules of a site. There are five kinds of rule: ratio-cap, envelope-plane, height-cap, separation and no-build-zone.
Import
Example
Notes
- Points are
[x, z]in metres. - An
envelope-planerises from a class of lot lines (edgeClass) or from one outer edge (edgeIndex). Give one, not both. Edgeiruns fromouterRing[i]toouterRing[i + 1]. - Give
validateZoningRuleSetthe edge count of the lot to refuse anedgeIndexthat is not an edge. The model check of a site does this for you. - A
no-build-zoneis a region where no mass may stand.evaluateZoningreports each mass over it, with the area it covers. - A
regionon asiteCoveragecap limits the coverage of that part of the lot: the footprint at grade inside the region, divided by the area of the region. - The numbers of
ZONING_PRESETSare example numbers, not law. Check the rules of your jurisdiction before you use them.
basicZoningRules
validateZoningRuleSet
Every problem with a rule set, asBmIssues rooted at path (so validateBuildingModel can nest it).
ZONING_PRESETS
Example rule sets of four common zoning shapes.Types
BasicZoningInput
ZoningRuleSet
ZoningRule
RatioCapRule
floorAreaRatio = counted GFA ÷ site area; siteCoverage = ground footprints ÷ site area;
volumeRatio = gross volume ÷ site area (BMZ).Only with
siteCoverage: limit the coverage of this part of the lot instead — the at-grade
footprint inside the region ÷ the region’s area. World XZ metres.