Generate cartesian values for pins correctly

This commit is contained in:
Eren Dogan 2023-07-25 10:18:43 -07:00
parent 587d44e536
commit 47185f6085
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ class graph:
for shape in self.graph_blockages:
if not self.is_routable(shape):
continue
shape = shape.get_inflated_from()
aspect_ratio = shape.width() / shape.height()
# FIXME: Aspect ratio may not be the best way to determine this
# If the pin is tall or fat, add two points on the ends