From 6c8f25b418abd759e8cb940a4eab693804d665cf Mon Sep 17 00:00:00 2001 From: Graham Keeth Date: Wed, 3 Sep 2025 20:55:30 -0400 Subject: [PATCH] Add DRC syntax help for via_dangling --- pcbnew/dialogs/panel_setup_rules_help_2constraints.h | 1 + pcbnew/dialogs/panel_setup_rules_help_2constraints.md | 1 + 2 files changed, 2 insertions(+) diff --git a/pcbnew/dialogs/panel_setup_rules_help_2constraints.h b/pcbnew/dialogs/panel_setup_rules_help_2constraints.h index 744dd6d17b..6085b918b8 100644 --- a/pcbnew/dialogs/panel_setup_rules_help_2constraints.h +++ b/pcbnew/dialogs/panel_setup_rules_help_2constraints.h @@ -29,6 +29,7 @@ _HKI( "### Constraints\n" "| `track_angle` | min/opt/max | Checks the angle between two connected track segments. An error will be generated for each connected pair with an angle below the `min` value (if specified) or above the `max` value (if specified).
|\n" "| `track_segment_length` | min/max | Checks the length of track and arc segments. An error will be generated for each segment that has a length below the `min` value (if specified) or above the `max` value (if specified).
|\n" "| `via_count` | max | Counts the number of vias on every net matched by the rule condition. If that number exceeds the constraint `max` value on any matched net, an error will be generated for that net.
|\n" +"| `via_dangling` | | Checks for vias that are unconnected or connected on only one layer. This constraint does not take a min/opt/max value. In combination with a severity clause, this constraint can be used to allow or disallow dangling vias in various conditions.
|\n" "| `zone_connection` | `solid`
`thermal_reliefs`
`none` | Specifies the connection to be made between a zone and a pad.
|\n" "\n" "\n" diff --git a/pcbnew/dialogs/panel_setup_rules_help_2constraints.md b/pcbnew/dialogs/panel_setup_rules_help_2constraints.md index 45eee2f663..2b5b170456 100644 --- a/pcbnew/dialogs/panel_setup_rules_help_2constraints.md +++ b/pcbnew/dialogs/panel_setup_rules_help_2constraints.md @@ -28,6 +28,7 @@ | `track_angle` | min/opt/max | Checks the angle between two connected track segments. An error will be generated for each connected pair with an angle below the `min` value (if specified) or above the `max` value (if specified).
| | `track_segment_length` | min/max | Checks the length of track and arc segments. An error will be generated for each segment that has a length below the `min` value (if specified) or above the `max` value (if specified).
| | `via_count` | max | Counts the number of vias on every net matched by the rule condition. If that number exceeds the constraint `max` value on any matched net, an error will be generated for that net.
| +| `via_dangling` | | Checks for vias that are unconnected or connected on only one layer. This constraint does not take a min/opt/max value. In combination with a severity clause, this constraint can be used to allow or disallow dangling vias in various conditions.
| | `zone_connection` | `solid`
`thermal_reliefs`
`none` | Specifies the connection to be made between a zone and a pad.
|