Skip to main content

Mirror

Extends BooleanOperation

Inherited from BooleanOperation

add()​

add(): this

Additive boolean operation — fuses the result with all intersecting scene objects. Use .scope() to target specific objects.


'new'()​

'new'(): this

No boolean operation — keeps the result as a standalone shape, separate from all other scene objects.


remove()​

remove(): this

Subtractive boolean operation — cuts the result from all intersecting scene objects. Use .scope() to target specific objects.


scope()​

scope(...objects: SceneObject[]): this

Narrows the boolean operation scope to specific target objects. Must be chained after .add() or .remove().

ParameterTypeDescription
...objectsSceneObject[]The target objects to operate on. (optional)
Inherited from SceneObject

name()​

name(value: string): this

Sets a custom display name for this object, overriding the default type-based name.

ParameterTypeDescription
valuestringThe display name to assign.

Methods​

exclude()​

exclude(...objects: SceneObject[]): this

Excludes the given objects from the mirror operation. Useful when mirroring "everything" but a few specific objects should be skipped, or when narrowing an explicit target list.

ParameterTypeDescription
...objectsSceneObject[]The objects to exclude from mirroring. (optional)