flattenPath

Flatten the path to a 2D line