jean-pierre charras
b60c368b3c
DXF import: fix incorrect import of arcs.
...
The new dxflib uses degrees, not radians for angles.
Fixes: lp:1792413
https://bugs.launchpad.net/kicad/+bug/1792413
2018-09-15 18:18:33 +02:00
Jeff Young
e3f74646b9
Allow measure tool to survive zoom and pan.
...
Fixes: lp:1792232
* https://bugs.launchpad.net/kicad/+bug/1792232
2018-09-14 11:00:13 +01:00
Jeff Young
a5e2ddd65a
Don't save footprint when it's renamed; wait for the user to save.
...
Fixes: lp:1792243
* https://bugs.launchpad.net/kicad/+bug/1792243
2018-09-14 10:21:45 +01:00
Jeff Young
0f9ded9563
Space out placed footprints with some padding.
...
Fixes: lp:1788917
* https://bugs.launchpad.net/kicad/+bug/1788917
2018-09-14 10:21:45 +01:00
Jeff Young
4d6cd52ffc
Fix some tooltips.
...
Fixes: lp:1792256
* https://bugs.launchpad.net/kicad/+bug/1792256
2018-09-14 10:21:45 +01:00
Jeff Young
e5e1a315f1
Keep name & value in sync for library items.
...
Also fixes library reference highlighting from board footprints.
Fixes: lp:1792243
* https://bugs.launchpad.net/kicad/+bug/1792243
Fixes: lp:1792256
* https://bugs.launchpad.net/kicad/+bug/1792256
2018-09-13 16:41:23 +01:00
Seth Hillbrand
a04ef37d67
pcbnew: Parallelize initial board triangulation
...
Triangulation of zones can be time consuming for large boards. This
adds a std::thread implementation of parallel zone loading to speed this
process on multi-core machines.
2018-09-12 15:28:13 -07:00
Jeff Young
ba8647f676
Fix compiler warning.
2018-09-12 21:39:41 +01:00
Jeff Young
b43d0a0ed5
Add file missing from last commit.
2018-09-12 21:39:26 +01:00
Jeff Young
cbc83c98bc
Make sure Save As and Export use board footprint when selected.
...
Fixes: lp:1792207
* https://bugs.launchpad.net/kicad/+bug/1792207
2018-09-12 21:27:03 +01:00
Jeff Young
a46133d64b
Replace SetValue() with ChangeValue() to prevent unwanted events.
...
Fixes: lp:1792070
* https://bugs.launchpad.net/kicad/+bug/1792070
2018-09-12 19:34:55 +01:00
Seth Hillbrand
ded64aef3d
pcbnew: Control cursor capture in microwave tool
...
Turns off cursor capture when the microwave tool is not actively drawing
a new inductor.
Fixes: lp:1792128
* https://bugs.launchpad.net/kicad/+bug/1792128
2018-09-12 09:11:48 -07:00
Jeff Young
806b1fc63d
Fix bugs to enable read-only grid cells to be copied.
...
Fixes: lp:1791129
* https://bugs.launchpad.net/kicad/+bug/1791129
2018-09-12 14:01:36 +01:00
Jeff Young
8b064e1ee2
Use zone outline for instersection when it isn't filled.
...
Keepout zones, in particular, are never filled.
Fixes: lp:1791965
* https://bugs.launchpad.net/kicad/+bug/1791965
2018-09-12 14:01:35 +01:00
Jeff Young
cbb3492d98
Standardize Footprint Viewer and Footprint Browser.
...
Add Display Settings to Footprint Browser.
Make each of them OpenGL on OSX and Cairo on other platforms.
Allow auto-zoom to be turned off and save last zoom setting.
Make ordering of tools in htoolbar consistent.
Standardize grid and zoom drop-downs.
Fixes: lp:1791667
* https://bugs.launchpad.net/kicad/+bug/1791667
2018-09-12 14:01:35 +01:00
Seth Hillbrand
29b4ac7cb8
pcbnew: Fix Eagle import hole offset
...
Unplated holes in Ealge can either be free floating or part of a larger
footprint. We handle both in the same packageHole routine by either
offsetting the hole in a centered footprint or offsetting the footprint
in a centered hole.
Fixes: lp:1791287
* https://bugs.launchpad.net/kicad/+bug/1791287
2018-09-08 20:42:23 -07:00
Seth Hillbrand
21ea31af15
pcbnew: Allow selection of back pads
...
Pads should be selectable when the respective copper layer is enabled.
Fixes: lp:1789084
* https://bugs.launchpad.net/kicad/+bug/1789084
2018-09-08 17:25:34 -07:00
Seth Hillbrand
c9fc20c54e
pcbnew: Add Eagle milling layer to edge_cuts
...
The Eagle milling layer (46) is valid for cutouts on the board.
Fixes: lp:1791284
* https://bugs.launchpad.net/kicad/+bug/1791284
2018-09-08 17:25:24 -07:00
qu1ck
c68ad411ff
pcbnew: add 3d models properties to swig
...
Fixes: lp:1758858
https://bugs.launchpad.net/kicad/+bug/1758858
2018-09-08 10:28:55 -04:00
Seth Hillbrand
a5dd86f411
pcbnew: Set soldermask on NPTH imported from Eagle
...
Fixes: lp:1773253
* https://bugs.launchpad.net/kicad/+bug/1773253
2018-09-06 09:01:23 -07:00
Seth Hillbrand
1100ccb032
pcbnew: Set default line width for invalids
...
Invalid graphical items that cannot be created in pcbnew may still be
created by external tools. This synchronizes the pcbnew view display
with the gerber output and 3d viewer line widths for these types of
lines. Only filled polygons are permitted 0-width lines.
Fixes: lp:1790534
* https://bugs.launchpad.net/kicad/+bug/1790534
2018-09-05 16:32:55 -07:00
jean-pierre charras
bfb0fac015
Minor fixes related to I18n
2018-09-05 13:59:20 +02:00
Maciej Suminski
5993b33010
Relax selection discard rules for footprints with area larger than the viewport
...
Normally working at a zoom level when a footprint is not fully displayed
indicates that the user modifies other components. Selection Tool used
to discard footprints that had area larger than the viewport area, but
it may make sense to select them if there are no other candidates.
Fixes: lp:1789578
* https://bugs.launchpad.net/kicad/+bug/1789578
2018-09-05 11:26:02 +02:00
jean-pierre charras
99216a76d7
Fix incorrect (empty) strings marked for translation
...
Empty strings are illegal for I18n tools.
2018-09-04 20:22:07 +02:00
Maciej Suminski
de65ca512f
Fixed reference to PCB_EDIT_FRAME in PANEL_SETUP_LAYERS
...
GetParent() in PANEL_SETUP_LAYERS::TransferDataFromWindow() returns a
wxTreebook pointer, instead of expected PCB_EDIT_FRAME resulting in a
crash.
2018-09-04 12:29:36 +02:00
Franck78
009dfa411f
Finish track with 'activate router hotkey'
...
Fixes: lp:1790552
* https://bugs.launchpad.net/kicad/+bug/1790552
2018-09-04 12:08:40 +02:00
Maciej Suminski
dd3d10d9ce
Removed stale files related to FreeRoute support
...
Fixes: lp:1787718
* https://bugs.launchpad.net/kicad/+bug/1787718
2018-09-04 11:54:42 +02:00
Seth Hillbrand
1d9c9cd10d
pcbnew: Select copper through THT connections
...
This allows full copper connections even when THT changes a trace layer.
It avoides selecting the actual pad to prevent actions on the copper
connections from affecting the footprints as well.
Fixes: lp:1789807
* https://bugs.launchpad.net/kicad/+bug/1789807
2018-09-03 07:44:44 -07:00
jean-pierre charras
0d09128f6c
Dialog copper zones: add test for thermal spoke width > zone min thickness.
...
Fixes: lp:1789929
https://bugs.launchpad.net/kicad/+bug/1789929
2018-09-03 13:57:11 +02:00
jean-pierre charras
27b62c66b3
Remove an unused var.
2018-09-02 10:22:41 +02:00
Thomas Pointhuber
2b59c976f2
Add Insert/Delete button to Tracks and Via setup panel
...
GRID_TRICKS cannot handle row label events at the moment, so I disabled them.
Fixes: lp:1788877
* https://bugs.launchpad.net/kicad/+bug/1788877
2018-09-01 17:53:49 +01:00
Jeff Young
72cf340119
Validate differential pair dimensions.
...
Fixes: lp:1789293
* https://bugs.launchpad.net/kicad/+bug/1789293
2018-09-01 14:05:16 +01:00
Jeff Young
4174ecf4c3
Only validate via size vs drill if both are specified.
...
Fixes: lp:1789349
* https://bugs.launchpad.net/kicad/+bug/1789349
2018-09-01 14:05:16 +01:00
Seth Hillbrand
5cd7549e53
pcbnew: Only regenerate BBox if the item is valid
...
Items removed from the connectivity list will not have valid parents, so
we cannot update the BBox, thus we will only use the cached value.
Fixes: lp:1785605
* https://bugs.launchpad.net/kicad/+bug/1785605
2018-08-31 18:46:06 -07:00
Seth Hillbrand
0109641c2f
gal: correct layer ordering
...
Net labels need to be rendered under the selected item.
Fixes: lp:1790016
* https://bugs.launchpad.net/kicad/+bug/1790016
2018-08-30 16:55:48 -07:00
Seth Hillbrand
83e6940592
pcbnew: Correcting commit f84bd0d83
for 5.0/release
...
Previous commit only functioned correctly in debug mode. Also cleanup a
left-over debug printf() and revert a changed translated string.
2018-08-30 13:27:32 -07:00
Seth Hillbrand
34b920a74f
pcbnew: Fix Eagle UTF8 import error
...
Implicit convertion from wxString to std::string will use narrow strings
and drop UTF-8.
Fixes: lp:1789311
* https://bugs.launchpad.net/kicad/+bug/1789311
2018-08-30 13:08:21 -07:00
Seth Hillbrand
d45946396c
pcbnew: Fix loop condition when unhighlighting modules
...
Text can be included in the same selection group as the parent module.
Thus if we clear the selection marker on a module's child elements we
also need to remove the element from the selection group.
Fixes: lp:1789418
* https://bugs.launchpad.net/kicad/+bug/1789418
2018-08-30 09:27:42 -07:00
jean-pierre charras
01acc0d9be
Remove an unused variable that created a memory leak.
2018-08-30 10:04:04 +02:00
Jeff Young
c90a3efea2
Change KIDIALOG hashing algorithm to __FILE__ + __LINE__.
...
Using Title + Message wasn't working for all the dialogs which
did substitutions in the message (which was a lot of them).
Fixes: lp:1789348
* https://bugs.launchpad.net/kicad/+bug/1789348
2018-08-29 23:38:23 +01:00
Jeff Young
9125d7fdb6
Fix typo.
2018-08-29 22:45:45 +01:00
Jeff Young
b562ecc5b5
Check for net changing before confirming.
...
Fixes: lp:1789348
* https://bugs.launchpad.net/kicad/+bug/1789348
2018-08-29 22:43:05 +01:00
Jeff Young
658e387ad4
Slightly better swap layer column names.
...
Fixes: lp:1789390
* https://bugs.launchpad.net/kicad/+bug/1789390
2018-08-29 22:04:07 +01:00
Jeff Young
2e8f2d2850
Allow Export even when libId is empty.
...
For instance, after an import.
Fixes: lp:1785226
* https://bugs.launchpad.net/kicad/+bug/1785226
2018-08-29 20:08:01 +01:00
Jeff Young
f1ef18edcb
Fix assert where wxFormBuilder rows disagreed with controls.
2018-08-29 20:08:01 +01:00
Jeff Young
8fe5ff612d
Print PCB objects before zones.
...
Fixes: lp:1785958
* https://bugs.launchpad.net/kicad/+bug/1785958
2018-08-29 20:08:01 +01:00
Jeff Young
f611333ea1
Make fast grid switching hotkeys more visible.
...
Fixes: lp:1787066
* https://bugs.launchpad.net/kicad/+bug/1787066
2018-08-29 20:08:01 +01:00
Jeff Young
f470132862
Fix fast grid switching for OSX and Footprint Editor.
...
Fixes: lp:1787066
* https://bugs.launchpad.net/kicad/+bug/1787066
2018-08-29 20:08:01 +01:00
Jeff Young
a8bb5d7308
Improve labels.
...
First two radio buttons together read "Do not show On pads", which is
of course backwards for the second.
2018-08-29 20:08:01 +01:00
Jeff Young
424905fb61
Fix netclass popups in netclass membership grid.
2018-08-29 20:08:01 +01:00