Jeff Young
dfacac5eb6
Repair label incrementer to handle formatting constructs.
Fixes https://gitlab.com/kicad/code/kicad/issues/8992
4 years ago
Jeff Young
9549a227ad
Fix typo.
Fixes https://gitlab.com/kicad/code/kicad/issues/8993
4 years ago
Jeff Young
8879b887df
Fix missing overbar notation conversions in legacy library parsing.
Fixes https://gitlab.com/kicad/code/kicad/issues/8981
4 years ago
Wayne Stambaugh
46b959c3e3
Move plotter headers into include folder.
4 years ago
jean-pierre charras
5574682d44
Fp editor: minor fixes:
- do not show the paste special context menu: it has no sense in this editor
- Paste command: fix incorrect rotation of pasted FP texts
4 years ago
jean-pierre charras
82849eda42
Fp editor: fix some crashes when trying to duplicate referece or value texts.
Fixes #8990
https://gitlab.com/kicad/code/kicad/issues/8990
4 years ago
jean-pierre charras
a9aae9b3f7
Gerbview: Polygon shape: store its drawing coordinates to avoid rebuild them.
Previously, draw coordinates (and especially cache triangulation) were rebuild
each time the polygon was redraw. They are now cached. This is a significant
speed up, especially when a polygon is highlighted.
4 years ago
Mike Williams
905a8366c5
Gerbview: keep highlighted and selected layers above active layer
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7201
4 years ago
Wayne Stambaugh
6427197962
Remove duplicate headers in plot and associated code.
4 years ago
jean-pierre charras
24a41559ca
Gerbview: select 360 deg circular mode (G75) as default
4 years ago
jean-pierre charras
60c65c2a1d
Avoid loading python stuff when starting applications that do not use it.
It is useless, and debug is slightly easier (less constraints) at least on msys2
4 years ago
Wayne Stambaugh
8f30404e42
Plot code cleaning.
4 years ago
Wayne Stambaugh
9ae9301b46
Fix shadowed variable.
4 years ago
Wayne Stambaugh
b14b8b5fb1
Move headers from common folders to the appropriate include folders.
4 years ago
Jeff Young
8b5f393804
DRC bug fixes and debugging improvements.
1) Don't wait for UpdateUserInterface to build the (global) list of
layer names.
2) Report clearance resolution between a silk layer and a mask layer.
3) When writing DRC reports, include info about the violating rule.
4) Report "no relevant layers" if we fail to find anything to write
a clearance resolution report about.
Fixes https://gitlab.com/kicad/code/kicad/issues/8963
4 years ago
Jeff Young
fc4d748bdc
Fix bugs in sheets.
1) Default_line_width is in mils, not IU.
2) Plot sheet fields.
Fixes https://gitlab.com/kicad/code/kicad/issues/8984
4 years ago
jean-pierre charras
8c9b0bdba4
Eeschema: plot missing sheet fields.
Fixes #8984
https://gitlab.com/kicad/code/kicad/issues/8984
4 years ago
Jeff Young
dd24502255
Clean up (yes, yet again) the default pen width handling.
Fixes https://gitlab.com/kicad/code/kicad/issues/8980
4 years ago
Jeff Young
a133853a4f
Fix typo in DRC error link.
4 years ago
Jeff Young
89d943a90c
Transfer custom colours from board stackup to 3D viewer.
4 years ago
jean-pierre charras
ca42f31bb5
Pcbnew, update footprint: fix loss of net info in some cases.
When pads having a similar name but some were not on a copper layer
(aperture pads) the net info update from old footprint to the new footprint
was incorrectly transferred. Now, only pads on copper layers are considered.
Fixes #8979
https://gitlab.com/kicad/code/kicad/issues/8979
4 years ago
jean-pierre charras
e1bbb717f6
3D viewer: ensure 3D shapes are loaded when switching 3D shapes visibility option to ON.
Fixes #8959
https://gitlab.com/kicad/code/kicad/issues/8959
4 years ago
Jeff Young
da3fda8dee
Fix typo in non-copper zone fill pattern, and cleanup spacing.
Also makes better use of UNIT_BINDER and fixes some other naming
inconsistencies with copper zone dialog.
4 years ago
Wayne Stambaugh
8e1015fcc4
Remove all wxWidgets build dependencies from REPORTER object header.
4 years ago
Jeff Young
1a252b4f96
Add a compile error for ill-defined rules, and more performance.
Also adds const-safety to GetBoard().
4 years ago
jean-pierre charras
2ad6650e13
Update demos
4 years ago
jean-pierre charras
f0c957a2e2
Enable LAYER_MOD_TEXT_FR layer in fp editor as it should.
It also fixes a crash when changing visibility of other fp texts..
4 years ago
Jon Evans
4e273827f0
Fix comparison in Findngspice.cmake
4 years ago
Jeff Young
f34e280c81
Garden-variety 100X performance improvement.
Adds a compile mode for layer strings.
4 years ago
Jeff Young
eaccbce48b
Fix logic errors in progress reporting in a couple of DRC providers.
4 years ago
Jeff Young
1ec70d30af
Cherry-pick some 7.0 Clearance Resolution improvements.
6.0 will be in the field for a long time, and the better the debugging
tools we have available the less costly it will be to maintain.
Fixes https://gitlab.com/kicad/code/kicad/issues/8961
4 years ago
jean-pierre charras
c6ce367f1e
Avoid duplicate strings to avoid typos and not synchronized strings
Fixes #8964
https://gitlab.com/kicad/code/kicad/issues/8964
4 years ago
jean-pierre charras
7a7eee86ce
kicad_pyshell/__init_py: avoid loading pcbnew module if the board editor is not open.
It happens when opening the python console from Eeschema.
In this case, and on msys2, Pgm() returns a null pointer because the pcbnew
application is not initialized, and the first call to Pgm()
from a python script crashes Kicad
4 years ago
jean-pierre charras
eece74efa7
kicad_pyeditor.py: remove useless "import pcbnew" that create issues when created from Eeschema
4 years ago
Jeff Young
48521774cd
Formatting.
4 years ago
Jeff Young
41619ebbe2
Decouple PROGRESS_REPORTER interface from implementations.
4 years ago
jean-pierre charras
8ac5e318fb
Ugly hack to avoid crash on msys2 when running Pcbnew after running Eeschema+its Python console
The main bug still exists, but at least Kicad does not crash.
4 years ago
Jon Evans
aae0e7e121
Fix build on Linux
wxString does not automatically cast to std::string
4 years ago
Jon Evans
8eba0b356b
Fix issues calling SaveBoard on board loaded from PcbNew frame
KiCad cannot have more than one board/project open, so disallow
the Python APIs for loading additional boards when the frame is
present. Inherit the SETTINGS_MANAGER from the frame when present
instead of creating a new one that won't have the loaded project.
4 years ago
Jeff Young
bff247b08a
Hook up 3D viewer colors to board stackup.
Fixes https://gitlab.com/kicad/code/kicad/issues/5173
4 years ago
Jeff Young
ef9f041279
Don't show 3D color opacities where they're not supported.
Fixes https://gitlab.com/kicad/code/kicad/issues/8938
4 years ago
Jeff Young
4736578793
Fix long-standing typo.
4 years ago
Jeff Young
1818846cff
Minor improvements to some error messages.
4 years ago
Stefan
bed51a5fc1
altium schematic importer, replace record 211 with compile masks
4 years ago
Jeff Young
ed38028eaf
Fully resolve path list for Kicad2Step.
Fixes https://gitlab.com/kicad/code/kicad/issues/7670
4 years ago
Jeff Young
507b386c79
Rationalize STEP file warnings
1) Use consistent terminology and formatting
2) Capitalize STEP
3) Don't double-report errors in MessageBox and REPORTER
Fixes https://gitlab.com/kicad/code/kicad/issues/7670
4 years ago
Jeff Young
05fb582304
Expose missing annular ring properties in Track & Via Properties.
4 years ago
jean-pierre charras
baae8859f1
French translation update.
4 years ago
jean-pierre charras
08d7899f7e
Rework on hint to user when pin scope control has no effect or unexpected result.
A info banner is now shown (in synchronized mode) to inform an user when extra
pins are added to other units when a new pin is added.
A good info about the synchronized mode is not easy to create.
4 years ago
jean-pierre charras
3d61c8b0c4
PANEL_SETUP_BOARD_STACKUP: Do not limit the EpsilonR mantissa to 1 or 2 digits.
Fixes #8956
https://gitlab.com/kicad/code/kicad/issues/8956
4 years ago