Skip to content

Geom.unify()

Description

Simplifies the geometric representation of an object by removing unnecessary edges and merging faces.

Syntax

JS
Geom.unify(shp: Shape) -> Shape

Parameters

Parameter Type Default Value Required Description
shp Shape ✅ Object for the operation simplification

Return value

Type Description
Shape Object of type Shape, result of simplification

Example

JS
1
2
3
let box = Geom.box(100, 100, 100)
let s = Geom.unify(box)
console.info(s) // output:
Last update: 14 August 2025, 18:47