LATHE(3VRM)Pyon manual · Mochi and Onigiri as VRM 1.0 avatars (tools/make-vrm.py, Python)LATHE(3VRM)

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

rot_to(3vrm), mochi(3vrm), onigiri(3vrm)

SOURCE

tools/make-vrm.py, line 124

AUTHOR

Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0