Jeff Young
495b42c39f
Fix logic error. Footprint is sometimes the item and sometimes its parent.
Fixes https://gitlab.com/kicad/code/kicad/issues/10949
4 years ago
Jeff Young
5efa354f0f
Add asserts to flush out incorrect uses of GetLayer().
4 years ago
Jeff Young
5739505aa3
TextBoxes for PCBNew.
4 years ago
Marek Roszko
c4c56de708
Neurotically update position wxPoint usages
4 years ago
Jeff Young
fa908e1f98
Dimensions for footprints.
Fixes https://gitlab.com/kicad/code/kicad/issues/8441
4 years ago
Jeff Young
4b6bf3095a
Radial dimensions.
ADDED radial type dimensions.
Fixes https://gitlab.com/kicad/code/kicad/issues/2056
4 years ago
Wayne Stambaugh
cf00319c85
More NULL expunging.
4 years ago
Jeff Young
096e342386
Prefix TRACK, ARC and VIA.
4 years ago
Jeff Young
16b0147af8
Prefix DIMENSION types.
4 years ago
luz paz
f968fc8719
Fix source comment / documentation typos
4 years ago
Marek Roszko
03cf2b517f
Enum class PAD_ATTR_T
Renamed such that python stays the same
5 years ago
Mikołaj Wielgus
3e42ba18a9
Show dragging tools in context selection menu for components
Show the dragging tools in the context selection menu when a single
component is selected. Prevent the dragging tools from appearing when
more than one object is selected, as they will not activate anyway.
Fixes https://gitlab.com/kicad/code/kicad/issues/7258
5 years ago
Jeff Young
ffdff21f45
Use a sloppier hittest for the collector as well as the actual hittest.
Fixes https://gitlab.com/kicad/code/kicad/issues/7079
5 years ago
Jon Evans
132e78d2b8
Fix pcbnew collector prioritization
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6307
5 years ago
Jeff Young
666c11965a
Clean up some more MODULE terms.
5 years ago
Jeff Young
7bd31d5237
Naming conventions.
5 years ago
Jeff Young
bdbb68f813
MODULE -> FOOTPRINT.
5 years ago
Jeff Young
3451ac3088
PCB_MODULE_T -> PCB_FOOTPRINT_T
5 years ago
Jeff Young
522d64968e
Yet more module -> footprint.
5 years ago
Jeff Young
a3a9ef4f32
Naming conventions.
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
Jeff Young
5ede4061e3
Bug fixes and enhancements for dimensions.
1) Make them easier to select.
2) Mirror text when flipping to other side of board.
3) Flip around a more "known" point (the text position isn't really
here nor there).
Fixes https://gitlab.com/kicad/code/kicad/issues/6219
5 years ago
Seth Hillbrand
f8a4edb1c9
First pass renaming module to footprint
This is mostly in comments and the few remainin text strings that
reference module
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
Jeff Young
7a4900b8dc
PCB_LINE_T -> PCB_SHAPE_T and PCB_MODULE_EDGE_T -> PCB_FP_SHAPE_T
Also updated footprint text and zone types for consistencey.
5 years ago
Jeff Young
ba26e056ec
Implement groups for modedit.
This uncovered a memory corruption bug in MODULE's move operator,
several bugs in MODULE's move and copy constructors, and a bug in
BOARD's GetItem() call.
It also bumps the file format for saving/restoring groups inside
footprints.
5 years ago
Jeff Young
4c5db9681c
Naming conventions.
5 years ago
Jon Evans
acf13a1869
ADDED: Orthogonal dimension object
5 years ago
Jon Evans
e9b627bfd8
ADDED: Center marker dimension type
5 years ago
Jon Evans
75ffce1a0b
ADDED: Leader dimension object
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5555
5 years ago
Jon Evans
76c4c959e6
Implement new dimension properties
- Automatic units mode (follow UI units)
- New text and number formatting options
- Automatic/manual text orientation control
- New text positioning options (inline and manual)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4280
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4497
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
Qbort
b41892e4da
Rename class GROUP in pcbnew to PCB_GROUP
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5156
5 years ago
Joshua Redstone
ee428876ec
ADDED: Group/Ungroup function
This implements the group/ungroup functions to mark a set of EDA_ITEMs as a unit, allowing them to be moved and rotated as a unit
5 years ago
Jeff Young
4317881012
Improve delete-unused-layers to better handle multi-layer items.
Fixes https://gitlab.com/kicad/code/kicad/issues/5116
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
Ian McInerney
99dcadf7e6
Introduce new KI_FALLTHROUGH macro
Annotate purposeful fallthroughs in switch statements with the
KI_FALLTHROUGH macro.
6 years ago
Seth Hillbrand
8c19b4b6ae
pcbnew: Adding arcs to PNS
This is allows ARCs in tracks to be synchronized with
the PNS router. Note this does not yet include the UI components
to route curved traces
7 years ago
Jeff Young
4014afad54
Remove unused functionality.
6 years ago
Jeff Young
89dfee9ebe
Employ an accuracy when hittesting (particularly for lines).
Also fixes a bug where the parent module was being hit-tested
for its children.
Fixes https://gitlab.com/kicad/code/kicad/issues/3750
6 years ago
Ian McInerney
13b6028e1b
Refactor all math into a new kimath library
* Split up the thirdparty code into the thirdparty folder (#3637 )
* Create a new kimath static library containing all the math functions
This is part of cleaning the build system for #1906 .
6 years ago
Mark Roszko
19ceb11ae7
Change more enums over to scoped enums
6 years ago
jean-pierre charras
1c2891e6d4
Fp editor: allow internal layers in footprint keep-out zones Especially: Enable one internal layer to manage keep-out areas only on internal layers Allowing one internal layer is a trick to manage these keep-out areas (visibility and selection) In fact this internal layer groups all internal layers enabled is these keep-out areas.
6 years ago
jean-pierre charras
bc5dcf182f
keepout in footprint: fix some crashes and issues. Create a specific type (PCB_MODULE_ZONE_AREA_T) for zones in footprint. The new class (MODULE_ZONE_CONTAINER) is the same as ZONE_CONTAINER, but the type ID is PCB_MODULE_ZONE_AREA_T instead of PCB_ZONE_AREA_T.
This is mandatory because these zones must be handled differently in many functions.
6 years ago
Ross Schlaikjer
64a42ffa35
Add keepout in footprints: Starting point.
6 years ago
Jeff Young
2ad40ad10a
Fix some misplaced parens.
Fixes: lp:1818449
* https://bugs.launchpad.net/kicad/+bug/1818449
6 years ago
Jeff Young
dae41b7460
Remove legacy segment-based zones.
Give the user the option of cancelling a file open if there are
segment zones; otherwise they're converted to polygon fills.
Fixes: lp:1823087
* https://bugs.launchpad.net/kicad/+bug/1823087
7 years ago
jean-pierre charras
0ef7aeb274
Fix incorrect behavior when collection footprint items in collectors.cpp.
It was a bug in commit 208622699 .
Fixes: lp:1803803
https://bugs.launchpad.net/kicad/+bug/1803803
7 years ago