Skip to main content

Function: topMost()

function topMost(shape, tolerance?): ShapeExtremumFilter;

Defined in: finders/helpers.ts:82

Creates a predicate selecting elements touching the shape's maximum Z bound.

Parameters

shape

AnyShape

tolerance?

number = 1e-6

Returns

ShapeExtremumFilter

Example

shape.fillet(2, (finder, shape) =>
finder.when(topMost(shape)).parallelTo("XY")
);