Skip to main content

Import

Inheritance: extends THREE.Object3D

Constructor

Properties

string
string

Methods

add

Adds another Object3D as child of this Object3D.

Types

ElementType

IPlaceable

Implemented by every project-anchored element (walls, slabs, openings, datums) to translate and rotate by mutating their point-defining state and re-running setOPGeometry().

HasPropertySets

Mixed into an element’s options type wherever interoperable data is accepted.

OPEditableSchema

The full editable surface of an element type.
ReadonlyArray<string>
required
Ordered section names.
ReadonlyArray<OPEditableProp>
required

OPEditableProp

string
required
Dot-path into the element config (getOPConfig()), e.g. "elevation" or "head.diameter".
string
required
string
required
Section heading the prop is grouped under, e.g. "Geometry", "Appearance".
OPControl
required

OPControl

How a single editable property is rendered + constrained.

HasEditableSchema

Implemented by every element class as a static, per-type descriptor.

EditAnchor

string
required
Session-stable id, e.g. "v:outer:2". Stable across an in-place drag; refreshed on re-render after a topology change (insert/delete vertex). NOT a persistent per-vertex GUID.
"vertex" | "edge" | "edge-mid" | "height" | "elevation"
required
[ number, number, number ]
required
Anchor position in the element’s LOCAL frame. The host transforms it by the rendered object’s world matrix to place the handle.
EditAnchorDOF
required

EditAnchorDOF

Degrees of freedom for a single edit anchor — how the host may move it.

HasEditAnchors

Implemented by element classes that expose draggable geometry handles.

PropertySets

Named property sets owned by an element or spatial container.

PropertySet

PropertyValue

Last modified on October 11, 2026