object_polygon py port