From 9a3b4e62930b1638b14d668367d692e1a5dc1844 Mon Sep 17 00:00:00 2001 From: andreika-git Date: Sat, 9 Dec 2023 23:05:00 +0200 Subject: [PATCH] Verbose error for negative positions in gerbers when the origin is wrong https://github.com/andreika-git/hellen-one/issues/350 --- bin/gen_iBOM.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gen_iBOM.py b/bin/gen_iBOM.py index 3097cee..ea81d03 100644 --- a/bin/gen_iBOM.py +++ b/bin/gen_iBOM.py @@ -60,7 +60,7 @@ def getCoords(pos, format): if format[2]: y = format[2] - y return [x, y] - sys.exit('Error! Cannot parse position ' + str(pos)) + sys.exit('Error! Cannot parse position ' + str(pos) + '. Possible reason is negative position, place origin into bottom left corner') def getSize(size, format): if type(size) is list: