toPath3d

Creates a 3d path from this 2d path, with all Z values set to zero.