Skip to content

Commit

Permalink
Verbose error for negative positions in gerbers when the origin is wr…
Browse files Browse the repository at this point in the history
…ong #350
  • Loading branch information
andreika-git committed Dec 9, 2023
1 parent 85b2c71 commit 9a3b4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/gen_iBOM.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9a3b4e6

Please sign in to comment.