Skip to content

Commit

Permalink
[PCB Print] Avoid warnings about SHEETPATH
Browse files Browse the repository at this point in the history
- Not used for PCBs
- KiCad defines it as empty

See #532
  • Loading branch information
set-soft committed Dec 18, 2023
1 parent e72bbd0 commit 53aa79c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kibot/out_pcb_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ def fill_kicad_vars(self, page, pages, p):
vars['TITLE'] = tb.GetTitle()
vars['FILENAME'] = GS.pcb_basename+'.kicad_pcb'
vars['SHEETNAME'] = p.sheet
vars['SHEETPATH'] = '' # Only relevant for an schematic
layer = ''
for la in p.layers:
if len(layer):
Expand Down

0 comments on commit 53aa79c

Please sign in to comment.