From ae1f522862099e51472fc70046f913348f49e6f3 Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 5 Apr 2023 01:29:33 +0200 Subject: Initial protoboard generation working --- gerbonara/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerbonara/utils.py') diff --git a/gerbonara/utils.py b/gerbonara/utils.py index 32954bd..47fb178 100644 --- a/gerbonara/utils.py +++ b/gerbonara/utils.py @@ -528,7 +528,7 @@ def point_in_polygon(point, poly): def bbox_intersect(a, b): (xa_min, ya_min), (xa_max, ya_max) = a - (xb_min, yb_min), (xb_mbx, yb_mbx) = b + (xb_min, yb_min), (xb_max, yb_max) = b x_overlap = not (xa_max < xb_min or xb_max < xa_min) y_overlap = not (ya_max < yb_min or yb_max < ya_min) -- cgit