diff --git a/docs/elements/pcbnotedimension.mdx b/docs/elements/pcbnotedimension.mdx index fd04a8f..bba3681 100644 --- a/docs/elements/pcbnotedimension.mdx +++ b/docs/elements/pcbnotedimension.mdx @@ -7,7 +7,7 @@ import CircuitPreview from "@site/src/components/CircuitPreview" ## Overview -`` lets you add dimensional annotations to your PCB design. These annotations display the distance between two points with arrows and text labels, making it easy to communicate critical measurements for manufacturing, assembly, or design review. Dimension annotations are visible in PCB previews and can be exported with fabrication outputs. +`` lets you add dimensional annotations to your PCB design. These annotations display the distance between two points with arrows and an automatically generated measurement label, making it easy to communicate critical measurements for manufacturing, assembly, or design review. Dimension annotations are visible in PCB previews and can be exported with fabrication outputs. ## Basic Usage @@ -25,7 +25,6 @@ Below is a simple board with a dimension annotation showing the distance between @@ -66,7 +64,7 @@ Instead of specifying exact coordinates, you can use selectors to reference comp |---------|------|-------------| | `from` | string \| Point | **Required.** Starting point of the dimension. Can be a selector string (e.g., `"R1"`) or a Point object with `x` and `y` coordinates. | | `to` | string \| Point | **Required.** Ending point of the dimension. Can be a selector string (e.g., `"R2"`) or a Point object with `x` and `y` coordinates. | -| `text` | string | Label text to display on the dimension line (e.g., `"5mm"`, `"Critical spacing"`). | +| `text` | string | Optional custom label text to override the auto-generated measurement (e.g., `"Critical spacing"`). | | `arrowSize` | length | Size of the arrows at each end of the dimension line. Defaults to `1mm`. | | `fontSize` | length | Height of the label text. Defaults to `1mm`. | | `color` | string | Hex color code for the dimension line, arrows, and text (e.g., `"#ffffff"`, `"#00ff00"`). |