Part: Fixed python representation of Part2DObject - fixes #1387