Module shape

Source

Enums§

Grouping
How to split a shape into one or more solids.

Functions§

cube
top, bottom, north, south, east, west
cylinder
A cylinder. two bases connected with planes. A simple wrapper around prism(). mats are the materials in the order: top, bottom, sides.
ellipse_verts
prism
A prism, cylinder, cone, frustum (truncated cone). Can be oblique (slanted) and/or truncated (angled bases). Returns an iter of Sides in the order: top base (if available), bottom base (if available), sides.
sphere
A sphere with topology similar to a globe. Made of layers of frustums with caps of cones.
sphere_disp
spike
A cone or spike with a base conected with triangles to a point. A simple wrapper around prism().
wedge
west/top slope, bottom, north, south, east