From b31b513a11c376092901674ded84cc1d6bf437d5 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Sun, 15 Feb 2026 17:20:43 -0800 Subject: [PATCH] Fix typos --- common/netlist_reader/kicad_netlist_reader.cpp | 4 ++-- pcbnew/dialogs/panel_setup_rules_help_2constraints.h | 2 +- pcbnew/netlist_reader/kicad_netlist_reader.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/netlist_reader/kicad_netlist_reader.cpp b/common/netlist_reader/kicad_netlist_reader.cpp index f6bff6e561..16a140429d 100644 --- a/common/netlist_reader/kicad_netlist_reader.cpp +++ b/common/netlist_reader/kicad_netlist_reader.cpp @@ -651,7 +651,7 @@ void KICAD_NETLIST_PARSER::parseComponent() if( !footprint.IsEmpty() && fpid.Parse( footprint, true ) >= 0 ) { wxString error; - error.Printf( _( "Invalid footprint ID in\nfile: '%s'\nline: %d\nofff: %d" ), + error.Printf( _( "Invalid footprint ID in\nfile: '%s'\nline: %d\noffset: %d" ), CurSource(), CurLineNumber(), CurOffset() ); THROW_IO_ERROR( error ); @@ -762,7 +762,7 @@ void KICAD_NETLIST_PARSER::parseGroup() if( !libId.IsEmpty() && groupLibId.Parse( libId, true ) >= 0 ) { wxString error; - error.Printf( _( "Invalid lib_id ID in\nfile: '%s'\nline: %d\nofff: %d" ), CurSource(), CurLineNumber(), + error.Printf( _( "Invalid lib_id ID in\nfile: '%s'\nline: %d\noffset: %d" ), CurSource(), CurLineNumber(), CurOffset() ); THROW_IO_ERROR( error ); diff --git a/pcbnew/dialogs/panel_setup_rules_help_2constraints.h b/pcbnew/dialogs/panel_setup_rules_help_2constraints.h index 779001f740..e61bde90f2 100644 --- a/pcbnew/dialogs/panel_setup_rules_help_2constraints.h +++ b/pcbnew/dialogs/panel_setup_rules_help_2constraints.h @@ -16,7 +16,7 @@ _HKI( "### Constraints\n" "| `length` | min/max | Checks the total routed length for the nets that match the rule condition and generates an error for each net that is below the `min` value (if specified) or above the `max` value (if specified) of the constraint.
|\n" "| `hole` | min/max | Checks the size (diameter) of a drilled hole in a pad or via. For oval holes, the smaller (minor) diameter will be tested against the `min` value (if specified) and the larger (major) diameter will be tested against the `max` value (if specified).
|\n" "| `hole_clearance` | min | Checks the clearance between a drilled hole in a pad or via and copper objects on a different net. The clearance is measured from the diameter of the hole, not its center.
|\n" -"| `hole_to_hole` | min | Checks the clearance between mechanically-drilled holes in pads and vias. The clearance is measured between the diameters of the holes, not between their centers.

This constraint is soley for the protection of drill bits. The clearance between **laser-drilled** (microvias) and other non-mechanically-drilled holes is not checked, nor is the clearance between **milled** (oval-shaped) and other non-mechanically-drilled holes.
|\n" +"| `hole_to_hole` | min | Checks the clearance between mechanically-drilled holes in pads and vias. The clearance is measured between the diameters of the holes, not between their centers.

This constraint is solely for the protection of drill bits. The clearance between **laser-drilled** (microvias) and other non-mechanically-drilled holes is not checked, nor is the clearance between **milled** (oval-shaped) and other non-mechanically-drilled holes.
|\n" "| `physical_clearance` | min | Checks the clearance between two objects on a given layer (including non-copper layers).

While this can perform more general-purpose checks than `clearance`, it is much slower. Use `clearance` where possible.
|\n" "| `physical_hole_clearance` | min | Checks the clearance between a drilled hole in a pad or via and another object, regardless of net. The clearance is measured from the diameter of the hole, not its center.

This can also be thought of as the \"drilling tolerance\" as it only includes **round** holes (see `edge_clearance` for the milling tolerance).
|\n" "| `silk_clearance` | min/opt/max | Checks the clearance between objects on silkscreen layers and other objects.
|\n" diff --git a/pcbnew/netlist_reader/kicad_netlist_reader.cpp b/pcbnew/netlist_reader/kicad_netlist_reader.cpp index f8f3c8999d..95ee4b17f9 100644 --- a/pcbnew/netlist_reader/kicad_netlist_reader.cpp +++ b/pcbnew/netlist_reader/kicad_netlist_reader.cpp @@ -826,7 +826,7 @@ void KICAD_NETLIST_PARSER::parseComponent() if( !footprint.IsEmpty() && fpid.Parse( footprint, true ) >= 0 ) { wxString error; - error.Printf( _( "Invalid footprint ID in\nfile: '%s'\nline: %d\nofff: %d" ), + error.Printf( _( "Invalid footprint ID in\nfile: '%s'\nline: %d\noffset: %d" ), CurSource(), CurLineNumber(), CurOffset() ); THROW_IO_ERROR( error ); @@ -941,7 +941,7 @@ void KICAD_NETLIST_PARSER::parseGroup() if( !libId.IsEmpty() && groupLibId.Parse( libId, true ) >= 0 ) { wxString error; - error.Printf( _( "Invalid lib_id ID in\nfile: '%s'\nline: %d\nofff: %d" ), CurSource(), CurLineNumber(), + error.Printf( _( "Invalid lib_id ID in\nfile: '%s'\nline: %d\noffset: %d" ), CurSource(), CurLineNumber(), CurOffset() ); THROW_IO_ERROR( error );