update & extend lathe-mesh fn, add docs