produced for develop the chined hull surface of a sailing boat. (stitch and glue construction)
developing the surface formed by two curves, in case the chines of the hull.
considers bow and stern vertical lines!
text about surface development - Working With Developable Surfaces
source for eclipse
library uses gnu gsl (gnu scientific library)
see usage example (by google translator)
USE OF ZigZag
./zigzag [kind of interp.] [intervals] [curveA_3d] [curveB_3d]
kind of interp - AA - akima akima
LL - linear linear
AL - akima linear
LA - linear akima
intervals - the number of elements in the mesh. ( better value near 500 in my test )
curveA - 3d file of points of the curve A.
curveB - curve B.
recommend using the largest dimension of the plate as x.
Always start and end with the same x curves.
obs: see more about interpolation on gsl documentation
FORMAT OF CURVES: (dimensionless values)
X Y Z
Result: 2 rows of flattened surface with ends connected by straight!
Consider the surface formed by a line that runs vertically through the two curves,
seems to be enough in a hull chined with little deformation.