mecha-0.0.3: Mecha is a solid modeling language geared for machine design.

Language.Mecha.Solid

Synopsis

data Solid Source

Instances

sphere :: SolidSource

A sphere with radius 1 centered at origin.

cube :: SolidSource

A sphere with edge length 2 centered at origin.

cylinder :: SolidSource

A cylinder with radius 1 and height 2 centered at origin.