Jeff Young
513fc872bb
Support both X and Y mirroring in FPEditor.
Fixes https://gitlab.com/kicad/code/kicad/issues/12409
3 years ago
Marek Roszko
61e11d6896
Strip out Mils2Iu
3 years ago
Marek Roszko
a8613ee80f
Combine Iu2Millimeter & remove PcbMm2iu
3 years ago
Jeff Young
aa0863cdf4
Don't mirror text on non-physical layers when in flip board view.
Fixes https://gitlab.com/kicad/code/kicad/issues/10037
3 years ago
dsa-t
bd8b737c44
GAL: Do better job at reserving vertices.
3 years ago
Jeff Young
281b9d405a
ADDED ability to specify where pad number (& net name) go on custom shaped pads.
Fixes https://gitlab.com/kicad/code/kicad/issues/6627
3 years ago
Jeff Young
9523586bf1
Remove atrophied PCB NO_CONNECTS layer and its colour.
Fixes https://gitlab.com/kicad/code/kicad/issues/12316
3 years ago
Jeff Young
16b4f96405
Centralize no-connect- and free-pad processing.
Also makes the track-net-names less squirrelly around the viewport
edges.
3 years ago
Jeff Young
b4492e0bd2
More EDA_RECE yeetage.
3 years ago
Jeff Young
2dc6300501
Move EDA_ITEM bounding boxes to BOX2I.
3 years ago
jean-pierre charras
a306246558
Fix a few (minor) compil and Coverity warnings.
3 years ago
Jeff Young
ae86c6f3a7
Don't include text in locked-item-shadow-calc for footprints.
And make shadow margins consistent for all objects.
Fixes https://gitlab.com/kicad/code/kicad/issues/11545
3 years ago
Jeff Young
6cfbf895fc
Make sure parent pos is factored in for polygons.
Fixes https://gitlab.com/kicad/code/kicad/issues/11945
3 years ago
Jeff Young
96f01d33c8
Performance improvements.
1) Move a bunch of std::map's to std::unordered_map to get constant-time
look-ups
2) Lengthen progress-reporting intervals to spend more time doing work
and less time talking about it
3) Reverse order of SHAPE_LINE_CHAINs in thermal intersection checks to
make (much) better use of bbox caches
4) Don't re-generate bboxes we already have
5) Fix some autos that weren't by reference (and were therefore copying
large datasets)
6) Rename delta progressDelta so it's easier to search for in future
7) Get rid of a few more autos (because I don't like them)
8) Pass large items to lambdas by reference
Fixes https://gitlab.com/kicad/code/kicad/issues/12130
3 years ago
Jeff Young
43df863df2
Fix issue with caches not being initialized when printing msg bar.
3 years ago
Jeff Young
e10158ff10
ADDED show pin names on footprint pads when assigning to symbol.
Fixes https://gitlab.com/kicad/code/kicad/issues/4576
3 years ago
Jeff Young
1bad72f14f
Remove bad static_cast.
(m_settings isn't a PCBNEW_SETTINGS in non-PCB_EDIT_FRAMEs)
3 years ago
jean-pierre charras
8eee766791
Fix Cvpcb DISPLAY_FOOTPRINTS_FRAME: some display options not working. Commit 5e4a7041 moved 4 settings used in Cvpcb to a PCBNEW_SETTINGS struct. But in Cvpcb, this config struct does not exist. So these 4 settings are now moved to a section (PCB_VIEWERS_SETTINGS_BASE) common to Cvpcb and Pcbnew config.
3 years ago
Jeff Young
f41af10007
Clean up hole shapes for safety (smart pointer) and consistency.
3 years ago
Mike Williams
f8b157a1fb
PCB: Bitmaps should respect layer opacity and highlighting options
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12045
3 years ago
Seth Hillbrand
c8a383a48e
Get via font fill/color correct when highlighted
Fixes https://gitlab.com/kicad/code/kicad/issues/11802
3 years ago
Mike Williams
99f8b21ed1
PCB: Add bitmap layer per board layer
3 years ago
Mike Williams
3669cb4673
PCB Editor: Add User Background Images
4 years ago
Jeff Young
231ac567b8
Bug fixes for printing vias.
Blind/buried and microvias didn't get their layers trimmed properly,
nor did through vias with dropped pads.
Fixes https://gitlab.com/kicad/code/kicad/issues/11851
3 years ago
Jeff Young
fa11e1c097
Take text height into account as well as thickness for knockout margin.
Also centralizes calculation so all clients will get the same answer.
Fixes https://gitlab.com/kicad/code/kicad/issues/11636
4 years ago
jean-pierre charras
57e59a4959
Pcbnew, on line DRC when moving footprints: add visible collisions between courtyards
4 years ago
Jeff Young
cc86d3da2a
Give up trying to find a one-size-fits-all boudningBox for text.
Fixes https://gitlab.com/kicad/code/kicad/issues/11636
4 years ago
Jeff Young
492259a1d4
Outline font bug fixes for PCBNew dimensions.
Fixes https://gitlab.com/kicad/code/kicad/issues/11583
4 years ago
jean-pierre charras
1d5be1adeb
Cairo GAL: fix incorrect size and thickness of text drawn by GAL::BitmapText()
4 years ago
Jeff Young
90af5a36d2
Show hole clearance lines around NPTH pads.
Also make the clearance line NONPLATED_HOLES colour, not the PADS_TH
colour.
4 years ago
Jeff Young
cf611f1742
Better safety around layersets.
4 years ago
Jeff Young
4225f92573
Slight improvements to via drawing.
Fixes https://gitlab.com/kicad/code/kicad/issues/8717
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
e03b06927d
Fix rotation problems for knockout fp text, and implement 3D rendering.
Fixes https://gitlab.com/kicad/code/kicad/issues/11086
4 years ago
jean-pierre charras
0440aa3d83
Extend layer LAYER_LOCKED_ITEM_SHADOW to draw shadow markers on other locked items:
tracks, texts, graphics.
4 years ago
jean-pierre charras
016af235db
Pcbnew: add a GAL layer (LAYER_LOCKED_ITEM_SHADOW) to draw markers on locked footprints
4 years ago
Jeff Young
40fd8860fe
Plotting (and some bug fixes) for knockout text.
4 years ago
Jeff Young
293021c58c
ADDED: knockout pcb and fp text.
Fixes https://gitlab.com/kicad/code/kicad/issues/7055
4 years ago
Jeff Young
bf0f2aa4a8
Adjust bitmap text spacing a bit so it's closer to the stroke font.
This helps the text better match the highlighting when it gets small
enough that we switch to the bitmap font for performance.
4 years ago
Jeff Young
513486b0ec
Overhaul show no-net indicators logic.
It doesn't appear that it was ever finished the first time around.
Fixes https://gitlab.com/kicad/code/kicad/issues/11020
4 years ago
Jeff Young
69a6033905
Hysteresis for track netnames.
Fixes https://gitlab.com/kicad/code/kicad/issues/10416
4 years ago
Jeff Young
5544dd8018
Don't call GetLayer() on a multi-layer object.
4 years ago
Jeff Young
bc24002be7
Don't print clearance lines.
Fixes https://gitlab.com/kicad/code/kicad/issues/10883
4 years ago
Jeff Young
2172810600
Performance: better sharing of zone fills.
4 years ago
jean-pierre charras
a455dd8815
Fix issue for stand alone python scripts, when running without project.
4 years ago
Jeff Young
a2ca8cf413
Improve SNR.
4 years ago
Jeff Young
3deaf902bb
Retire the V5 zone fill algorithm.
Fixes https://gitlab.com/kicad/code/kicad/issues/10578
4 years ago
Jeff Young
7ccac79192
More wxString wide literals.
4 years ago
Jeff Young
5739505aa3
TextBoxes for PCBNew.
4 years ago
Jeff Young
09d0f6e17c
Map zone layers before checking their visibility.
Fixes https://gitlab.com/kicad/code/kicad/issues/10509
4 years ago