diff options
author | Chintalagiri Shashank <shashank.chintalagiri@gmail.com> | 2019-11-27 15:11:27 +0530 |
---|---|---|
committer | Chintalagiri Shashank <shashank.chintalagiri@gmail.com> | 2019-11-27 15:11:27 +0530 |
commit | 5288a8314b535d455e8635ee9a3a537cd795845b (patch) | |
tree | 4233452d40a23ab99d0aab5f977e63df632d3c70 /gerber/pcb.py | |
parent | 25b82c988578482fbb57f80d3d30bdf985a9a885 (diff) | |
parent | 0024c0b045a29621845f4f1b5ee1283e32e38887 (diff) | |
download | gerbonara-5288a8314b535d455e8635ee9a3a537cd795845b.tar.gz gerbonara-5288a8314b535d455e8635ee9a3a537cd795845b.tar.bz2 gerbonara-5288a8314b535d455e8635ee9a3a537cd795845b.zip |
Manual merge resolution
Diffstat (limited to 'gerber/pcb.py')
-rw-r--r-- | gerber/pcb.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gerber/pcb.py b/gerber/pcb.py index ba15161..56deaa3 100644 --- a/gerber/pcb.py +++ b/gerber/pcb.py @@ -95,6 +95,12 @@ class PCB(object): ('top', 'bottom', 'internal')])) @property + def outline_layer(self): + for layer in self.layers: + if layer.layer_class == 'outline': + return layer + + @property def layer_count(self): """ Number of *COPPER* layers """ |