Skip to main content

subtract()

Subtracts the second shape from the first (boolean difference).

Returns: SceneObject

tip

See the guide for detailed usage examples.

Signatures​

subtract(object1: SceneObject, object2: SceneObject): SceneObject

Subtracts the second shape from the first (boolean difference).

ParameterTypeDescription
object1SceneObjectThe base shape
object2SceneObjectThe shape to subtract