Build System
a602c1b2fe
Adds target to build doxygen-python documentation, that take
...
pcbnew.py + doxygen-xml files, and build .i files with docstrings,
those .i files are included back again to build a pcbnew.py with
extended documentation from C++, finally we take the final pcbnew.py
to build the doxygen-python documentation
2013-09-20 21:01:21 +04:00
Dick Hollenbeck
4612ef9d50
switch to new s-expression format for footprint exports, use english layernames for naked footprints, dodge conflict with pythons HAVE_GETC_UNLOCKED
2012-11-10 00:39:18 -06:00
Lorenzo Marcantonio
fef8347176
Script plotting patch
2012-08-29 18:59:50 +02:00
Miguel Angel Ajo
edee5dc1ce
KiCad scripting plugin architecture, footprint wizards first
2012-05-05 22:18:47 +02:00
Miguel Angel Ajo
f35037238c
merged to testing, fixed some scripting imports
2012-04-30 18:05:22 +02:00
Miguel Angel Ajo
b939f3bc2f
C++ plugin exceptions correctly handled now
2012-04-24 22:28:23 +02:00
Miguel Angel Ajo
5157657eba
merged to last testing, also added automatic file extension detection on save/load
2012-04-22 13:14:58 +02:00
Miguel Angel Ajo
42fad8a754
Exceptions handled on board Load/Save
2012-04-20 23:20:56 +02:00
Miguel Angel Ajo
0cdc5c59ab
detect building status of the swig .py file (on parallel make builds). Fix unit conversion returns (From_xxx) to integer, what's all the wxPoint/wxRect/wx.. expect. Extended createPcb.py example
2012-04-09 08:19:57 +02:00
Miguel Angel Ajo
be15057977
Fixed wxSize bug, wxPoint(double,double) support, units. Fixed GetBoard wasn't accessible at every build. Extended example for board creation (now adds pads). Also fixed the _pcbnew loading from pcbnew which should only go to the internal _pcbnew and not the _pcbnew.so/dso. Right installation path for _pcbnew.so (in linux only)
2012-04-08 16:25:49 +02:00
Miguel Angel Ajo
485ec24f61
Add method for MODULE in python that takes care of memory handling
2012-04-06 22:38:32 +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
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
7a25604161
fixed ident tabs
2012-03-19 08:40:43 +01:00
Miguel Angel Ajo
b28dbd31c3
Cast() method to cast down classes from BOARD_ITEM to all childs
2012-03-18 22:35:51 +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
Miguel Angel Ajo
f422350605
pcbnew_scripting_helpers.cpp/h to handle generic scripting tools
...
CMakeLists.txt options to build scripting or scripting modules
2012-03-17 16:17:13 +01:00
Miguel Angel Ajo
ec5757a4fa
code cleanup, io_mgr and kicad_plugin included when enabled in cmake...
2012-03-11 20:07:10 +01:00
Miguel Angel Ajo
562d2461aa
wxString, wxPoint and wxChar wrappers
2012-03-10 22:40:41 +01:00
Miguel Angel Ajo
3dacab9691
wxPoint + more lists
2012-03-05 23:49:49 +01:00
Miguel Angel Ajo
b21dbd9561
Added a starting scripting dialog for tests
2012-03-01 08:21:53 +01:00
Miguel Angel Ajo
d7692cd115
SWIG+Python initial scripting support added.
...
It does nothing but loading and initializing right now.
2012-02-28 22:30:46 +01:00