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




data Asm Source

The Asm holds all the parts and sub-assemblies.

part :: Solid -> AsmSource

Place a part (Solid) in an assembly.

assemble :: [Asm] -> AsmSource

Assemble multiple sub-assemblies together.

view :: FilePath -> Vector -> Vector -> Asm -> IO ()Source

Generate a POVRay file given a file name, camera location, target location, and assembly.