Skip to content

Commit

Permalink
[Drill Info][Changed] Now layer pairs are sorted
Browse files Browse the repository at this point in the history
- To make it more repeatable
- KiCad 9 seems to sort vias this way
  • Loading branch information
set-soft committed Jan 10, 2025
1 parent ef3918b commit 1f3e7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kibot/kicad/drill_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_unique_layer_pairs():
layer_pairs = [(pcbnew.F_Cu, pcbnew.B_Cu)]

# Add each unique layer pair individually to the list
for layer_pair in unique_layer_pairs:
for layer_pair in sorted(unique_layer_pairs):
layer_pairs.append(layer_pair)

return layer_pairs
Expand Down

0 comments on commit 1f3e7b2

Please sign in to comment.