Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
6d643f70
Commit
6d643f70
authored
Mar 20, 2012
by
Miguel Angel Ajo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Board.Save, listPcb.py +x and updated TODO.txt
parent
cd93e14d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
TODO.txt
pcbnew/scripting/TODO.txt
+11
-1
board.i
pcbnew/scripting/board.i
+1
-1
listPcb.py
pcbnew/scripting/examples/listPcb.py
+1
-0
No files found.
pcbnew/scripting/TODO.txt
View file @
6d643f70
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)
pcbnew/scripting/board.i
View file @
6d643f70
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
def GetTrackWidthList(self): return self.m_TrackWidthList
def GetTrackWidthList(self): return self.m_TrackWidthList
def Save(self,filename):
def Save(self,filename):
return
pcbnew.
SaveBoard(filename,self)
return SaveBoard(filename,self)
}
}
}
}
...
...
pcbnew/scripting/examples/listPcb.py
100644 → 100755
View file @
6d643f70
#!/usr/bin/env python
import
sys
import
sys
from
pcbnew
import
*
from
pcbnew
import
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment