kigadgets.pad ============= .. py:module:: kigadgets.pad .. autoapi-nested-parse:: Pad handling for KiCad PCB footprint components. This module provides classes for representing PCB pads within footprints, including pad shapes, drill types, and electrical connection properties. Direct instantiation of Pad is not supported because all pads are part of a footprint. - Access pre-existing pads through `Footprint.pads` property - Create new footprint designs using the KicadModTree, not kigadgets Classes ------- .. autoapisummary:: kigadgets.pad.DrillShape kigadgets.pad.PadShape kigadgets.pad.PadType kigadgets.pad.Pad Module Contents --------------- .. py:class:: DrillShape .. py:attribute:: Circle .. py:attribute:: Oval .. py:class:: PadShape .. py:attribute:: Circle .. py:attribute:: Oval .. py:attribute:: Rectangle .. py:attribute:: RoundedRectangle .. py:attribute:: Trapezoid .. py:attribute:: Chamfered .. py:attribute:: Custom .. py:class:: PadType .. py:attribute:: Through .. py:attribute:: SMD .. py:attribute:: Connector .. py:attribute:: NPTH .. py:class:: Pad Bases: :py:obj:`kigadgets.item.HasPosition`, :py:obj:`kigadgets.item.HasConnection`, :py:obj:`kigadgets.item.HasLayer`, :py:obj:`kigadgets.item.Selectable`, :py:obj:`kigadgets.item.BoardItem` .. autoapi-inheritance-diagram:: kigadgets.pad.Pad :parts: 1 .. py:property:: pad_type :type: int .. py:property:: drill_shape :type: int .. py:property:: drill :type: kigadgets.Size Drill size. Returns `Size`. .. py:property:: shape :type: int .. py:property:: size :type: kigadgets.Size .. py:property:: name :type: str .. py:method:: geohash() -> int