Skip to main content
← Back to kicad-monkey Rust Docs kicad-monkey Rust Crate API Reference

build_pad_shape

Function build_pad_shape 

Source
pub fn build_pad_shape(
    fp: &PcbFootprint,
    pad: &PcbPad,
    margin_nm: i64,
    ratio: Option<f64>,
    resolved: Option<&PcbResolvedPadCopperLayer<'_>>,
) -> Option<(AreaShape, Placement2D)>
Expand description

Build local analytic pad shape and board-space rigid placement (+Y up, whole nm).