diff options
Diffstat (limited to 'gerber')
-rw-r--r-- | gerber/primitives.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gerber/primitives.py b/gerber/primitives.py index c0a6259..4c027d2 100644 --- a/gerber/primitives.py +++ b/gerber/primitives.py @@ -899,8 +899,8 @@ class Drill(Primitive): def to_metric(self):
if self.units == 'inch':
self.units = 'metric'
- self.position = tuple(map(metric, self.position))
- self.diameter = metric(self.diameter)
+ self.position = tuple(map(metric, self.position))
+ self.diameter = metric(self.diameter)
def offset(self, x_offset=0, y_offset=0):
self.position = tuple(map(add, self.position, (x_offset, y_offset)))
|