Pillow Script, request for method to put end points on factory curves.

 From:  bemfarmer
After many trials and tribulations, finally realized that the factory declaration was before the for loop.
Moved the factory declaration down 4 lines, inside the first for loop, and the script works just fine.
It was a fairly good learning experience though.
The script is set to just create the top half of the pillow. (Loft, and Mirror the bottom.)
The Height and Length of the pillow can be adjusted.
Used "interpcurve" curve type, which I believe is Through the points, versus "curve" type.
Hopefully there are not too many bugs.

Attached new Pillow3Web script.

Next up is escargot.

EDITED: 10 Aug 2013 by BEMFARMER