Skip to content

Commit

Permalink
Do not treat text as PCB outline
Browse files Browse the repository at this point in the history
  • Loading branch information
yaqwsx committed Nov 4, 2024
1 parent 7228183 commit f15d085
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kikit/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def collectEdges(board, layerId, sourceArea=None):
continue
if isinstance(edge, pcbnew.PCB_DIMENSION_BASE):
continue
if isinstance(edge, pcbnew.PCB_TEXT):
continue
if not sourceArea or fitsIn(edge.GetBoundingBox(), sourceArea):
edges.append(edge)
return edges
Expand Down

0 comments on commit f15d085

Please sign in to comment.