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
173b869d
Commit
173b869d
authored
Apr 06, 2012
by
Miguel Angel Ajo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compilation cleanup, TODO.txt update about library creation
parent
3f761c89
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
1 deletion
+27
-1
TODO.txt
pcbnew/scripting/TODO.txt
+14
-0
pcbnew.i
pcbnew/scripting/pcbnew.i
+5
-0
kicad.i
scripting/kicad.i
+8
-1
No files found.
pcbnew/scripting/TODO.txt
View file @
173b869d
...
...
@@ -7,6 +7,20 @@
* add MODULE::Add (see BOARD:Add), to make it more clean
* Saving modules to library (in librairi.cpp)
see:
- void PCB_EDIT_FRAME::ArchiveModulesOnBoard( const wxString& aLibName, bool aNewModulesOnly )
- bool PCB_BASE_FRAME::Save_Module_In_Library( const wxString& aLibName,
MODULE* aModule,
bool aOverwrite,
bool aDisplayDialog )
What do we do about this?, ask Dick, these functions should be transplanted
to kicad plugin?
pcbnew/scripting/pcbnew.i
View file @
173b869d
...
...
@@ -31,6 +31,11 @@
%module pcbnew
%include "kicad.i"
// ignore a couple of items that generate warnings from swig built code
%ignore BOARD_ITEM::ZeroOffset;
%ignore D_PAD::m_PadSketchModePenSize;
// this is what it must be included in the wrapper .cxx code to compile
%{
...
...
scripting/kicad.i
View file @
173b869d
...
...
@@ -53,6 +53,11 @@
%ignore InitKiCadAbout;
%ignore GetCommandOptions;
%rename(getWxRect) operator wxRect;
%ignore operator <<;
%ignore operator =;
%{
#include <cstddef>
#include <dlist.h>
...
...
@@ -60,8 +65,10 @@
#include <common.h>
#include <wx_python_helpers.h>
#include <cstddef>
#include <vector>
#include <vector>
using namespace std;
#include <class_title_block.h>
#include <class_colors_design_settings.h>
#include <class_marker_base.h>
...
...
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