Reference·JavaScript · @bimworks/viewer3dJavaScript

ExtrusionDrawingResult

Interface in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Interface

TypeScript#
interface ExtrusionDrawingResult

What ExtrusionDrawingOptions.onCommit receives; points in the measurement frame, mm

Members#

Member Kind Description
coordinates Property
editOid Property The oid of the edited extrusion, null for a new one
heightMm Property Signed: negative extrudes against the normal
normal Property
origin Property
preview Property The drawn solid, still shown until removed
u Property The footprint plane's first axis

coordinates#

TypeScript#
coordinates: (vec3)[]

editOid#

TypeScript#
editOid: number | null

The oid of the edited extrusion, null for a new one

heightMm#

TypeScript#
heightMm: number

Signed: negative extrudes against the normal

normal#

TypeScript#
normal: vec3

origin#

TypeScript#
origin: vec3

preview#

TypeScript#
preview: { remove: () => void }

The drawn solid, still shown until removed

u#

TypeScript#
u: vec3

The footprint plane's first axis