Skip to content

Geom.section()

Description

Creating a section.

Syntax

JS
Geom.section(a: Shape, b: Shape) -> Shape

Parameters

Parameter Type Default Value Mandatory Description
a Shape ✅ First solid for calculating the section
b Shape ✅ Second solid for calculating the section

Return value

Type Description
Shape Object of type Shape, representing the result of the section of two solids.

Example

JS
1
2
3
4
let a = Geom.box(100, 100, 100)
let b = Geom.inflate(Geom.point3(50,50,50), Geom.vector(100, 100, 100))
let result = Geom.section(a, b)
console.info(result) // output:

See also

Last update: 14 August 2025, 18:47