Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / ModelRotation

Interface: ModelRotation โ€‹

Defined in: core/values/model-element.ts:17

An element's rotation about origin, in degrees per axis. Before 1.21.11 only one axis may be set.

Properties โ€‹

origin โ€‹

origin: [number, number, number]

Defined in: core/values/model-element.ts:18


rescale? โ€‹

optional rescale?: boolean

Defined in: core/values/model-element.ts:23

Scales the faces back up across the whole block after rotating.


x? โ€‹

optional x?: number

Defined in: core/values/model-element.ts:19


y? โ€‹

optional y?: number

Defined in: core/values/model-element.ts:20


z? โ€‹

optional z?: number

Defined in: core/values/model-element.ts:21

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.