Hints and fixes for separate checking of milling cutter size and drill size.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15886
This commit is contained in:
parent
68a5753c80
commit
8f96009fe5
|
@ -296,6 +296,15 @@ Deprecated; use `intersectsArea()` instead.
|
|||
(constraint connection_width (min 0.8mm))
|
||||
(condition "A.NetClass == 'Power'"))
|
||||
|
||||
# Separate drill bit and milling cutter size constraints
|
||||
(rule "Plated through-hole size"
|
||||
(constraint hole_size (min 0.2mm) (max 6.35mm))
|
||||
(condition "A.isPlated() && A.Hole_Size_X == A.Hole_Size_Y"))
|
||||
(rule "Plated slot size"
|
||||
(constraint hole_size (min 0.5mm))
|
||||
(condition "A.isPlated() && A.Hole_Size_X != A.Hole_Size_Y"))
|
||||
|
||||
|
||||
### Documentation
|
||||
|
||||
For the full documentation see [https://docs.kicad.org](https://docs.kicad.org/GetMajorMinorVersion/en/pcbnew/pcbnew.html#custom_design_rules).
|
|
@ -122,7 +122,7 @@ DRC_ITEM DRC_ITEM::annularWidth( DRCE_ANNULAR_WIDTH,
|
|||
wxT( "annular_width" ) );
|
||||
|
||||
DRC_ITEM DRC_ITEM::drillTooSmall( DRCE_DRILL_OUT_OF_RANGE,
|
||||
_( "Drill out of range" ),
|
||||
_( "Hole size out of range" ),
|
||||
wxT( "drill_out_of_range" ) );
|
||||
|
||||
DRC_ITEM DRC_ITEM::viaDiameter( DRCE_VIA_DIAMETER,
|
||||
|
@ -134,7 +134,7 @@ DRC_ITEM DRC_ITEM::padstack( DRCE_PADSTACK,
|
|||
wxT( "padstack" ) );
|
||||
|
||||
DRC_ITEM DRC_ITEM::microviaDrillTooSmall( DRCE_MICROVIA_DRILL_OUT_OF_RANGE,
|
||||
_( "Micro via drill out of range" ),
|
||||
_( "Micro via hole size out of range" ),
|
||||
wxT( "microvia_drill_out_of_range" ) );
|
||||
|
||||
DRC_ITEM DRC_ITEM::courtyardsOverlap( DRCE_OVERLAPPING_FOOTPRINTS,
|
||||
|
|
Loading…
Reference in New Issue