lathe.mjs

Tools · A map or a diagram · MIT

What it does

Round parts on any axis: turn a profile into a shaded body (bells, flanges, valves, domes), with smooth shading for curved profiles, balls, saddle pads where a round part meets a curved one, ribs and bolt circles that fade at the edge, bands of one body that can be depth-sorted, and a rod that slides out of a gland. 55 exports.

Get it

import * as G from './kit/lathe.mjs'; const F = G.frameAlong(origin, axis); const body = G.lathe(profile, F, P);

Source on GitHub
Needs (the whole pack)

Node 20.10 or later for builds and checks, with nothing to npm install. Chrome for the checking scripts. React only for the React output. No API keys.

License

MIT

License notes are on the pack's page

From

Anatomy

Everything from Anatomy in the gallery

Back to the Asset Library