From 40286fc92fc05ce82cbad4615f497ba389ac9457 Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 19 Jan 2022 01:10:40 +0100 Subject: Remove unnecessary statement class indirection layer --- gerbonara/gerber/excellon.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'gerbonara/gerber/excellon.py') diff --git a/gerbonara/gerber/excellon.py b/gerbonara/gerber/excellon.py index 0129867..e827c3f 100755 --- a/gerbonara/gerber/excellon.py +++ b/gerbonara/gerber/excellon.py @@ -26,7 +26,7 @@ from collections import Counter from .cam import CamFile, FileSettings from .graphic_objects import Flash, Line, Arc from .apertures import ExcellonTool -from .utils import Inch, MM +from .utils import Inch, MM, InterpMode def parse(data, settings=None): return ExcellonFile.parse(data, settings=settings) @@ -208,11 +208,6 @@ class ProgramState(Enum): ROUTING = 2 FINISHED = 2 -class InterpMode(Enum): - LINEAR = 0 - CIRCULAR_CW = 1 - CIRCULAR_CCW = 2 - class ExcellonParser(object): def __init__(self, settings=None): -- cgit