From 306740f0f3cd21e4615e7732f58246e1fc38d307 Mon Sep 17 00:00:00 2001 From: mrg Date: Thu, 16 Jan 2020 19:27:59 +0000 Subject: [PATCH] Add empty minarea function --- compiler/base/pin_layout.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/compiler/base/pin_layout.py b/compiler/base/pin_layout.py index ea114ac6..a600d474 100644 --- a/compiler/base/pin_layout.py +++ b/compiler/base/pin_layout.py @@ -101,7 +101,14 @@ class pin_layout: max_y = max(max_y, pin.ur().y) self.rect = [vector(min_x, min_y), vector(max_x, max_y)] - + + def fix_minarea(self): + """ + Try to fix minimum area rule. + """ + min_area = drc("{}_minarea".format(self.layer)) + pass + def inflate(self, spacing=None): """ Inflate the rectangle by the spacing (or other rule)