mecha-0.0.4: Mecha is a solid modeling language geared for machine design.Source codeContentsIndex
Language.Mecha.Solid
Synopsis
data Solid
sphere :: Double -> Solid
cone :: Double -> Double -> Double -> Solid
box :: (Double, Double) -> (Double, Double) -> (Double, Double) -> Solid
cube :: Double -> Solid
cylinder :: Double -> Double -> Solid
tube
Documentation
data Solid Source
show/hide Instances
sphere :: Double -> SolidSource
A sphere with diameter centered at origin.
cone :: Double -> Double -> Double -> SolidSource
A cone with base at the origin, given base diameter, top diameter, and height.
box :: (Double, Double) -> (Double, Double) -> (Double, Double) -> SolidSource

A hollow cylinder with base at the origin, given outer diameter, inner diamter, and height.

A box with ranges or X, Y, and Z positions.

cube :: Double -> SolidSource
A cube with edge length centered at origin.
cylinder :: Double -> Double -> SolidSource
A cylinder with base at the origin, given diameter and height.
tube
Produced by Haddock version 2.4.2