@classmethod
    def from_cam(cls, camfile):
        filename = camfile.filename
        try:
            order = int(re.search(r'\d+', filename).group())
        except __HOLE__:
            order = 0
        return cls(filename, camfile, order)
dataset/ETHPy150Open curtacircuitos/pcb-tools/gerber/layers.py/InternalLayer.from_cam