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

shape_to_board_polygon

Function shape_to_board_polygon 

Source
pub fn shape_to_board_polygon(
    shape: &AreaShape,
    placement: Placement2D,
) -> Vec<CoordNm>
Expand description

Tessellate any local AreaShape into board-space polygon vertices (+Y up, whole nm).