get_design_rules
Retrieve the board's manufacturing constraints—minimum clearance, track width, via drill diameter, and pad diameter—to know valid dimensions before creating tracks or vias.
Instructions
Returns the board's design rules derived from the Default netclass: minimum clearance, minimum track width, minimum via drill diameter, and via pad diameter, all in millimeters. These constraints define the manufacturing limits for the PCB. On KiCAD 10.x, design rules are extracted from the project's Default netclass settings. Values shown as 'not configured' use KiCAD's internal defaults. Use this before creating tracks or vias to know valid minimum dimensions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |