Import
extends OPElement implements IShape, IPlaceable
Constructor
DatumType.GRID
GridKind
GridAxis[]
GridAxis[]
GridHead
string[]
Characters omitted from auto-generated alpha labels.
number
Elevation (world Y) at which the grid is drawn.
boolean
Render axis lines as dashed. Default
false (solid).string
string
number
Line / symbol colour. Defaulted per subtype when omitted.
number
Line weight for the datum’s 2D representation.
DatumVisibility
Whether this datum is shown in plan / model views.
Properties
string
string
Map<string, THREE.Object3D>
Map<string, THREE.Object3D>
boolean
boolean
boolean
Event<null>
GridOptions
string
DatumType
Read-only.
boolean
boolean
Methods
editableSchema
rectangular
generateLabels
A, B, C, D, E, F, G, H, J, K, L, M, N, P, Q, ... (I and O skipped).
move
delta (world-space, meters).
rotate
angleDeg around axis (default Y-up), pivoted at anchor (default the element’s own centroid).
setOPConfig
getOPConfig
getEditAnchors
applyEditAnchor
setOPMaterial
setOPGeometry
getAxesSnapshot
Types
GridOptions
GridHead
number
required
Diameter of the bubble on the XZ plane in world units.
number
required
Text size for the bubble label.
GridLabelMode
GridAxis
string
required
GridAxisCurve
required
{
start?: boolean;
end?: boolean;
}
Which endpoint(s) carry a bubble.