template and source for hardware projects
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import pcbnew
|
|
import sys
|
|
|
|
board = pcbnew.LoadBoard(sys.argv[1])
|
|
for fp in board.GetFootprints():
|
|
fp.Value().SetVisible(False)
|
|
fp.Reference().SetLayer(board.GetLayerID('F.Fab'))
|
|
|
|
board.Save(sys.argv[1])
|
|
|