Import
Example
Notes
- Points are
[x, z]in metres.elevationis the world height of the ground. areais the net area in square metres, with holes subtracted.perimetermeasures the outer boundary.- The lot-line list must have one entry for each boundary edge. An edge without a class is a
sideline. trueNorthDegis the clockwise angle from project north (−Z) to true north.- To draw the parcel, add a site plan: a saved plan view with no
storeyId. It draws the parcel, the dashed setback line and the mass parts of every building. See Model a mass. - A site plan is labelled: the length of each lot line, a dimension of each setback, “use, N storeys, H m” on each mass part, and a block with site area, GFA, FAR, coverage and height against the smallest cap of the rules (”!” marks a value that
evaluateZoningreports over a cap). The texts arelabelMmhigh on the sheet (2.5 mm when absent). A setback text that does not fit its band at 1:500 is left out. The label of a lower mass part can sit under a part above it. - A site in Floorkit is a design aid. It is not a legal survey.
- Start the geometry kernel before you create this object. See
Floorkit.
The saved site
A building model saves its site assite, a BmSite. A build makes the live Site from it. These are its fields:
To change the site, send
replace-site with the whole new site. It is one undo step. See ReplaceSiteCommand.
- A plan view with
showMassing: truedraws the parcel, the setback line and the masses. See Edit a mass. - A plan view with no
storeyIdis a site plan. See Draw a site plan. - The IFC export uses the site boundary and georeferencing fields from the saved model.
extends OPElement implements IPlaceable, PlanVectorExportable
Constructor
Properties
Methods
editableSchema
move
delta (world-space, meters).
rotate
getOPConfig
setOPConfig
beginEdit
beginEdit before endEdit keeps the first start.
endEdit
getEditAnchors
xz vertex anchor per outer-ring point (v:outer:<i>), and - one xz edge-mid anchor per edge midpoint (m:outer:<i>, edge i→i+1) — the insert-vertex affordance (Mapbox/nebula midpoint handles).
applyEditAnchor
v:outer:<i> moves outer-ring point i to the dropped (x, z), and - m:outer:<i> inserts a new point on edge i→i+1 at the dropped (x, z); the two edges it makes inherit edge i’s lot-line class.
setOPGeometry
getExportRoots
top exports.
toDrawing
setOPMaterial
dispose
classifyLotLines
Classify each parcel edge asfront / rear / side from the designated street-facing front edge.
siteGroundMesh
The evaluated ground surface of a site as triangles, clipped to itsboundary with its holes and its boundary arcs: the facets Floorkit draws the ground lines from and stands walls and context buildings on (finished, the default), or those of existingGroundPoints (existing).
siteContours
The contour lines of thesurroundingGround of a site, lowest level first, each joined into one line as far as it runs.
surroundingGroundAt
The height of thesurroundingGround of a site at a point [x, z], in world Y: on the triangles of its 3D surface, and past the grid the height of its nearest edge.
Types
ISite
LotLineClass
Zoning class of one parcel edge.GeoAnchor
WGS84 fix of the local origin.SiteGroundKind
Which ground of a site:finished is groundPoints, existing is existingGroundPoints.
SiteGroundMesh type
A triangulated ground surface in world metres, Y up.SiteContourOptions
Which contours of a site: everyinterval metres, each indexEvery-th (default 5) an index line.