KiCad Pcbnew Python Scripting
|
Public Member Functions | |
def | GetLibraryFileDesc (self) |
def | GetLibraryDesc (self) |
def | SaveBoard (self, aFileName, aBoard, aProperties=None) |
def | LoadBoard (self, aFileName, aAppendToMe, aProperties=None, aProject=None) |
def | DoLoad (self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount) |
def | FootprintEnumerate (self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties=None) |
def | GetEnumeratedFootprint (self, aLibraryPath, aFootprintName, aProperties=None) |
def | FootprintExists (self, aLibraryPath, aFootprintName, aProperties=None) |
def | ImportFootprint (self, aFootprintPath, aFootprintNameOut, aProperties=None) |
def | FootprintLoad (self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None) |
def | FootprintSave (self, aLibraryPath, aFootprint, aProperties=None) |
def | FootprintDelete (self, aLibraryPath, aFootprintName, aProperties=None) |
def | CreateLibrary (self, aLibraryPath, aProperties=None) |
def | DeleteLibrary (self, aLibraryPath, aProperties=None) |
def | IsLibraryWritable (self, aLibraryPath) |
def | __init__ (self, *args) |
def | Format (self, aItem) |
def | GetStringOutput (self, doClear) |
def | SetOutputFormatter (self, aFormatter) |
def | Parse (self, aClipboardSourceInput) |
Public Member Functions inherited from pcbnew.PCB_IO | |
def | __init__ (self, *args, **kwargs) |
def | GetBoardFileDesc (self) |
def | CanReadBoard (self, aFileName) |
def | CanReadFootprint (self, aFileName) |
def | SetQueryUserCallback (self, aCallback) |
def | LoadBoard (self, aFileName, aAppendToMe, aProperties=None, aProject=None) |
def | GetImportedCachedLibraryFootprints (self) |
def | SaveBoard (self, aFileName, aBoard, aProperties=None) |
def | FootprintEnumerate (self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties=None) |
def | GetLibraryTimestamp (self, aLibraryPath) |
def | PrefetchLib (self, aLibraryPath, aProperties=None) |
def | ImportFootprint (self, aFootprintPath, aFootprintNameOut, aProperties=None) |
def | FootprintLoad (self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None) |
def | GetEnumeratedFootprint (self, aLibraryPath, aFootprintName, aProperties=None) |
def | FootprintExists (self, aLibraryPath, aFootprintName, aProperties=None) |
def | FootprintSave (self, aLibraryPath, aFootprint, aProperties=None) |
def | FootprintDelete (self, aLibraryPath, aFootprintName, aProperties=None) |
def | GetLibraryOptions (self, aListToAppendTo) |
def | footprintPyEnumerate (self, aLibraryPath, aExitOnError) |
def | FootprintEnumerate (self, libname) |
def | FootprintLibCreate (self, aLibraryPath, aProperties=None) |
def | FootprintLibDelete (self, aLibraryPath, aProperties=None) |
def | IsFootprintLibWritable (self, aLibraryPath) |
Properties | |
property | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
Properties inherited from pcbnew.PCB_IO | |
property | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
def pcbnew.PCB_IO_KICAD_SEXPR.__init__ | ( | self, | |
* | args | ||
) |
__init__(PCB_IO_KICAD_SEXPR self, int aControlFlags=(CTL_OMIT_INITIAL_COMMENTS|CTL_OMIT_FOOTPRINT_VERSION)) -> PCB_IO_KICAD_SEXPR
Reimplemented from pcbnew.PCB_IO.
def pcbnew.PCB_IO_KICAD_SEXPR.CreateLibrary | ( | self, | |
aLibraryPath, | |||
aProperties = None |
|||
) |
def pcbnew.PCB_IO_KICAD_SEXPR.DeleteLibrary | ( | self, | |
aLibraryPath, | |||
aProperties = None |
|||
) |
def pcbnew.PCB_IO_KICAD_SEXPR.DoLoad | ( | self, | |
aReader, | |||
aAppendToMe, | |||
aProperties, | |||
aProgressReporter, | |||
aLineCount | |||
) |
def pcbnew.PCB_IO_KICAD_SEXPR.FootprintDelete | ( | self, | |
aLibraryPath, | |||
aFootprintName, | |||
aProperties = None |
|||
) |
FootprintDelete(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None)
Reimplemented from pcbnew.PCB_IO.
def pcbnew.PCB_IO_KICAD_SEXPR.FootprintEnumerate | ( | self, | |
aFootprintNames, | |||
aLibraryPath, | |||
aBestEfforts, | |||
aProperties = None |
|||
) |
FootprintEnumerate(PCB_IO_KICAD_SEXPR self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, str_utf8_Map aProperties=None)
Reimplemented from pcbnew.PCB_IO.
def pcbnew.PCB_IO_KICAD_SEXPR.FootprintExists | ( | self, | |
aLibraryPath, | |||
aFootprintName, | |||
aProperties = None |
|||
) |
FootprintExists(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None) -> bool
Reimplemented from pcbnew.PCB_IO.
def pcbnew.PCB_IO_KICAD_SEXPR.FootprintLoad | ( | self, | |
aLibraryPath, | |||
aFootprintName, | |||
aKeepUUID = False , |
|||
aProperties = None |
|||
) |
FootprintLoad(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, str_utf8_Map aProperties=None) -> FOOTPRINT
Reimplemented from pcbnew.PCB_IO.
def pcbnew.PCB_IO_KICAD_SEXPR.FootprintSave | ( | self, | |
aLibraryPath, | |||
aFootprint, | |||
aProperties = None |
|||
) |
FootprintSave(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, FOOTPRINT aFootprint, str_utf8_Map aProperties=None)
Reimplemented from pcbnew.PCB_IO.
def pcbnew.PCB_IO_KICAD_SEXPR.Format | ( | self, | |
aItem | |||
) |
def pcbnew.PCB_IO_KICAD_SEXPR.GetEnumeratedFootprint | ( | self, | |
aLibraryPath, | |||
aFootprintName, | |||
aProperties = None |
|||
) |
GetEnumeratedFootprint(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None) -> FOOTPRINT
Reimplemented from pcbnew.PCB_IO.
def pcbnew.PCB_IO_KICAD_SEXPR.GetLibraryDesc | ( | self | ) |
def pcbnew.PCB_IO_KICAD_SEXPR.GetLibraryFileDesc | ( | self | ) |
def pcbnew.PCB_IO_KICAD_SEXPR.GetStringOutput | ( | self, | |
doClear | |||
) |
def pcbnew.PCB_IO_KICAD_SEXPR.ImportFootprint | ( | self, | |
aFootprintPath, | |||
aFootprintNameOut, | |||
aProperties = None |
|||
) |
ImportFootprint(PCB_IO_KICAD_SEXPR self, wxString aFootprintPath, wxString aFootprintNameOut, str_utf8_Map aProperties=None) -> FOOTPRINT
Reimplemented from pcbnew.PCB_IO.
def pcbnew.PCB_IO_KICAD_SEXPR.IsLibraryWritable | ( | self, | |
aLibraryPath | |||
) |
def pcbnew.PCB_IO_KICAD_SEXPR.LoadBoard | ( | self, | |
aFileName, | |||
aAppendToMe, | |||
aProperties = None , |
|||
aProject = None |
|||
) |
LoadBoard(PCB_IO_KICAD_SEXPR self, wxString aFileName, BOARD aAppendToMe, str_utf8_Map aProperties=None, PROJECT * aProject=None) -> BOARD
Reimplemented from pcbnew.PCB_IO.
def pcbnew.PCB_IO_KICAD_SEXPR.Parse | ( | self, | |
aClipboardSourceInput | |||
) |
def pcbnew.PCB_IO_KICAD_SEXPR.SaveBoard | ( | self, | |
aFileName, | |||
aBoard, | |||
aProperties = None |
|||
) |
SaveBoard(PCB_IO_KICAD_SEXPR self, wxString aFileName, BOARD aBoard, str_utf8_Map aProperties=None)
Reimplemented from pcbnew.PCB_IO.
def pcbnew.PCB_IO_KICAD_SEXPR.SetOutputFormatter | ( | self, | |
aFormatter | |||
) |
|
static |