API referenceEngine
datums
Import from bear/engine/datums.
Interfaces
Datums
Defined in: bear/engine/datums.ts:70
Properties
| Property | Type |
|---|---|
dims | readonly DimDatum[] |
gridlines | readonly GridlineDatum[] |
DimDatum
Defined in: bear/engine/datums.ts:53
A dim, as the two planes it measures between. Where the dimension line itself is drawn is a view's decision, not the model's: the same dim is a string along the footprint in one view and a leader in another.
Properties
| Property | Type | Description |
|---|---|---|
derived | boolean | True when solve filled the value in rather than the author stating it. |
direction | Axis | - |
from | Vector3 | The world point of the plane each endpoint resolved to. |
label | string | "@A → W.start along x". |
node | string | The fqn of the <Dim> node that authored it. |
satisfied | boolean | False when the measured span disagrees with what the dim states. |
text | string | The measured span, formatted: 24', 5' 1/2". |
to | Vector3 | - |
GridlineDatum
Defined in: bear/engine/datums.ts:35
A named gridline, drawn along the provider's base plane.
Properties
Functions
datumsOf()
function datumsOf(result): Datums;Defined in: bear/engine/datums.ts:76
Every construction datum of a model, ready to draw.
Parameters
| Parameter | Type |
|---|---|
result | ModelView |