waterfall-cad-0.5.1.0: Declarative CAD/Solid Modeling Library
Safe HaskellNone
LanguageHaskell2010

Waterfall.Loft

Description

Loft is a method to create smooth 3D shapes.

Analagous to the lofting process in boat building. A loft is defined by planar cross-sections of the desired shape at chosen locations. These cross-sections are then interpolated to form a smooth 3d shape.

Synopsis

Documentation

pointedLoftWithPrecision Source #

Arguments

:: Double

The loft precision, this should be a small value, e.g. 1e-6

-> Maybe (V3 Double)

Optional start point for the loft

-> [Path]

Series of cross-sections that the loft will pass through

-> Maybe (V3 Double)

Optional end point for the loft

-> Solid 

like pointedLoft, but allows the user to set the precision used by the underlying algorithm

pointedLoft Source #

Arguments

:: Maybe (V3 Double)

Optional start point for the loft

-> [Path]

Series of cross-sections that the loft will pass through

-> Maybe (V3 Double)

Optional end point for the loft

-> Solid 

Form a Loft which may terminate at defined points.

If the start or end points are set to Nothing then one end of the loft will be the terminal cross-section. Otherwise, the loft will interpolate to that point.

loft Source #

Arguments

:: [Path]

Series of cross-sections that the loft will pass through

-> Solid 

Form a loft between a series of cross-sections.