Skip to content

Commit

Permalink
[Quick Start][PCB Print][Added] Drill maps
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Jan 10, 2025
1 parent 3583205 commit 4754c56
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kibot/out_pcb_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -1744,6 +1744,10 @@ def get_conf_examples(name, layers):
if ly['layer'].endswith('.Mask'):
ly['color'] = '#14332440'
pages.append(page)
# Drill map
page = {'repeat_for_layer': 'User.Drawings', 'repeat_layers': 'drill_pairs', 'layers':
[{'layer': 'User.Drawings', 'color': '#000000'}, {'layer': 'Edge.Cuts', 'color': '#000000'}]}
pages.append(page)
ops = {'format': fmt, 'pages': pages, 'keep_temporal_files': True}
if fmt in ['PNG', 'SVG']:
ops['add_background'] = True
Expand Down

0 comments on commit 4754c56

Please sign in to comment.