diff --git a/docs/footprints/smtpad.mdx b/docs/footprints/smtpad.mdx index 48af748..0cc5e8b 100644 --- a/docs/footprints/smtpad.mdx +++ b/docs/footprints/smtpad.mdx @@ -49,6 +49,7 @@ Each smtpad shape has different properties. | ----------- | ------------ | --------------------------------------------------------------------------- | | width | rect, pill | The width of the pad | | height | rect, pill | The height of the pad | +| cornerRadius | rect | Optional. Corner radius for rectangular pads | | radius | circle, pill | The radius of the pad (for circle) or corner radius (for pill) | | points | polygon | An array of `{ x, y }` coordinates describing the polygon vertices | | ccwRotation | rect | Counter-clockwise rotation angle in degrees | @@ -57,6 +58,35 @@ Each smtpad shape has different properties. | pcbY | all | Y position of the pad center on the PCB | | layer | all | Which layer the pad is on (`"top"` or `"bottom"`) | +## Example: Rectangular Pad with Rounded Corners + +Use the `cornerRadius` property on rectangular pads to round their corners. + + ( + + + + + } /> + + ) + `} +/> + ## Example: Polygon Pad Here’s an example of using a **polygon smtpad**