jean-pierre charras
6d1e904334
Code cleanup: Remove outdated decimils to/from iu defines and conversion functions (decimils are no more in use since a long time).
...
Remove convert_from_iu.h file, only used for one define, and containing brokenand duplicate defines. Only convert_to_biu.h is now used.
2016-06-05 13:49:25 +02:00
jean-pierre charras
4bab8dde65
Fix some minor coverity warnings. Fix a bug in pcad2kicad plugin. Scripting: map BASE_SET. Rename some python bom scripts with better names. Fix erroneous comments and add comments
2015-03-02 09:28:49 +01:00
jean-pierre charras
6a19315557
Fix compat with swig 3.03
2015-01-04 08:19:04 +01:00
jean-pierre charras
f877a1159e
Fix python scripting issue (EDA_RECT not mapped)
2014-11-08 14:30:39 +01:00
jean-pierre charras
f55a436d58
map class CPolyLine (used in zones) in Python.
2014-11-06 16:27:22 +01:00
jean-pierre charras
7b13463302
change malformed comments in kicad.i
2014-10-22 13:16:20 +02:00
jean-pierre charras
c237838d00
python scripting: refinement for UTF8 class (from Miguel Ángel Ajo Pelayo) add __str__ method, usefull to print a UTF8 string.
...
Kicad manager: fix issues in file watcher: changes (adding/removing files) in project folder not seen by Kicad manager (perhaps due to changes in internal wxWidgets code between 2.9.5 and 3.0).
2014-10-21 18:34:51 +02:00
jean-pierre charras
f23bb59cd1
Python scripting: make UTF8 class accessible by python scripts. Add python method GetChars() to UTF8 class to get its char buffer.
...
See scripts/test_kicad_plugin.py for example.
2014-10-18 10:18:14 +02:00
jean-pierre charras
e6274f70b0
BOARD::Add(): fix an issue for tracks: parent not set (could be an issue only in python scripts, because the parent is set by the constructor)
...
*.i : fix coding style issues.
python method: add BOARD_ITEM Duplicate, which is a wrapper to Clone(). ( defined as Cast_to_BOARD_ITEM(selt.Clone()).Cast() )
update some .py examples.
2014-10-02 19:09:32 +02:00
jean-pierre charras
eb396a5e88
Fix footprint wizard issues. Fix export vrml incorrect Z position of items.
2014-07-02 15:08:28 +02:00
Miguel Angel Ajo
bbcd2c61d6
BOARD saving test
2014-02-09 00:21:47 +01:00
Povilas Kanapickas
7f12513c7e
Remove some uses of using namespace std.
2013-12-13 10:27:30 -06:00
jean-pierre charras
8caef8f8b1
Make footprint wizards compatible with FPID changes (MODULE::SetLibRef changed to MODULE::SetFPID)
2013-11-01 16:29:50 +01:00
Miguel Angel Ajo
2a9b8df888
Support for nanometer build, extra example
2012-07-15 22:01:05 +02:00
Miguel Angel Ajo
974fe74f66
Cleanup toward test-merge
2012-07-06 21:10:55 +02:00
Miguel Angel Ajo
edee5dc1ce
KiCad scripting plugin architecture, footprint wizards first
2012-05-05 22:18:47 +02:00
Miguel Angel Ajo
42fad8a754
Exceptions handled on board Load/Save
2012-04-20 23:20:56 +02:00
Miguel Angel Ajo
55c0eafd6f
merged testing branch
2012-04-14 23:18:27 +02:00
Miguel Angel Ajo
96c1a50e00
BOARD::Add now it's wrapped in python and clears the .thisown flag on python to avoid GC from deleting the object later (BOARD will do)
2012-04-06 21:46:45 +02:00
Miguel Angel Ajo
173b869dcb
Compilation cleanup, TODO.txt update about library creation
2012-04-06 20:13:03 +02:00
Miguel Angel Ajo
cd93e14d7d
fixed DEBUG build dependency...
2012-03-19 16:39:50 +01:00
Miguel Angel Ajo
9ebe983eaa
* cleanups: board.i board_item.i separated from pcbnew.i
...
* dlist.i empty list fixed (Segfault)
* units.i: FromMM FromMils ToMM ToMils
* added a little example (listPcb.py) that shows most items in a board
2012-03-19 12:21:29 +01:00
Miguel Angel Ajo
9398eb9767
std::vector and std::string items
...
DLIST iterator code, now we can do:
for module in pcb.m_Modules:
print module.GetReference()
instead of:
module = pcb.m_Modules
while module:
print module.GetReference()
module = module.Next()
or even:
module_list = list(pcb.m_Modules)
2012-03-19 09:36:38 +01:00
Miguel Angel Ajo
06c570bab3
* More cleanup (common wrappers moved to scripting, instead of pcbnew/scripting)
...
* Added a first test 'testLoadSave.py'
2012-03-17 18:30:03 +01:00