Reference·JavaScript · @bimworks/viewer3dJavaScript

ObjectTransformOptions

Interface in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Interface

TypeScript#
interface ObjectTransformOptions

Options of Viewer3d.startObjectTransform

Members#

Member Kind Description
fillings Property Doors or windows are among the objects: their openings move with them (BUL TRANSFORM's default), and the mode bar offers to keep them (result.openings fals…
host Property The wall all of the objects (doors, windows) sit in: the move keeps them in it (along it and up and down, stopping at its ends; turns of 180° only), and the …
lengthUnit Property The unit of a length typed without one, default "mm" (Viewer3D-Next)
mode Property What a bare typed number means first (a length or an angle) and the hint; M and R switch while the tool runs
model Property The objects are a whole model (Manual alignment): one change for all of it, "the model" in the title; the new alignment is the stored one times `models[0].de…
onCancel Property Escape
onCommit Property Enter: the accumulated transformation

fillings#

TypeScript#
fillings?: boolean

Doors or windows are among the objects: their openings move with them (BUL TRANSFORM's default), and the mode bar offers to keep them (result.openings false: WITHOUT OPENINGS). Viewer3D-Next

host#

TypeScript#
host?: Iterable<Qid, any, any>

The wall all of the objects (doors, windows) sit in: the move keeps them in it (along it and up and down, stopping at its ends; turns of 180° only), and the wall is drawn see-through while a gesture runs. Viewer3D-Next

lengthUnit#

TypeScript#
lengthUnit?: string

The unit of a length typed without one, default "mm" (Viewer3D-Next)

mode#

TypeScript#
mode: "rotate" | "move"

What a bare typed number means first (a length or an angle) and the hint; M and R switch while the tool runs

model#

TypeScript#
model?: boolean

The objects are a whole model (Manual alignment): one change for all of it, "the model" in the title; the new alignment is the stored one times models[0].delta. Viewer3D-Next

onCancel#

TypeScript#
onCancel?: () => void

Escape

onCommit#

TypeScript#
onCommit?: (result: ObjectTransformResult) => void

Enter: the accumulated transformation