Update python scripts examples according to recent changes in pcbnew code.
Add a new example to plot files
This commit is contained in:
@@ -49,7 +49,7 @@ e.SetShape(S_SEGMENT)
|
||||
module.Add(e)
|
||||
|
||||
# save the footprint to disk
|
||||
fpid = LIB_ID("FPC"+str(pads)) #the name in library
|
||||
fpid = LIB_ID("", "FPC"+str(pads)) #the curr lin nickname (empty) and the name in library
|
||||
module.SetFPID( fpid )
|
||||
|
||||
lib_name = "fpc40.pretty" #lib_path is actually a path, not a file
|
||||
|
||||
Reference in New Issue
Block a user