Skip to content

Function Lookup

A pointer to brepjs's auto-generated alphabetical index. The full table is regenerated from source on every release and lives at docs/function-lookup.md in the repository.

How to use it

Each entry maps a symbol to its sub-path:

box                   topology
cylinder              topology
fillet                topology
sketchCircle          sketching
exportSTEP            io
measureVolume         measurement
edgeFinder            query

To import any symbol, you can either go through the main entry:

typescript
import { box, fillet, sketchCircle, exportSTEP } from 'brepjs';

…or use the sub-path for smaller autocomplete:

typescript
import { box, fillet } from 'brepjs/topology';
import { sketchCircle } from 'brepjs/sketching';
import { exportSTEP } from 'brepjs/io';

Read the full lookup

The complete index is one of:

Available sub-paths

Sub-pathContents
brepjs/coreResult, errors, vectors, planes, branded types, disposal
brepjs/topologyPrimitives, booleans, modifiers, mesh, healing
brepjs/operationsExtrude, loft, sweep, patterns, assembly, history
brepjs/2dDrawings, 2D curves, 2D booleans
brepjs/sketchingSketcher, drawing-to-sketch, sketch-to-shape ops
brepjs/queryEdge / face / wire / vertex finders
brepjs/measurementVolume, area, length, distance, curvature
brepjs/ioSTEP, IGES, BREP, STL, OBJ, glTF, DXF, 3MF, SVG
brepjs/workerWorker RPC client / server
brepjs/quickAuto-init re-export of everything (top-level await)

When the lookup says one thing and TypeDoc says another

The lookup is regenerated on every release; TypeDoc is regenerated on every CI build of main. They should agree, but in transitional periods (between a function being added and the lookup being regenerated) there can be a window where the lookup is stale. TypeDoc is authoritative. If the two disagree, file an issue and the lookup will be regenerated.

Regenerating the lookup

If you're a contributor:

bash
npm run docs:generate-lookup

The pre-commit hook reminds you to run this when *Fns.ts files have changed.

Next steps

Released under the Apache 2.0 License.