jean-pierre charras
921291c28b
Pcbnew, default values for sizes and thickness: add missing tests for validation.
Especially for texts, the min and max values that are used are the same as
for other dialogs.
2 years ago
Jeff Young
420cadab34
Separate meander settings from target length/skew.
Settings move to Board Setup, while target length is sourced from
the custom rules (or a text-entry dialog if no rules are active for
the track).
Target skew is sourced from the coupled-trace-length minus the
trace-to-be-tuned length.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12075
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15826
2 years ago
Jeff Young
8760bd8c80
Reconcile "apply defaults to new footprints" with DRC lib checks.
Moves apply defaults settings to Board Setup (where they were
duplicated anyway due to an earlier botched merge).
Modifies the apply-to-graphics algorithm to skip copper shapes.
Modifies DRC library check to skip STROKE_PARAMS for non-copper
shapes.
2 years ago
Marek Roszko
37e8a008ab
Remove obsolete config_params.h includes
2 years ago
Jeff Young
8f5b7569d1
Split StyleFootprints into separate bools for fields vs text & graphics.
Also moves the settings from Board Setup to Preferences > PCB Editor.
Also collapses Track Drag Mode from radio buttons to a choice menu to
save space and allow it to be with the other editing action modes.
2 years ago
Jeff Young
a66360525a
Broaden "Style footprint fields" to cover graphics as well.
Also cleans up the layout of the symbol & fp properties dialogs.
Also fixes the background colour of the link textEdit controls on Mac.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8161
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15152
2 years ago
Mike Williams
cc7798745e
Board Settings: control styling of footprint fields
Can use library values or board default settings. Defaults to board
default settings.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8161
2 years ago
Jeff Young
daa3a1aae9
Revert addition of update-teardrops checkbox to DRC dialog.
3 years ago
Jeff Young
2d15067453
ADDED allow update of teardrops before running DRC.
Fixes https://gitlab.com/kicad/code/kicad/issues/14264
3 years ago
Jeff Young
461def2719
Move automatic dimension processing inside PCB_DIMENSION_BASE.
Also move dimension precision to an enum so it can get a proper dropdown
in the properties inspector.
3 years ago
Jon Evans
1215a967e2
Set copper edge clearance to a more reasonable default
3 years ago
Marek Roszko
aacc9746e3
Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere
3 years ago
kliment
ef8062bfad
pcbnew: Change some of the default settings in board setup and netclasses
3 years ago
Jeff Young
86938aa425
Read, write and process the board-wide Allow soldermask bridges in FPs.
3 years ago
Jeff Young
a9536b5de9
CHANGED netclass assignments now done via canvas or via patterns.
3 years ago
Seth Hillbrand
a9a5136c1c
Always allow blind/buried/micro vias
Removes a nanny setting that prevented the use of
blind/buried/micro-vias without a checkbox. If the designer does not
want microvias in their board, they simply do not place microvias.
3 years ago
Seth Hillbrand
3081023b5e
ADDED: Minimum copper connection width DRC check
Checks all copper connections in each net/layer for minimum width
setting.
Fixes https://gitlab.com/kicad/code/kicad/issues/9870
3 years ago
Jeff Young
3deaf902bb
Retire the V5 zone fill algorithm.
Fixes https://gitlab.com/kicad/code/kicad/issues/10578
4 years ago
jean-pierre charras
1b42152ba0
Teardrops: store parameters in BOARD_DESIGN_SETTINGS.
4 years ago
Marek Roszko
347e03363a
Convert wxPoint/wxSize starting from EDA_RECT usages
4 years ago
Jeff Young
dabc75bee8
Source 3D dimensions from board stackup.
Also includes a performance improvemnt by caching the 3D model matrices.
4 years ago
Jeff Young
ef10b36948
Add mask-to-copper clearance parameter and rename mask margin.
4 years ago
Jeff Young
a1e3f2b188
Starved thermals DRC checking.
ADDED min_resolved_spokes constraint.
ADDED "Thermal relief connection to zone incomplete" violation.
Fixes https://gitlab.com/kicad/code/kicad/issues/2183
4 years ago
Jeff Young
2001d08186
Add DRC tests for text height and text thickness.
Fixes https://gitlab.com/kicad/code/kicad/issues/8683
4 years ago
Mike Williams
956ac871c3
PCB Editor: changes to track width overrides starting track width
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8797
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8797
4 years ago
Jeff Young
1f9e75f676
Pad with hole same size or larger than pad isn't flashed.
... even if it's marked as being on copper layers.
Also changes the default hole clearance to 0.25mm.
Fixes https://gitlab.com/kicad/code/kicad/issues/9901
4 years ago
Jon Evans
75d75799f7
Move to getters/setters for aux and grid origin
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8836
4 years ago
Jeff Young
81fc710a5d
Use consistent terminology.
Fixes https://gitlab.com/kicad/code/kicad/issues/8681
4 years ago
Marek Roszko
10e60acf34
Clean up including of board_design_settings.h
5 years ago
Jon Evans
bc6b9b527a
Allow stackup height to be excluded from length calculations
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8384
5 years ago
Wayne Stambaugh
2ae264751f
Rename class_board_stackup.{h|cpp} to board_stackup.{h|cpp}.
5 years ago
Jeff Young
3e9eb3c8ac
More complete fix for crasher JP found.
Fixes https://gitlab.com/kicad/code/kicad/issues/7806
5 years ago
Jon Evans
68f958145d
Gracefully handle lack of diff pair settings
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7806
5 years ago
Dominik Wernberger
ac94d72d2d
Add more const specifiers
5 years ago
Wayne Stambaugh
bf00ebee3b
Header clean up round 1.
5 years ago
Jeff Young
3b35bfc0a5
Don't write out synthetic severities (they're headings).
Fixes https://gitlab.com/kicad/code/kicad/issues/6726
5 years ago
Jeff Young
e09271ca0e
Fixes for hole clearance and hole-to-hole tests.
1) Separate out CONSTRAINT types
2) Filter both source and dest pads/vias for drilled holes when doing
hole-to-hole checks. We were checking the items being put into the
DRC RTree, but not the items we were scanning.
3) Add hole clearance to Board Setup Constraints panel.
Fixes https://gitlab.com/kicad/code/kicad/issues/6546
Fixes https://gitlab.com/kicad/code/kicad/issues/4683
5 years ago
jean-pierre charras
a431fd99ca
Fix crash when converting a Eagle board to a Kicad board.
During conversion a illegal layer number was used without filtering
5 years ago
Jeff Young
61bca4aaa4
A bit of "module" erradication, nameing conventions, and formatting.
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
32dffd27ab
Add silk clearance to board setup constraints.
5 years ago
Jeff Young
614d452f12
Resolve trackwidth[0]/viasize[0] to be the netclass values.
If we don't have a netclass use the default netclass.
Fixes https://gitlab.com/kicad/code/kicad/issues/5957
5 years ago
Jeff Young
04c4012ee6
Make track/via sizes UI more predictable and compatible with DRC.
Two main changes: netclass values need to go through the DRC engine
so they can interact with other rules. They're also now dependent
on the layer being routed as well as the start object.
Also make the controls adjust to each other better. For instance,
copy-track-width needs to turn off when you select a particular
track width, and a particular track width needs to zero out when
you choose copy-track-width.
Fixes https://gitlab.com/kicad/code/kicad/issues/5951
5 years ago
Jon Evans
728c207105
Deduplicate settings migration handling
5 years ago
Jeff Young
f340636f70
When knocking out higher-priority zone use fill, not outline.
Also fixes a bunch of naming issues, primarily with lowercase for
protected variables, but also some for consistency with other parts
of the code.
Also changes the zone fill radio buttons in Board Setup to be more
generic referring to legacy vs. current, and to have tooltips.
Fixes https://gitlab.com/kicad/code/kicad/issues/5583
5 years ago
Jeff Young
e2e229da96
Finish exorcising the old DRC system.
This moves the various BOARD_ITEM calls to the new system, and make
the DRC_ENGINE long-lived so that it can field those queries.
5 years ago
Jon Evans
3940e20fcb
Expose extension offset and zero suppression settings
5 years ago
Jon Evans
0e9997d9ca
Add new dimension features to board design defaults
5 years ago