jean-pierre charras
3668f4ccc3
Pcbnew: cleanup functions: now, cleanup uses same algorithm as connectivity calculations to detect pads connections, and is faster.
...
therefore tracks which have a end point inside a pad, but not necessaryexactly to the pad position are seen as connected, and are no more removed.
Side effect: reconnect to pads option is removed, because it is useless.
TODO: use this algorithm in drag functions.
Minor other fixes
2012-09-07 21:29:44 +02:00
Lorenzo Marcantonio
7d154606be
Substituted the few remaining uses of long instead of time_t
2012-09-05 14:13:33 +02:00
Lorenzo Marcantonio
e771112259
Enforced EDA_COLOR_T type and minor const-ification
2012-09-02 14:06:47 +02:00
Lorenzo Marcantonio
082d901d60
Encapsulated drawmode as an enum for type checking
2012-09-01 15:38:27 +02:00
jean-pierre charras
f301b196ab
Modedit: very minor enhancements.
2012-08-31 21:19:48 +02:00
Marco Mattila
eaf4919ef8
Take pad clearance into account in intersection detection during pcbnew zone filling.
2012-08-31 21:43:09 +03:00
jean-pierre charras
e6dd5128fa
Pcbnew: fix bug: deleting a cutout in a zone was not undoable.
2012-08-31 17:59:14 +02:00
jean-pierre charras
92b43c7407
Fix 0 length segment in outline zone creation, that breaks zone chamfer option.
2012-08-31 15:58:23 +02:00
jean-pierre charras
37ee239449
Pcbnew: in SVG export, add option to export only the board area, not the full page.
...
dialog plot functions: fix compil warnings with wxWidgets 2.8
2012-08-31 09:43:37 +02:00
Lorenzo Marcantonio
ba6da604cc
Refactored PCB plot infrastructure
...
Removed filename from the BASE_SCREEN class
Scripting support for board plot
2012-08-30 21:25:12 +02:00
Lorenzo Marcantonio
137066e53c
Fully encapsulated with accessors PCB_PLOT_PARAMS
2012-08-30 20:06:13 +02:00
Lorenzo Marcantonio
7cef5395b3
Minor plot driver enhancements
2012-08-29 22:13:47 +02:00
Lorenzo Marcantonio
b44d719446
Removed PCB_BASE_FRAME::m_printBorderAndTitleBlock (all dead code)
2012-08-29 20:34:34 +02:00
Lorenzo Marcantonio
94fdc674aa
Added 'parachute' std::exception handling to python interface
2012-08-29 19:32:14 +02:00
Lorenzo Marcantonio
a2c75829f9
Fixed compilation with unicode (wxString to printf without GetChars)
2012-08-29 19:28:33 +02:00
Lorenzo Marcantonio
fef8347176
Script plotting patch
2012-08-29 18:59:50 +02:00
jean-pierre charras
79d55c0460
Minor cosmetic enhancements.
...
Kicad manager: shows now svg files in tree files.
Pcbnew: fix incorrect printing (board out of page) when creating drill map in postscript format ( noticeable mainly for small boards)
2012-08-29 14:40:09 +02:00
Lorenzo Marcantonio
96bf0a5460
Missing a wxT in call to LogDebug
2012-08-29 13:28:37 +02:00
Dick Hollenbeck
5b9c354759
wxFileName::CreateTemporaryFile() is switching to /tmp directory when no preceding path is present
2012-08-28 10:41:08 -05:00
jean-pierre charras
a4de3018d7
Pcbnew: Fix bug 1042394 and very minor code cleaning.
2012-08-28 08:51:18 +02:00
jean-pierre charras
b19cc14ef2
3d-viewer and polygon functions: remove duplicate code about conversion from basic shapes to polygons.
2012-08-23 21:15:58 +02:00
Marco Mattila
2dbb428b23
Fix pcbnew thermal stub removal for pads with locally defined thermal properties.
2012-08-22 23:16:21 +03:00
jean-pierre charras
0ebc3f063e
3D-viewer: code cleanup.
...
Eeschema: annotate and netlist dialogs: enhancements.
Minor coding policy fixes and changes.
2012-08-21 12:45:54 +02:00
Dick Hollenbeck
367bfb4e14
fix problem with eeschema print dialog showing up on missing monitor
2012-08-15 12:55:48 -05:00
Dick Hollenbeck
6bb2fce7d9
legacy plugin fully support text horiz/vert justification, eagle plugin text fixes
2012-08-11 14:14:45 -05:00
jean-pierre charras
abe5c08e20
3D-viewer: code cleaning. Added option in menu: show a 3D grid.
...
All: press ctrl+shift key when moving the mouse allows the graphic cursor to be moved outside the grid.
(useful to place graphic objects, texts in any position, regardless the current grid)
2012-08-11 14:52:13 +02:00
Dick Hollenbeck
7c3f47ec5a
fixes for plugins
2012-08-11 00:50:17 -05:00
Miguel Angel Ajo
f80357cb1a
pcbnew: Show/Hide button for scripting console
2012-08-10 23:53:50 +02:00
Miguel Angel Ajo
c7d6dad7e0
pcbnew: fix bug 1033510 that crashes pcbnew when no footprint wizard is selected
2012-08-06 22:41:41 +02:00
Miguel Angel Ajo
ccb74b99d3
pcbnew: footprint wizards now can export the output module to the library or board
2012-08-05 00:15:57 +02:00
jean-pierre charras
9d5e271334
Pcbnew: fix a minor issue in non copper zones when creating the solid filled areas.
2012-08-04 18:33:04 +02:00
jean-pierre charras
1f277fd66d
Remove Kbool from Kicad. Use Clipper instead.
2012-08-04 11:43:27 +02:00
jean-pierre charras
7fd24c7f03
Very minor fixes.
2012-08-03 17:43:15 +02:00
jean-pierre charras
4ff3a78de0
Eeschema: fix crash when changing a label type to an other label type during creation.
...
Pcbnew: code cleaning in polygon functions
2012-08-02 19:36:14 +02:00
Miguel Angel Ajo
4d2def3593
scripting + pcbnew: Merged with scripting branch, now it supports -DKICAD_SCRIPTING_WXPYTHON for full wx integration with python
2012-08-02 19:31:39 +02:00
Miguel Angel Ajo
89dd074841
pcbnew scripting: cleanup, renamed KICAD_SCRIPTING_EXPERIMENT to KICAD_SCRIPTING_WXPYTHON, now every flavour compiles
2012-08-02 19:24:53 +02:00
jean-pierre charras
3b56ea6732
Eeschema: fix crash when changing a label type to a global label during creation.
...
Pcbnew: code cleaning in polygons
2012-08-02 15:23:53 +02:00
Miguel Angel Ajo
b0881d8ec5
scripting: fixed kicad compilation, cleanups
2012-08-02 09:47:30 +02:00
Miguel Angel Ajo
5140c348cd
pcbnew: wxPyBeginBlockThreads before every python call
2012-08-01 14:50:21 +02:00
Miguel Angel Ajo
beec323603
Double Python initialization fixed
2012-08-01 13:54:20 +02:00
jean-pierre charras
ef39c5f38e
PolyLine and math_for_graphics code cleanup: remove arc support in CPolyLine class:
...
This is an obscure legacy code from FreePCB, never used, never tested, never maintained.
2012-08-01 10:08:37 +02:00
jean-pierre charras
90a6daa722
Cleanup math_for_graphic code
2012-08-01 09:07:56 +02:00
Miguel Angel Ajo
474128a445
pcbnew scripting: fixed for coding style policy
2012-07-31 23:00:33 +02:00
jean-pierre charras
dfdd2cfdbf
Remove freepcb arc legacy code from PolyLine.
2012-07-31 19:51:58 +02:00
jean-pierre charras
ae05cd80c3
Remove arcs support in zone outlines: this is a legacy code from FreePCB, never used, never tested, never maintained.
2012-07-31 15:12:51 +02:00
jean-pierre charras
f96d557e73
Fix issues in zones creation (DRC and merging) I created in 3658.1
2012-07-30 09:40:25 +02:00
Miguel Angel Ajo
1c9433fb31
merged divertion
2012-07-30 00:24:40 +02:00
Miguel Angel Ajo
a8e4f8b0ed
pcbnew: scripting, Capacitive Touch Slider Wizard
2012-07-29 23:40:41 +02:00
jean-pierre charras
99b90d2fa3
More work on a better support of polygons in Kicad (code cleaning).
2012-07-25 20:46:25 +02:00
jean-pierre charras
ef5f1b9e6b
Start work on a better support of polygons in Kicad (code cleaning).
...
Some coding style policy fix.
2012-07-25 09:36:56 +02:00
Miguel Angel Ajo
9259b21ffa
Footprint wizard converts from user units to internal units back and forth, so user can type in mm or mils now
2012-07-23 00:23:17 +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
jean-pierre charras
9d8c684a4a
Libedit and Modedit: fix minor, but annoying issues when editing items
2012-07-17 17:29:29 +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
jean-pierre charras
aaabdeaed7
Pcbnew: Fix crash after opening footprint wizard
2012-07-16 15:34:08 +02:00
jean-pierre charras
a3ea46d0e4
Fix compil issues under mingw
2012-07-16 11:19:23 +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
f20bf0d217
Pcbnew: more about keepout areas: remove keepout for pads option and add keepout for copper zones option.
...
Export keepout to Specctra DSN file.
2012-07-14 18:27:25 +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
jean-pierre charras
af0d21474d
Pcbnew: commit Lorenzo Marcantonio's patch for THT thermals (added loading/saving using S. expr).
...
Fix incorrect import of smd pads from Gpcb.
Very minor change in dialog print.
2012-07-09 09:10:07 +02:00
Marco Mattila
096f4a1080
Add rotation field to pcbnew text item property dialog.
2012-07-09 01:02:00 +03:00
Dick Hollenbeck
1da099dd1f
fix for bug 1022026
2012-07-07 13:27:44 -05:00
Miguel Angel Ajo
974fe74f66
Cleanup toward test-merge
2012-07-06 21:10:55 +02:00
Wayne Stambaugh
04a17d3347
Save and load print parameters and minor code cleaning in new Pcbnew file format.
2012-07-05 13:02:45 -04:00
jean-pierre charras
0459b4dafa
Pcbnew: fix incorrect detection of arcs having angles != 90 degrees
2012-07-05 11:29:42 +02:00
Marco Mattila
b7c5649463
Add copy to text items in pcbnew. Automatically mirror text items added to back silkscreen (bug 1017446).
2012-07-04 22:50:47 +03:00
jean-pierre charras
1f1a7703d9
Pcbnew, gen Excellon files: fix truncation coordinates in decimal format, units = inches (old bug)
...
Coordinates were using always 3 digits (1/1000 inch for mantissa). Uses now 4 digits max in inches and 3 digits max in mm
The resolution is therefore 1/10000 inch or 1/1000 mm. Note this is a limitation of Excellon format.
2012-07-03 15:46:58 +02:00
jean-pierre charras
c7f6343bb4
Pcbnew: fix 2 minor issues, noticeable only in debug mode.
...
When reading board files, the net 0 was stored twice.
It creates only log messges in debug mode, because the list of nets is rebuild after reading files.
2012-06-30 10:20:04 +02:00
Miguel Angel Ajo
08af577218
code cleanup and comments
2012-06-27 23:19:19 +02:00
jean-pierre charras
91b0191a02
Pcbnew: save/load .kicad_pcb files: fix 2 minor issues.
...
Use now English layers names to build filenames in plot functions (for techical layers), because translated names create sometimes problems in filenames.
(should do not change anything for English users)
2012-06-27 22:07:37 +02:00
jean-pierre charras
a6bc4a0dc6
Pcbnew: fix compil issue under wxGTK 2.8.12
2012-06-26 22:18:01 +02:00
jean-pierre charras
047bb44ef5
Pcbnew: minor changes in pcb-parser.cpp and kicad_plugin.cpp to make translations easier.
...
Code cleaning in autoroute functions.
2012-06-26 19:57:37 +02:00
Jean-Pierre Charras
1b08d1874f
Commit JP's custom page size fix for Pcbnew s-expressions file format with minor changes. Thanks JP.
2012-06-25 19:52:57 -04:00
jean-pierre charras
0c946870c5
All: fix a truncation issue in ReturnValueFromString that creates sometimes a small error for values entered in dialogs.
...
Pcbnew: fix a compatibility issue with nano version for zones parameters.
2012-06-25 22:59:19 +02:00
Miguel Angel Ajo
db427cb2cd
merge with lp:kicad
2012-06-25 22:51:19 +02:00
Dick Hollenbeck
f94a95ab5b
use the same format string in the test program as in LEGACY_PLUGIN for record keeping purposes
2012-06-25 09:44:47 -05:00
Dick Hollenbeck
e5452a7a39
remove "long double" dependency, mingw was falling over when using it.
2012-06-24 13:41:37 -05:00
Wayne Stambaugh
4019284e66
Minor Pcbnew s-expression improvements.
...
* Put text effects on a single line.
* Remove size token when defining drill sizes.
* Don't save net in pad definition when pad has no connection.
2012-06-23 21:19:41 -04:00
Dick Hollenbeck
4b596cc5f3
legacy_plugin was not round tripping nanometers, add test program to verify new conversion strategy
2012-06-23 18:21:03 -05:00
jean-pierre charras
025d550955
Pcbnew: small cosmetic enhancement: add a bitmap for zone duplicate command.
2012-06-20 11:57:36 +02:00
jean-pierre charras
52ee7c6e2a
Pcbnew: fix incorrect arc export in SVG file export.
...
Very minor other fixes.
2012-06-19 21:25:41 +02:00
Dick Hollenbeck
0588092184
DIMENSION::m_Value not being saved in LEGACY_PLUGIN using scaling, DIMENSION::AdjustDimensionDetails() uses arrowz appropriate to build
2012-06-18 23:53:08 -05:00
Dick Hollenbeck
8975fd3cf4
a) (zone (fill (mode was wrong, b) put fill on one line
2012-06-18 23:23:42 -05:00
Dick Hollenbeck
5d415c4c4b
parsing problem was unbalanced (smoothing) element
2012-06-18 23:08:00 -05:00
jean-pierre charras
1f50b2c767
Pcbnew: Fix an other compatibility issue in kicad nanometers.
2012-06-17 20:29:11 +02:00
jean-pierre charras
0028c05484
Pcbnew: fix issues in kicad nanometer in zone ediition and detection.
...
autoroute functions: code cleaning
2012-06-17 18:06:12 +02:00
Wayne Stambaugh
8c72db6631
Pcbnew s-expression file parser bug fixes and file size improvements.
...
* Use index when saving layers to handle translated layer names.
* Add LOCALE_IO switcher when loading s-expression format.
* Make SEGVIA default to through hole to improve file size.
* Don't save default orientation of 0 degrees in TEXTE_MODULE and TEXTE_PCB.
* Don't save default zone configuration parameters.
* Save multiple zone corners on a single line.
* Fixed missing ( check in graphic and module arc parsers.
* Consistency improvements for DRAWSEGMENT and EDGE_MODULE objects.
* Minor tweaks to D_PAD formatting.
2012-06-16 18:49:24 -04:00
jean-pierre charras
d9ed8a3085
Pcbnew: automatic selection of plugin when loading a file with .kicad_pcb extension from history list.
...
Very minor other fixes
2012-06-14 21:10:32 +02:00
jean-pierre charras
b59cebb2a7
fix incorrect use of KIROUND instead of KiROUND in parseBoardUnits( const char* aExpected ) (see comments in .h file)
...
very minor fix in pcb_parser.cpp
Fix scaling issue with nanometers in gpcb footprint import.
2012-06-14 08:29:54 +02:00
Andrey Fedorushkov
0c4a026e70
pcbnew: minor fix printf in pcb_parser
2012-06-14 09:34:18 +04:00
Wayne Stambaugh
3b2be428f4
Pcbnew s-expression file parser bug fixes.
...
* Change save order of drawings to match legacy file format object order.
* Set end point of SEGVIA to start point so the round trip back to legacy
format is the same.
* Fixed bug saving and loading oval pad drill parameters.
* Fixed bug saving and loading rectangular pad deltas.
* Fixed missing layer for PCB_TARGET.
* Fixed EDA_TEXT italic bug. Thanks Dick!
* Remove some left over debug logging statements.
2012-06-13 19:04:42 -04:00
Andrey Fedorushkov
f7755bdcec
pcbnew: show clearance when move or drag via
2012-06-13 17:32:43 +04:00
jean-pierre charras
c4c2cd3acd
Pcbnew: fix issue about order of tracks this order was modified when reading and writing a board, even without any change in board.
...
Fix compil warnings and wx28 compatibility.
code cleaning in autoroute functions.
2012-06-11 14:04:34 +02:00
jean-pierre charras
8b210d05ec
fix compil warnings
2012-06-11 07:40:52 +02:00
Dick Hollenbeck
a71857baaa
Commit Dick's Pcbnew s-expression file parser bug fixes.
...
* Apply Dick's patch along with a few minor changes to fix some clashes with
changes in my branch. Thanks Dick!
* Added missing DRAWSEGMENT line angle.
* Fix thru hole pad layer mask issue.
2012-06-10 20:47:15 -04:00
jean-pierre charras
9fea98dd2f
Pcbnew: Fix compil issues with wxWidgets 2.8.12
...
Some code cleaning in autoroute functions.
2012-06-10 18:21:18 +02:00
Dick Hollenbeck
b34d8e2150
There was no reason for insertBeforeMe on track loading.
...
Tracks should be loaded in the same order as they were saved, no exceptions.
This is for the version control system user.
But even with this objective now implemented in LEGACY_PLUGIN, the TRACKS
are still going through a food processor after they are loaded, and the poor
version control system user has no relief, even with this patch.
TRACKS are always modified after being loaded, and I think this needs to be fixed still.
2012-06-09 19:39:40 -05:00