jean-pierre charras
cfa75bb828
Scripting: fix erroneous extension for Sexp board files
...
Make scripting version compilable on platforms where the python executable is not python2 (define it by -DPYTHON_EXECUTABLE=<python executable filename>)
2013-01-16 13:38:30 +01:00
jean-pierre charras
7819efacf6
Kicad manager: fix a recent bug: project tree not updated when kicad is launched by a command line with a project name to open.
...
pcbnew: export vrml:
* move dialog functions in a new file: dialog_export_vrml.cpp.
* fix coding style issues
* patch add from cirilo Bernardo.
2013-01-13 17:55:07 +01:00
Dick Hollenbeck
8d5479ca1c
pcbnew/CMakeLists.txt formatting and librt fix
2013-01-12 18:34:16 -06:00
Miguel Angel Ajo
0fedf6b3eb
MacOSX compilation fixes
2013-01-10 23:10:05 +01:00
Dick Hollenbeck
f1af605d6c
when linking a DSO, require all symbols to be resolved
2013-01-04 17:02:10 -06:00
Wayne Stambaugh
16402d8180
Remove unused Geda footprint import source code file.
2013-01-03 16:51:26 -05:00
Dick Hollenbeck
45bd443184
1) Implement EAGLE_PLUGIN::FootprintLoad(), FootprintEnumerate(), and IsFootprintWritable().
...
2) Add PCAD_PLUGIN to _pcbnew.so for scripting, fixing a linking bug.
2013-01-01 22:05:48 -06:00
Alexander Lunef
40f4304b2f
Pcbnew: Add pcad2kicad pcb plugin, to import PCAD boards ( .pcb ASCII data file PCad 2000 format ) from Alexander Lunef
2012-12-29 10:54:25 +01:00
jean-pierre charras
b4f0230658
Pcbnew: fix Bug #1089120 . Also change "Length Die" expression to "Length Pad To Die" in code
2012-12-12 12:57:17 +01:00
Dick Hollenbeck
ae19bbfa33
add dialog for fp_lib_table
2012-10-15 17:30:01 -05:00
jean-pierre charras
c41bb774e4
Pcbnew: drill files creation: better dialog to create driil files, map files and report file. Code cleaning
2012-10-05 14:25:12 +02:00
jean-pierre charras
0e941708f4
Make scripting version compilable under Windows
2012-09-30 19:50:17 +02:00
jean-pierre charras
2d49ced742
Pcbnew: fix compil warning and a minor bug in plot negative (frame fer plotted in white therefore not visible).
...
minor code cleaning
2012-09-24 18:03:03 +02:00
jean-pierre charras
a9744e3f84
Pcbnew: added: SVG plotter. Need refinements, but works.
...
Mainly to plot drill maps, but can be used to plot boards, for documentation.
The print svg still exists, but the plot SVG has more options (mirroring, holes in pads),
however print svg allows color print, and full board printing, and plot does not.
2012-09-15 14:13:03 +02:00
jean-pierre charras
bb6795ddf1
Pcbnew: drag functions: serious cleanup and better code. Use now the connectivity functions to find tracks connected to pads,
...
and therefore tracks are now dragged when a end point is inside a pad, not necessary on the pad position.
However, drag functions still need more cleanup.
2012-09-11 09:33:17 +02:00
Lorenzo Marcantonio
fef8347176
Script plotting patch
2012-08-29 18:59:50 +02:00
jean-pierre charras
1f277fd66d
Remove Kbool from Kicad. Use Clipper instead.
2012-08-04 11:43:27 +02:00
Miguel Angel Ajo
b0881d8ec5
scripting: fixed kicad compilation, cleanups
2012-08-02 09:47:30 +02:00
Miguel Angel Ajo
894e6eb5ea
.dso -> .pyd is the right extension for python .dll WIN32
2012-07-22 14:19:52 +02:00
Miguel Angel Ajo
5d0dee1364
Adam Vašíček patches for WIN32 compilation of kicad scripting
2012-07-22 14:15:38 +02:00
Miguel Angel Ajo
465dabd919
Fixes Win32 compilation that my previous commit broke, thanks to JP
2012-07-16 16:48:51 +02:00
Miguel Angel Ajo
829e952e49
Python scripting and fixes for non-scripting compilation
2012-07-16 07:53:22 +02:00
Miguel Angel Ajo
863c1b4823
Merged with testing
2012-07-15 22:38:25 +02:00
Miguel Angel Ajo
2a9b8df888
Support for nanometer build, extra example
2012-07-15 22:01:05 +02:00
jean-pierre charras
018b080001
Pcbnew: Add keepout areas (Copper zones without tracks or/and vias).
...
This is *a work in progress*, so some features are missing, and/or could be modified.
Mainly keepout zones are not yet exported to autorouters, and pads are not taken in account.
Some code cleanup in polygon.*
2012-07-13 20:55:29 +02:00
Miguel Angel Ajo
db427cb2cd
merge with lp:kicad
2012-06-25 22:51:19 +02:00
jean-pierre charras
be832f8855
Pcbnew: move files relative to autoroute/autoplace to autorouter folder.
...
fix nanometer compatibility.
minor code and comments cleaning (although theses files need a lot of code cleaning)
2012-06-05 21:07:33 +02:00
Miguel Angel Ajo
b5c0cada0d
merges tip, conflict resolved
2012-06-03 22:21:53 +02:00
jean-pierre charras
52318f6988
Pcbnew: menu Edit/Reset modules fields size: Add dialog to select what modules are modified.
2012-05-29 14:25:10 +02:00
Marco Mattila
fd8bfe0cb1
Move pcbnew find dialog into dialogs subdirectory and use wxFormBuilder for it.
2012-05-28 23:01:51 +03:00
Dick Hollenbeck
5cda6bc1a6
eagle plugin first work
2012-05-20 08:14:46 -05:00
Miguel Angel Ajo
70df15175b
Footprint wizard, plus fixes
2012-05-16 11:35:18 +02:00
Dick Hollenbeck
ab001b902a
bring in skeleton for eagle_plugin and update boost for use of RapidXML within property_tree
2012-05-15 21:27:27 -05:00
Miguel Angel Ajo
c051c1a4a9
footprint wizard UI and footprint wizard lists
2012-05-10 01:04:08 +02:00
Miguel Angel Ajo
23bec4b80b
* Footprint wizard UI: Added to module editor.
...
* Footprint wizard C++ generic classes
* Footprint wizard C++ to python wrappers
* Automatic plugin loader from ~/.kicad/plugins
* Python plugin architecture: Footprint wizards
2012-05-09 19:37:25 +02:00
Miguel Angel Ajo
edee5dc1ce
KiCad scripting plugin architecture, footprint wizards first
2012-05-05 22:18:47 +02:00
Dick Hollenbeck
173c93969d
Remove zip library by switching to wxZlibOutputStream for PDF plotter.
...
Delete LEGACY_PLUGIN cache after deleting library of same name.
Remove automatically generted freerouter help header.
Add Normalize() to BOX2.
Clamp some values in the virtual space of drawframe.cpp
2012-05-04 23:55:36 -05:00
jean-pierre charras
4125ea7789
Gerbview: remove dependencies from Pcbnew.
...
Should allow Pcbnew code easier to change and Gerbview code more understandable and easier to maintain.
Code cleaning (remove dead code, add comments).
Minor other enhancements.
2012-05-04 19:44:42 +02:00
jean-pierre charras
61acac28e1
Add patch from Lorenzo Marcantonio. Fix some warning issues, and zlib issue under Windows (zlib sources added)
2012-05-03 20:37:56 +02:00
Miguel Angel Ajo
f35037238c
merged to testing, fixed some scripting imports
2012-04-30 18:05:22 +02:00
jean-pierre charras
fa3ebc4043
Define MM_TO_IU_SCALING_FACTOR (scaling factor from mm to internal units) only in convert_to_biu.h
...
Other scaling factors (MILS_TO_IU_SCALING_FACTOR and DECIMILS_TO_IU_SCALING_FACTOR)
also defined only in convert_to_biu.h.
Allows different scaling value for Gerbview.
Needs more tests.
2012-04-25 21:33:24 +02:00
Miguel Angel Ajo
aef92a345c
Merged to testing, needs some fixes
2012-04-21 22:04:02 +02:00
Dick Hollenbeck
3341669fc6
more footprint support for LEGACY_PLUGIN
2012-04-16 20:35:43 -05:00
Dick Hollenbeck
a42490e0f3
work on footprint plugin API
2012-04-15 22:18:41 -05:00
Miguel Angel Ajo
55c0eafd6f
merged testing branch
2012-04-14 23:18:27 +02:00
Miguel Angel Ajo
a201522f6b
lajos kamocsay compilation patches
2012-04-09 08:53:24 +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
Dick Hollenbeck
f8490ff4af
Remove g_PcbPlotOptions, use wxformbuilder to subclass DIALOG_SHIM on several dialogs
2012-04-05 13:27:56 -05:00
Alexander Zakamaldin
625e964c8d
Alexander's patches, with refinements
2012-03-26 16:45:05 -05:00
Miguel Angel Ajo
cd93e14d7d
fixed DEBUG build dependency...
2012-03-19 16:39:50 +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
970e033399
build _pcbnew DSO/DLL
2012-03-11 20:48:43 +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
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
jean-pierre charras
2153f4d1e2
Pcbnew: footprint placement file creation:
...
* Added a dialog to select options: one or 2 files, units (mm or inch), and force INSERT option.
* code cleaning
* Modify corresponding icon in menu to show a footprint, not a schematic component.
2012-02-15 11:41:16 +01:00
jean-pierre charras
197ace9e44
Modedit: add dialog to edit footprint body items. Fix also minor issues about footprint body items edition.
2012-02-12 20:39:37 +01:00
jean-pierre charras
fa470d5c4a
Pcbnew: Added: modview. This footprint viewer frame which has the same purpose as Viewlib in Eeschema.
...
this viewer is built using the new FOOTPRINT_VIEWER_FRAME class.
2012-02-09 21:33:38 +01:00
jean-pierre charras
f9e2f9dc77
Pcbnew and Cvpcb: more about new netlist support: see CHANGELOG (important changes).
...
Also commit updated icnos from Fabrizio.
2012-02-01 20:49:37 +01:00
jean-pierre charras
7eb1a136f1
Pcbnew: First draft to use a new netlist format ( containing the same info as the intermediate netlist, but using S expressions)
...
* Eeschema can generate this netlist format.
* Pcbnew can use (automatic identification) the current format or the new format.
* Cvpcb does not use yet the new format.
2012-01-26 10:37:36 +01:00
Dick Hollenbeck
4cbb5c5e94
tune the order of link libraries, based on estimated dependency sequence
2012-01-25 08:56:52 -06:00
Dick Hollenbeck
b8a0ab4c52
switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths
2012-01-22 22:33:36 -06:00
jean-pierre charras
ac74985685
All: fix hotkey issue with wxWidgets-2.9.3 (Window only): hotkey events called twice.
...
* Fix compil issue about automatically created pcb_plot_params.h :
pcb_plot_params.* moved from pcbnew to common because item_io.cpp (using this file) is compiled in common.
2011-12-08 19:23:44 +01:00
Dick Hollenbeck
c4979318d2
more plugin work
2011-12-06 23:28:49 -06:00
Dick Hollenbeck
fafd74ca6f
Fix problem with BOARD bounding box in saved *.brd files,
...
and TEXTE_MODULE size in kicad_plugin.
Link in io_mgr and kicad_plugin but do not call them yet
2011-12-05 11:22:19 -06:00
Dick Hollenbeck
2515a806ae
initial work on PCBNew PLUGIN support, in preparation for nanometer board load and save
2011-11-27 22:32:29 -06:00
jean-pierre charras
683921f98d
Eeschema: fix crash in intermediate netlist generation when a component has no pins (like logos or images).
...
Pcbnew: texts in dimensions can be now moved.
Gerbview: fix incorrect number of layers in export to pcbnew function.
2011-11-24 20:57:41 +01:00
jean-pierre charras
7c17187052
Pcbnew: Fix typo in 2 filenames. Add comments in ratsnest.cpp.
...
Fix bug 887202.
2011-11-07 19:04:19 +01:00
jean-pierre charras
936d831b82
Pcbnew: more work on a better algorithm to calculate the full ratsnest.
...
Lee algorithm replaced by a Minimun Spanning Tree algo (using Prim's algorithm ).
Tested on a 5350 pads board, it is more than 100 times faster.
Also fix a crash when clicking on tool "delete selected items" (main horizontal toolbar),
and remove this tool (currently, no code in Pcbnew for this tool)
2011-11-06 17:16:19 +01:00
jean-pierre charras
4cbcf56cee
remove useless USE_BOOST_POLYGON_LIBRARY cmake option, and remove unused files.
...
BOOST POLYGON is always used in zone filling functions.
Kbool is still in use in other calculations.
2011-10-25 18:24:56 +02:00
Wayne Stambaugh
2c251196c6
Minor dialog fixes and code cleaning.
...
* Grammar and spelling fixes in Eeschema, CvPcb, and Pcbnew path and
library dialog tool tips.
* Translate the French file name subrill.cpp to highlight.cpp.
* Lots of coding style policy fixes.
2011-10-17 16:01:27 -04:00
Wayne Stambaugh
1c4d925d1f
PCBNew locate footprint code refactoring and other minor fixes.
...
* Refactor locate footprint function into the board object.
* Remove locate.cpp as it is no longer needed.
* Actually remove track.cpp from repo that I missed on the last commit.
* Increase the size of the layer pair tool bar bitmap so that it looks
better with the new larger tool bar images.
* Fixes to prevent common headers from complaining when not included
in the correct order in source files.
2011-09-16 14:54:04 -04:00
Wayne Stambaugh
ab76e809ac
PCBNew trace mark code refactoring and other minor fixes.
...
* Refactor trace mark functions into the board object.
* Remove track.cpp as it is no longer needed.
* Dead code removal.
2011-09-16 11:54:50 -04:00
Wayne Stambaugh
cb78c9452b
Undo changes from my last commit that caused a trace drag bug.
2011-09-14 11:08:44 -04:00
Wayne Stambaugh
efc93aa52b
PCBNew locate code refactoring.
...
* Move various locate functions into the appropriate board item object.
* Unified best zoom for all frames derived from PCB_BASE_FRAME.
* Remove track.cpp as it is no longer needed.
* Dead code removal.
* Remove scary frame window pointer member from board item objects.
* Add draw bounding box to gerber draw item for debugging purposes.
2011-09-13 09:29:43 -04:00
jean-pierre charras
c50efb48d1
pcbnew: better code to read/modify/delete footprints in module libraries.
2011-07-06 18:40:54 +02:00
Marco Mattila
7ccdb5589d
Add saving of pcb plot settings in board files.
2011-01-29 00:54:16 +02:00
Dick Hollenbeck
ed8c021f63
++all:
...
* TokenList2DsnLexer.cmake now supports comments, which start with a leading
# character, and may be either on their own line or on a line after a token.
* DSNLEXER::PopReader() now pops even the last LINE_READER* and returns it.
++pcbnew:
* SPECCTRA_DB now inherits from new class SPECCTRA_LEXER, which led to a great
deal of simplification and code factoring.
* Moved specctra keywords into specctra.keywords.
2011-01-19 14:46:07 -06:00
Wayne Stambaugh
8c7017aa57
Fix CMake generated header build error in PCBNew.
2010-11-29 10:49:22 -05:00
jean-pierre charras
67d98658bc
minor cleanup. minor enhancements. Finish file housekeeping. add Bug 682586 fix from Mark van Doesburg.
2010-11-29 16:05:01 +01:00
jean-pierre charras
8e0937e6a2
Pcbnew: code cleaning, dialogs converted from Dialogblocks to wxFormBuilder, file housekeeping. Add patch from Manveru.
2010-11-27 14:09:18 +01:00
jean-pierre charras
1f47f8c6ed
Pcbnew: files housekeeping and code cleanup
2010-11-26 21:00:39 +01:00
jean-pierre charras
cdd9e8cabe
Pcbnew: code cleanup
2010-11-26 18:47:35 +01:00
jean-pierre charras
6963001a00
Fix very minor bugs. Boost update. Pcbnew: files housekeeping and code cleanup.
2010-11-26 12:55:34 +01:00
jean-pierre charras
95e0456b26
Pcbnew: files housekeeping.
2010-11-24 21:37:00 +01:00
jean-pierre charras
259d9a024c
Pcbnew: gen drill files code cleanup. Fix minor bug 680558
2010-11-24 16:10:33 +01:00
jean-pierre charras
814f4e435e
Code cleaning. Also fix gcc 4.5 compil warnings.
2010-11-21 19:28:32 +01:00
jean-pierre charras
f930894d9f
Common dialog file housekeeping. Code cleanup, and minor fixes.
2010-11-20 11:59:59 +01:00
jean-pierre charras
2cdce05d45
Pcbnew: minor code cleanup and enhancement in zone filling. Commit patch from Marco Mattila. Eeschema: minor bug fix about dangling ends. removed obsolete file
2010-11-18 14:38:08 +01:00
jean-pierre charras
bc9d521738
Eeschema: fix bug in load_one_schematic_file.cpp: error about files version, that create errors for hierarchical labels.
...
Pcbnew: cleaning code in block.cpp, and modifye previous way to calculate block size in block command, because old way creates unexpected behavior in block rotate and block flip.
Pcbnew: Fix a bug in plot silkscreen layers.
Cvpcb: Fix compilation issue under MACOX
2010-11-12 19:38:48 +01:00
Marco Serantoni
a8d5e06818
Gerbview: Added new LayerBox
2010-11-04 22:43:42 +01:00
Marco Serantoni
d65b648722
pcbnew: layer combo update, code cleanup
2010-11-03 00:13:56 +01:00
Dick Hollenbeck
961a51bdb3
CMAKE macro
2010-09-29 15:39:53 -05:00
jean-pierre charras
f1df65c51f
DRC code cleaning, and added DRC tests for trapezoidal pads. Needs more tests
2010-09-20 18:21:47 +02:00
jean-pierre charras
ed54bdfc9d
drc: more code cleaning. Added comments and fixed some erroneous comments. Fixed bug 638839.
...
fixed bug 641982 (I hope)
2010-09-18 19:55:08 +02:00
jean-pierre charras
f77121a57a
Fixed compatibility with wxWidegets 2.9.1.
...
Added hotkeys editor from David Turner, with a lot of enhancements and fixes
Added pins connections info in intermediate netlist for each compoment. This is redundant, but some netlist formats (ORCADPCB, PSPICE) are very easy to create with this redundant info.
2010-08-28 20:02:24 +02:00
jean-pierre charras
90621bef00
Updated boost to version 1.34
...
Added boost::polygon (experimental)
Added experimental zone fill calculations with boost::polygon
Added patches from Yury Khalyavin
2010-07-26 19:06:36 +02:00
jean-pierre charras
3097b919ed
Pcbnew: Added grid origin patch from Lorenzo Marcantonio. Converted set grid dialog from DialogBlocks to wxFormBuilder, and added in this dialog the grid origin parameters settings.
2010-07-13 12:42:32 +02:00