NAME
lathe — a body of revolution, as a potter turns it
SYNOPSIS
lathe(profile, axis_origin, axis_dir, segs=24)
DESCRIPTION
Turns a profile of (radius, height) pairs round an axis. The normals come from the profile's slope. Each ear is a lathe: a rounded cone, wide at its base and pointed at its tip; Mochi's has a smaller pink one inside it.
PARAMETERS
profile: [(radius, height), …] from the base up, in metres. axis_origin: where the axis starts. axis_dir: which way it points. segs: slices round; 24 by default.
RETURN VALUE
(V, N, I).
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
