Skip to content

Commit

Permalink
[Added] Check for PCB to W_MISSFPINFO
Browse files Browse the repository at this point in the history
See #741
  • Loading branch information
set-soft committed Dec 16, 2024
1 parent b476e4a commit 7373921
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kibot/bom/bom.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ def update_fields(self, conv, bottom_negative_x, x_origin, y_origin, angle_posit
self.fields[ColumnList.COL_FP_L] = comp.footprint
if uses_fp_info and not comp.has_pcb_info:
logger.warning(W_MISSFPINFO+'Missing footprint information for {}'.format(comp.ref))
if not GS.pcb_file:
logger.warning(W_MISSFPINFO+'Please provide a PCB file')
pos_x = (comp.footprint_x - x_origin) * conv
if bottom_negative_x and comp.bottom:
pos_x = -pos_x
Expand Down

0 comments on commit 7373921

Please sign in to comment.