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
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
b53ba56ac2
Use CTRL modifier to deselect items
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
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
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
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
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
Robbert Lagerweij
e57c962336
Pcbnew: add option to select origin & anchor in move exactly tool
...
This patch adds a radiobox to allow the user to select a reference point for
the move. The additional options are: User Origin (set with <space>),
Grid Origin and Sheet Origin (effectively making it an absolute coordinate).
A checkbox is added (where it makes sense) to allow overriding which point
within the component is put on top of the designated coordinate.
Fixes: lp:1460460
* https://bugs.launchpad.net/kicad/+bug/1460460
2017-04-25 11:32:49 -04:00
Eldar Khayrullin
0af5695e51
Pcbnew: add option to plot DXF lines in outline mode.
...
Add option to plot dialog to plot DXF layers *.Cu, *.Adhes, *.Paste, and
*.Mask in outline mode or line mode.
Fixes lp:1643330
https://bugs.launchpad.net/kicad/+bug/1643330
2017-04-25 08:24:55 -04:00
Maciej Suminski
6507dbf3ad
Fixed code formatting & comments typos
2017-04-24 00:02:07 +02:00
jean-pierre charras
b385413458
Fix tooltip errors
2017-04-22 10:26:22 +02:00
jean-pierre charras
9e321a4722
Pcbnew: Apply a fix made in stable branch, in AppendBoard, to avoid potential crash.
2017-04-22 09:23:02 +02:00
Maciej Suminski
e53c3afc29
Fixed a bug with invisible vias
...
If there was a board with no copper layers checked as visible, the
initial GAL cache contained an empty entry for them. In such case,
toggling layers visibility have not changed anything.
The visibility condition check has been moved to ViewGetLOD() method
which serves better the purpose of dynamic visibility checks.
Fixes: lp:1639974
* https://bugs.launchpad.net/kicad/+bug/1639974
2017-04-20 18:22:27 +02:00
Maciej Suminski
217593f6bc
Fixed selected items drift on rotation/flip
2017-04-20 16:38:19 +02:00
Maciej Suminski
0e14cdf6da
Code formatting
2017-04-20 16:37:36 +02:00
Maciej Suminski
d452a5a30c
Moved ratsnest update from EDIT_TOOL to PCB_EDITOR_CONTROL
2017-04-20 14:43:42 +02:00
Maciej Suminski
bc8668b039
Renamed PCB_ACTIONS::editModifiedSelection to selectionModified
2017-04-20 14:11:59 +02:00
Maciej Suminski
bb999f1bbf
Fixed items disappearing after a rotation/flip
...
Fixes: lp:1683831
* https://bugs.launchpad.net/kicad/+bug/1683831
2017-04-20 14:11:59 +02:00
Maciej Suminski
e2b95cf97a
Removed a redundant update/refresh calls
...
BOARD_COMMIT handles all necessary updates
2017-04-20 14:11:35 +02:00
Maciej Suminski
74847bf8ff
Code formatting and clean-up
2017-04-20 14:01:38 +02:00
jean-pierre charras
a35a46804e
Pcbnew fix: "create array" extremely slow in GAL mode, due to a useless call of a time consuming method for each new item created.
2017-04-19 14:15:11 +02:00
jean-pierre charras
01f5a129a3
Fixes: lp:1683147 (Board append command *extremely* slow)
...
https://bugs.launchpad.net/kicad/+bug/1683147
2017-04-18 20:10:34 +02:00
jean-pierre charras
cf87536322
Fix a focus issue in dialog_edit_module_for_BoardEditor.cpp (Linux only) when creating the dialog.
...
It prevents ESC or ENTER keys to dismiss the dialog, until the focus is set by clicking on a widgets in the dialog.
2017-04-16 21:48:22 +02:00
jean-pierre charras
4b916b42ed
dialog_edit_module_for_BoardEditor.*: fix questionable code.
2017-04-16 20:52:41 +02:00
jean-pierre charras
88105f891f
Fixes Pcbnew bug: Drag Zone Outlines no longer working in legacy view
2017-04-16 18:32:47 +02:00