summaryrefslogtreecommitdiff
path: root/gerbonara/cad/primitives.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-04-30 00:40:05 +0200
committerjaseg <git@jaseg.de>2023-04-30 00:40:05 +0200
commitf674f5d9af814bac3226202b1e911acc083118ca (patch)
tree846c87769a245f3fb682776e5f0c14fa4a356f94 /gerbonara/cad/primitives.py
parentfb61b4fa12a5662f92d0dbaa8314686656e97386 (diff)
downloadgerbonara-f674f5d9af814bac3226202b1e911acc083118ca.tar.gz
gerbonara-f674f5d9af814bac3226202b1e911acc083118ca.tar.bz2
gerbonara-f674f5d9af814bac3226202b1e911acc083118ca.zip
protoboard: add ALio layout by arief ibrahim adha
Diffstat (limited to 'gerbonara/cad/primitives.py')
-rw-r--r--gerbonara/cad/primitives.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/cad/primitives.py b/gerbonara/cad/primitives.py
index 28347b5..9a9a373 100644
--- a/gerbonara/cad/primitives.py
+++ b/gerbonara/cad/primitives.py
@@ -77,7 +77,7 @@ class Board:
for ko in self.keepouts:
if obj.overlaps(ko, unit=MM):
if keepout_errors == 'warn':
- warnings.warn(msg)
+ warnings.warn(f'Object with bounds {obj.bounding_box(MM)} [mm] hits one or more keepout areas')
elif keepout_errors == 'raise':
raise KeepoutError(obj, ko, msg)
return