jean-pierre charras
305a166e95
Pcbnew: update immediately the 3D viewer opened from the footprint editor/viewer/wizard after a change.
2017-05-13 08:17:06 +02:00
Maciej Suminski
b823d0b784
Use separate GAL_DISPLAY_OPTIONS instance in pad properties dialog
...
DIALOG_PAD_PROPERTIES disables the axis display which propagates
back to the parent frame when they share the same GAL_DISPLAY_OPTIONS
instance.
Fixes: lp:1687014
* https://bugs.launchpad.net/kicad/+bug/1687014
2017-05-12 01:01:38 +02:00
Wayne Stambaugh
747583606b
Eeschema: fix regression when sheet files are not in project path.
...
Fixes lp:1683921
https://bugs.launchpad.net/kicad/+bug/1683921
2017-05-10 16:05:06 -04:00
jean-pierre charras
5ad1a13096
Fix a compil issue on Windows (W7 32bits). Could be an obscure conflict in var/keyword names.
2017-05-10 14:32:36 +02:00
Maciej Suminski
b71fc5564a
Code formatting fixes
2017-05-10 11:40:49 +02:00
Oliver Walters
cd738297b0
SELECTION_AREA color now indicates selection mode
...
BLUE = Normal
GREEN = Addition
RED = Subtraction
Line color indicates "window" or "crossing" selection mode
2017-05-10 10:57:29 +02:00
Oliver Walters
2ae47d31cc
Fix for Arc HitTest
...
compureArcBBox does not account for line width
2017-05-10 10:57:29 +02:00
Oliver Walters
a2fda9bd39
Fixed selection filtering
...
- Fixed "double selection" of pads and pad parents in PCBNEW
- Disabled selection of entire module in MODEDIT
2017-05-10 10:57:29 +02:00
Oliver Walters
1f1143743e
HitTest improvement for EDA_TEXT
2017-05-10 10:57:29 +02:00
Oliver Walters
b53ba56ac2
Use CTRL modifier to deselect items
2017-05-10 10:57:29 +02:00
Oliver Walters
8b49c6e5ed
Alter selection area colours based on selection mode
...
- Left to Right is slightly blue (as current)
- Right to left is slightly green
2017-05-10 10:57:29 +02:00
Oliver Walters
c8fe9ffa79
Adjusted selection for ZONE
2017-05-10 10:57:28 +02:00
Oliver Walters
9c80d63b5c
Fixed HitTest for text and modules
2017-05-10 10:57:28 +02:00
Oliver Walters
d9308fcab1
Fixed HitTest for ZONE_CONTAINER
2017-05-10 10:57:28 +02:00
Oliver Walters
6aadc703f0
Updated HitTest for PCB_TEXT and TEXT_MOD
2017-05-10 10:57:28 +02:00
Oliver Walters
e29abd6204
HitTest for trapezoid pad
2017-05-10 10:57:28 +02:00
Oliver Walters
7cfc882448
HitTest for RoundRect pad
2017-05-10 10:57:28 +02:00
Oliver Walters
8caef05ad6
HitTest for Oval pads
...
HitTest for Oval pads
Required fix for GetBoundingBox method for Oval Pad shape
2017-05-10 10:57:28 +02:00
Oliver Walters
f338d46476
HitTest for Rectangular pads
...
HitTest for Rectangular pads
- Works at any rotation, even with Shape Offset
- Fixed bugs in D_PAD BoundingBox calculation
2017-05-10 10:57:28 +02:00
Oliver Walters
a0afcd5a62
HitTest for pads
...
- Circular pads
2017-05-10 10:57:28 +02:00
Oliver Walters
2b4c2efc85
Fixed HitTest for Arc segment
2017-05-10 10:57:28 +02:00
Oliver Walters
f8734bd057
Fixed ::HitTest for Circle shape
...
- Testing against rectangle intersection now works correctly
- Previously tested against BoundingBox() not circle outline
2017-05-10 10:57:28 +02:00
Oliver Walters
ef25ffbab7
Alter selection mode based on drag direction
...
LEFT > RIGHT = Enclosed selection
RIGHT > LEFT = Touching selection
2017-05-10 10:57:28 +02:00
Oliver Walters
d4e41c4f97
Component table improvements
2017-05-08 12:43:20 +02:00
Maciej Suminski
6cefb68c7d
Fixed a crash on Eagle PCB import with dimensions on unsupported layers
2017-05-08 11:04:10 +02:00
Maciej Suminski
2ac8ab2a8f
Eagle layers as enums
2017-05-08 10:26:48 +02:00
Maciej Suminski
99f65f4dbf
Added const T& to Eagle PCB import plugin methods
2017-05-04 15:44:14 +02:00
Alejandro García Montoro
9cf934ef17
Moves Eagle XML parser to common, replacing boost with wx.
...
All E'STRUCTS' are moved to common except for ERULES (which is
specific to pcbnew and needs its internal units), still in
pcbnew/eagle_plugin.{h,cpp}
In order to get rid of another boost dependency, this also changes
the parsing of the XML from Boost.PropertyTree to wxXml.
To replace boost::optional, an OPTIONAL_XML_ATTRIBUTE class has
been implemented. This could be replaced with std::optional when
C++17 is ready.
2017-05-04 15:29:45 +02:00
jean-pierre charras
4f2ed1b05f
Plot gerber: fix a minor issue: an aperture attribute was incorrectly set on non copper layers when drawing some pads.
2017-05-04 08:55:17 +02:00
jean-pierre charras
d1dfa5aba3
Code cleaning: add comments, better names for a function, simplify code. No actual code change.
2017-05-04 08:54:30 +02:00
Wayne Stambaugh
c70adcdf31
Don't apply last line width to text thickness in symbol library editor.
...
The symbol library header was setting the text thickness using the
last line thickness setting which is incorrect so use the default
thickness when creating new text objects.
Fixes lp:1635344
https://bugs.launchpad.net/kicad/+bug/1635344
2017-05-03 16:20:46 -04:00
Wayne Stambaugh
096d9fbbf9
Pcbnew: continue loading footprints after first failure.
...
The footprint library cache handler would throw an exception on the
first error it encountered preventing all subsequent footprint files
from being parsed even if there was nothing wrong with them. This
commit queues errors until all of the footprint files in the folder
have been parsed.
Fixes lp:1416736
https://bugs.launchpad.net/kicad/+bug/1416736
2017-05-03 15:27:07 -04:00
jean-pierre charras
342f28f106
dilaog bom editor: fix min sizes.
2017-05-03 08:56:32 +02:00
Oliver Walters
5fe13c01c7
Improvements for component table
2017-05-03 08:56:31 +02:00
Marco Ciampa
b50d3966b5
Pcbnew: make ruler tool warning translatable.
2017-05-02 16:30:24 -04:00
Eldar Khayrullin
f3457794cf
Pcbnew: add option to plot DXF editable text
...
Add option to plot DXF oneline ASCII text as editable text (in non-outline mode)
Fixes: lp:1423515
* https://bugs.launchpad.net/kicad/+bug/1423515
2017-05-02 15:07:19 -04:00
jean-pierre charras
e4d2924ee2
Make a sentence translatable in dialog_bom_editor.
2017-05-02 19:51:02 +02:00
Oliver Walters
29e3e55ad3
Removed BOM functionality
...
- Removed ability to generate BOM to file
- Removed Save/Cancel window when closing table
- No longer updates table <after> table is closed
- Bugfix for field names (previously comparison was case insensitive)
2017-05-02 09:40:02 -04:00
Oliver Walters
48893ab2b1
Fixed UNDO behaviour
...
- Undo actions are pushed to the appropriate sheet(s)
- Each sheet's actions are grouped together
2017-05-02 09:39:56 -04:00
Oliver Walters
47ee2773d2
Reworked field association
...
- Allow duplicate components to access same field data
2017-05-02 09:39:51 -04:00
Oliver Walters
d792e36151
Reworked UI
...
- Buttons are enabled/disabled within wxUpdateUI events
- Save/Cancel dialog used to close window and apply (or reject) changes
2017-05-02 09:39:40 -04:00
Oliver Walters
59470c3b5e
Fixed display of references for duplicate sheets
...
Display part reference rather than REFERENCE field value
2017-05-02 09:39:34 -04:00
Oliver Walters
8dd4aca73b
Mark schematic as dirty
...
Notify schematic of changes when window is closed
2017-05-02 09:39:24 -04:00
Oliver Walters
5126332c57
Fixed wxString::Format assert
2017-05-02 09:39:08 -04:00
Oliver
a39856485c
Added component table dialog
...
- Allows grouping of matched components
- Bulk edit of components in a spreadsheet window
- User can choose to save / undo changes
- All changes are pushed to the undo stack in a single operation
- Export table to HTML / CSV output
2017-05-02 09:39:01 -04:00
Mathias Grimmberger
097f89dcbc
Use wxSetAssertHandler() instead of changing wxTheAssertHandler
2017-05-02 11:16:48 +02:00
jean-pierre charras
000ee22e39
Drill dialog: creates the directory, when the path entered in dialog does not exist.
2017-05-01 20:42:18 +02:00
jean-pierre charras
c8706e9c15
Fix compil issue in Python support.
2017-05-01 14:19:38 +02:00
jean-pierre charras
afe92c7bfc
Pcbnew: Add creation of Drill Files in Gerber X2 format.
...
Gerbview: add support of drill files in Gerber format.
Fix also an issue in drill dialog: Axis choice is now common to plot a drill files.
2017-05-01 12:43:40 +02:00
jean-pierre charras
a92ea8c75b
Fixes: lp:1687014 Footpring editor disappearing axes crosshair
...
https://bugs.launchpad.net/kicad/+bug/1687014
2017-04-29 11:43:02 +02:00