a simple code to extract to middle point of polygons from gerber files to txt files