diff options
author | jaseg <git@jaseg.de> | 2021-10-07 11:13:12 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-10-07 11:13:12 +0200 |
commit | 4565712869ef4269d62de593a245ca8d001c4ea9 (patch) | |
tree | 32a8a2245e11c8dfad9bbd486ab7678a32b969c1 /gerbonara/gerber/panelize/composition.py | |
parent | dd8944709c5a48ccb52ba41a2310218770eb1669 (diff) | |
download | gerbonara-4565712869ef4269d62de593a245ca8d001c4ea9.tar.gz gerbonara-4565712869ef4269d62de593a245ca8d001c4ea9.tar.bz2 gerbonara-4565712869ef4269d62de593a245ca8d001c4ea9.zip |
WIP
Diffstat (limited to 'gerbonara/gerber/panelize/composition.py')
-rw-r--r-- | gerbonara/gerber/panelize/composition.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gerbonara/gerber/panelize/composition.py b/gerbonara/gerber/panelize/composition.py index 619a0cf..a30f959 100644 --- a/gerbonara/gerber/panelize/composition.py +++ b/gerbonara/gerber/panelize/composition.py @@ -8,9 +8,9 @@ from ..cam import FileSettings from ..gerber_statements import EofStmt from ..excellon_statements import * from ..excellon import DrillSlot, DrillHit -from . import rs274x +from .. import rs274x from . import excellon -from . import dxf +# from . import dxf class Composition(object): def __init__(self, settings = None, comments = None): @@ -29,8 +29,8 @@ class GerberComposition(Composition): def merge(self, file): if isinstance(file, rs274x.GerberFile): self._merge_gerber(file) - elif isinstance(file, dxf.DxfFile): - self._merge_dxf(file) +# elif isinstance(file, dxf.DxfFile): +# self._merge_dxf(file) else: raise Exception('unsupported file type') |