Revert "Remove simplify function of open paths in makePolygons"
Revert "Remove simplify function of open paths in makePolygons"

This reverts commit d5532e0e2dcf380654fa68f719f116035f0ec04b.

Ultimaker/CuraEngine,Ultimaker/CuraEngine