Skip to content

Commit

Permalink
Fix LCSC numbers appearing on silkscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
whmountains committed Oct 9, 2024
1 parent 1343670 commit dd073f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ def set_lcsc_value(fp, lcsc: str):
lcsc_field = field.GetName()
fp.SetField(lcsc_field, lcsc)

field = fp.GetFieldByName(lcsc_field)
field.SetVisible(False)

def get_valid_footprints(board):
"""Get all footprints that have a valid reference (drop all REF**)."""
Expand Down

0 comments on commit dd073f6

Please sign in to comment.