Skip to content

Geom.fillet()

Description

The fillet operation rounds the body. If the body is volumetric - modifications are applied to edges. If it's flat - vertices. Fillet values are defined by radius r and a mask of closest points refs for modifying edges/vertices.

Syntax

JS
Geom.fillet(shp: Shape, r: Number) -> Shape
Geom.filtet(shp: Shape, r: Number, refs: Array<Point3>) -> Shape

Parameters

Parameter Type Description
shp Shape The body to be filleted.
r Number The radius of the fillet.
refs Array<Point3> An array of closest points refs to edges/vertices, subject to filleting.

Return value

Type Description
Shape An object of type Shape, the result of the fillet operation.

Example

JS
1
2
3
let box = Geom.box(100, 100, 100);
let s = Geom.fillet(box, 1);
console.info(s); // output:

See also

Geom.chamfer

Last update: 15 August 2025, 14:32