#1647 - getCurve exported to the Lua interpreter