Jeff Young
d4cfc0464e
Be consistent about getting board copper layers.
(cherry picked from commit d2a623719b )
4 months ago
Jon Evans
b1649071e8
Hyperlynx: flip Y-axis coordinates
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18581
5 months ago
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
10 months ago
Seth Hillbrand
e9bc8cfe9d
Give Clipper1 a Viking funeral
Clears out the last spot where we were only using Clipper1 (how'd I
miss that?) and remove all calls to the Clipper1 structures
11 months ago
Jon Evans
2a605e4a4e
Infrastructure and file format for via stacks
1 year ago
John Beard
3d6d8b9946
Strip richio.h from headers that don't need them
Like the DSNLEXER header, this has visibility in over 700
files, whereas well under half actually use any of it
(quite a bit, but not all, of it actually via DSNLEXER)
Many places already forward-declare the OUTPUTFORMATTER type,
by doing that for the others, it still possible to use the
non-IO methods without having to see richio.h.
1 year ago
Jon Evans
56e0811516
Phase 2 of padstack support
CHANGED: PCB file format now supports saving/loading complex padstacks
CHANGED: PTH pads are now rendered per copper layer in the copper color;
the PTH pad color is no longer used.
ADDED: support for importing complex pad stacks from Altium PCBs
Enforce padstack-aware access to pad properties across KiCad
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8182
1 year ago
Alex Shvartzkop
5475359d00
More build time optimizations.
2 years ago
Jeff Young
493828cc6b
Eradicate a bunch of calls to dyn_cast.
Also deletes PAD::GetParent() which fails to look for parent footprint
through groups.
2 years ago
jean-pierre charras
9a47b34499
Replace PAD_SHAPE::RECT by PAD_SHAPE::RECTANGLE to avoid a collision NAME with a windows header on MSYS2, creating many compil warnings. No actual code change.
2 years ago
Seth Hillbrand
a43fcd045f
Hyperlynx arcs are always CW
Previous test comparing start/end angles doesn't account for all cases.
This adds a more robust test to ensure all arcs are output in CW fashion
Fixes https://gitlab.com/kicad/code/kicad/issues/10782
3 years ago
Jeff Young
d69e3fdb5e
Specify a winding for Hyperlynx arcs.
I can't test it, so it's a 50:50 guess. We may need to flip the
test....
3 years ago
Jeff Young
38bc653ce9
Add arc support to HyperLynx export.
Fixes https://gitlab.com/kicad/code/kicad/issues/10782
3 years ago
Jeff Young
80124d2463
Write out partial pad-stacks for blind/buried/microvias.
Fixes https://gitlab.com/kicad/code/kicad/issues/11692
4 years ago
Jeff Young
2a525cf986
Coding standards.
4 years ago
Jeff Young
65185f53a1
Rotate fp zones before comparing with library versions.
Also includes some performance fixes to not copy around triangulation
data when it's not needed.
Fixes https://gitlab.com/kicad/code/kicad/issues/10143
4 years ago
Jeff Young
2172810600
Performance: better sharing of zone fills.
4 years ago
Jeff Young
b2e3f03222
More wide-string declarations.
4 years ago
Jeff Young
d485eb2514
Move pads to EDA_ANGLE.
4 years ago
Jeff Young
b84d1456d5
KIFACE_I -> KIFACE_BASE.
4 years ago
Jeff Young
e6ca9837a2
Clear numbers from non-numberable pads and don't run DRC on them.
This was also the last straw on the misnamed PAD::GetName() and
PAD::SetName(), which are now PAD::GetNumber() and PAD::SetNumber().
Fixes https://gitlab.com/kicad/code/kicad/issues/9017
4 years ago
Jeff Young
ea6769b702
The REPORTER interface is inherently line-based.
Also fixes a bunch of error messages that were similar but not
identical (which just increases translation burden).
Fixes https://gitlab.com/kicad/code/kicad/issues/8723
4 years ago
Jeff Young
096e342386
Prefix TRACK, ARC and VIA.
4 years ago
luz paz
5f1e9bc8a7
Fix typos in source code
4 years ago
Marek Roszko
10e60acf34
Clean up including of board_design_settings.h
4 years ago
Marek Roszko
4df3cb912d
Remove another leaky wx/log.h header
5 years ago
Marek Roszko
03cf2b517f
Enum class PAD_ATTR_T
Renamed such that python stays the same
5 years ago
Marek Roszko
b243c2280d
enum class PAD_SHAPE_T
5 years ago
Jon Evans
c04e19f9ac
Include optimization: move some things from common.h to point-of-use
5 years ago
Dominik Wernberger
07635d2fc7
Minor adjustments
5 years ago
Dominik Wernberger
ac94d72d2d
Add more const specifiers
5 years ago
Jeff Young
b1f0bf7334
More consistent naming.
5 years ago
Jeff Young
b123318cf6
Encourage use of full DRC for board & footprint malformed outlines.
It shows much more detail. Removes some nag dialogs and places
hypertext links in others.
Also fixes the auto-layer-showing to correctly show Edge.Cuts or
F.CrtYd or B.CrtYd for errors relating to them.
Fixes https://gitlab.com/kicad/code/kicad/issues/6446
5 years ago
Jeff Young
7bd31d5237
Naming conventions.
5 years ago
Jeff Young
bdbb68f813
MODULE -> FOOTPRINT.
5 years ago
Jeff Young
52a46341db
More module -> footprint.
5 years ago
Jeff Young
f5443de7f9
D_PAD -> PAD.
5 years ago
Jeff Young
84dd5108ba
Remove some "class_" prefixes from files.
5 years ago
Jeff Young
f7333ad64a
Update some classnames including archaic zone names.
5 years ago
Marek Roszko
1d559108c8
Move LOCALE_IO out of common.h
5 years ago
Jeff Young
cce557b9ad
Redo the board-edge-building logic to return better error reports.
Fixes https://gitlab.com/kicad/code/kicad/issues/6119
5 years ago
Jeff Young
37906511f5
Class renaming.
DRAWSEGMENT -> PCB_SHAPE
EDGE_MODULE -> FP_SHAPE
TEXTE_PCB -> PCB_TEXT
TEXTE_MODULE -> FP_TEXT
5 years ago
Seth Hillbrand
bf3cb0b1d0
Standardize pad type enums
5 years ago
Jeff Young
9e12ea9bb6
Cleanup some dead code and make better use of iterators.
Also applies coding style around auto and lambdas.
5 years ago
Jeff Young
929528a72c
Coding style.
5 years ago
jean-pierre charras
2675f69479
Hyperlynx export: use the board current stackup parameters instead of fixed prms
Fixes #4856
https://gitlab.com/kicad/code/kicad/issues/4856
5 years ago
Jon Evans
0d4ee39f75
CHANGED: Copper zones can be on more than one layer
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1963
5 years ago
jean-pierre charras
b7cd0c54c2
Fix compil issues, especially on Windows:
Replace SEVERITY_ERROR by RPT_SEVERITY_ERROR to avoid collision with a system definition.
Replace other SEVERITY_XXX by RPT_SEVERITY_XX for consistency.
Fix compil warnings and some other compil issues.
6 years ago
Jeff Young
85c2e0d23a
Add user-defined severities, exclusions and colors to DRC markers.
Exclusions are currently persisted in the project file.
Fixes https://gitlab.com/kicad/code/kicad/issues/1989
6 years ago
Simon Richter
866aac9737
Clean up a few unused names of caught exceptions
6 years ago