def _pathToPoints(self, path):
        path = SvgPath(path.get('d'))
        coords = path.getCoordList(self._steps, 
                                   self._length)

        return coords
Converts a path into points
dataset/ETHPy150Open boldport/pcbmode/pcbmode/utils/gerber.py/Gerber._pathToPoints