Update python scripts examples according to recent changes in pcbnew code.

Add a new example to plot files
This commit is contained in:
jean-pierre charras
2018-08-01 16:32:37 +02:00
parent fc6547f5c0
commit b47ffd7054
4 changed files with 158 additions and 8 deletions
+1 -1
View File
@@ -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