Generate Path from Contour