The script is now capable of creating rounded chamfered pads (special case of polygon pads that can be easily converted to have rounded corners)
Screenshot of the affected pads