kicad/pcbnew/swig
Miles McCoo d16a5c1d6c Changes to python interface enabling net->pads access.
Added new file connectivity.i to expose CONNECTIVITY_DATA to
python. enables access to d_pads from nets.

Added typemap to board_connected_item.i. since board_connected_item
doesn't use virtual inheritance, when returning a std::list of these
items, the typemap populates the return list with the child
types. This enables python scripts to use the full interface of those
classes (pad, track, zone)

Added typeinfo.i to enable passing a list of KICAD_T values to methods
GetNetItems. This list acts as a query filter. typeinfo.i is included
from pcbnew.i right after kicad.i (instead of in board.i like the
others) typeinfo.h is already being included kicad.i so to ensure the
typemap(s) are properly applied I put them next to each other.

The two new files (typeinfo.i and connectivity.i) were added to
pcbnew's CMakeLists.txt as dependencies.
2017-11-23 17:35:39 +01:00
..
tests Renamed D_PAD::{Set,Get}PadName() to D_PAD::{Set,Get}Name() 2017-09-19 18:23:50 +02:00
TODO.txt SWIG Improvements 2016-09-20 11:59:43 -04:00
board.i Changes to python interface enabling net->pads access. 2017-11-23 17:35:39 +01:00
board_connected_item.i Changes to python interface enabling net->pads access. 2017-11-23 17:35:39 +01:00
board_design_settings.i Cleanup SWIG's board.i, remove scrap *.{ref,orig} files, and add .pyc to .gitignore 2016-09-23 08:04:12 -04:00
board_item.i Add SWIG support for NETCLASSPTR. Reduce SWIG visibility from C++ headers. 2016-09-21 19:52:04 -04:00
board_item_container.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
connectivity.i Changes to python interface enabling net->pads access. 2017-11-23 17:35:39 +01:00
dimension.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
drawsegment.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
edge_mod.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
marker_pcb.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
module.i Add old python method FootprintEnumerate which did not word after changes in C++ code 2017-06-29 20:43:39 +02:00
netclass.i Minor Pcbnew Python scripting improvement. 2017-04-14 08:49:51 -04:00
netinfo.i fix swig warning 2016-09-22 15:42:42 -04:00
pad.i define SetPadName() and GetPadName() (old name of D_PAD::SetName() and GetName()) for compatibility with existing python scripts 2017-10-09 09:58:15 +02:00
pcb_target.i refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
pcb_text.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
pcbnew.i Changes to python interface enabling net->pads access. 2017-11-23 17:35:39 +01:00
pcbnew_action_plugins.cpp Fix incorrect refresh of User Interface after running an action plugin, and add comments 2017-08-27 08:13:35 +02:00
pcbnew_action_plugins.h Very minor change in some sources: replace in comments CHANGE_LOG.TXT AUTHORS.txt 2017-05-25 09:05:35 +02:00
pcbnew_footprint_wizards.cpp Very minor change in some sources: replace in comments CHANGE_LOG.TXT AUTHORS.txt 2017-05-25 09:05:35 +02:00
pcbnew_footprint_wizards.h Very minor change in some sources: replace in comments CHANGE_LOG.TXT AUTHORS.txt 2017-05-25 09:05:35 +02:00
pcbnew_scripting_helpers.cpp Eagle Project Import: Code cleanup and documentation. 2017-10-20 08:58:40 +02:00
pcbnew_scripting_helpers.h Fix incorrect refresh of User Interface after running an action plugin, and add comments 2017-08-27 08:13:35 +02:00
plugins.i Pcbnew: Add ACTION_PLUGINS class. It allows loading python scripts in footprint editor and run them from the Tools/External Plugins menu 2017-01-23 13:27:49 +01:00
python_scripting.cpp Fix shadowed variable in python_scripting.cpp 2017-03-10 09:08:45 +01:00
python_scripting.h Pcbnew: Fix a crash when reloading python scripts, when Kicad uses wxPython. 2017-01-28 18:47:11 +01:00
text_mod.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
track.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
typeinfo.i Changes to python interface enabling net->pads access. 2017-11-23 17:35:39 +01:00
units.i A few enhancements from a larger patch, not yet committed, for footprint wizards 2016-12-28 10:26:01 +01:00
zone.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
zone_settings.i Cleanup SWIG's board.i, remove scrap *.{ref,orig} files, and add .pyc to .gitignore 2016-09-23 08:04:12 -04:00