Fixed Board.Save, listPcb.py +x and updated TODO.txt

This commit is contained in:
Miguel Angel Ajo 2012-03-20 07:34:23 +01:00
parent cd93e14d7d
commit 6d643f70b5
3 changed files with 13 additions and 2 deletions

View File

@ -1,4 +1,14 @@
iterator for NETCLASSES (NETCLASS) see class_netclass.h
* Tell swig(somehow) to forget automatic object deletion after adding
a BOARD_ITEM to BOARD object (it will be automatically deleted by BOARD,
leading to Segmentation Fault when unloading our python module (double free).
* implement iterator for NETCLASSES (NETCLASS) see class_netclass.h
* add MODULE::Add (see BOARD:Add), to make it more clean
* add wxSize implementation to wx.i and wx helpers (D_PAD uses it)

View File

@ -44,7 +44,7 @@
def GetTrackWidthList(self): return self.m_TrackWidthList
def Save(self,filename):
return pcbnew.SaveBoard(filename,self)
return SaveBoard(filename,self)
}
}

1
pcbnew/scripting/examples/listPcb.py Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env python
import sys
from pcbnew import *