kigadgets.pad¶
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¶
Module Contents¶
- class kigadgets.pad.PadShape¶
- Circle¶
- Oval¶
- Rectangle¶
- RoundedRectangle¶
- Trapezoid¶
- Chamfered¶
- Custom¶
- class kigadgets.pad.Pad¶
Bases:
digraph inheritance44db3975f5 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "BoardItem" [URL="../item/index.html#kigadgets.item.BoardItem",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for all PCB board items."]; "GeoHashable" -> "BoardItem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "GeoHashable" [URL="../item/index.html#kigadgets.item.GeoHashable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for objects that can be geometrically hashed."]; "HasConnection" [URL="../item/index.html#kigadgets.item.HasConnection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Mixin for board items with electrical connections."]; "GeoHashable" -> "HasConnection" [arrowsize=0.5,style="setlinewidth(0.5)"]; "HasLayer" [URL="../item/index.html#kigadgets.item.HasLayer",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Mixin for layer handling based on *strings* (like `'F.Cu'`, `'B.Silkscreen'`, `'User.12'`, etc.)."]; "GeoHashable" -> "HasLayer" [arrowsize=0.5,style="setlinewidth(0.5)"]; "HasPosition" [URL="../item/index.html#kigadgets.item.HasPosition",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Mixin for board items with position properties."]; "GeoHashable" -> "HasPosition" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Pad" [URL="#kigadgets.pad.Pad",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "HasPosition" -> "Pad" [arrowsize=0.5,style="setlinewidth(0.5)"]; "HasConnection" -> "Pad" [arrowsize=0.5,style="setlinewidth(0.5)"]; "HasLayer" -> "Pad" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Selectable" -> "Pad" [arrowsize=0.5,style="setlinewidth(0.5)"]; "BoardItem" -> "Pad" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Selectable" [URL="../item/index.html#kigadgets.item.Selectable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Mixin for board items that can be selected in the GUI."]; "GeoHashable" -> "Selectable" [arrowsize=0.5,style="setlinewidth(0.5)"]; }kigadgets.item.HasPosition,kigadgets.item.HasConnection,kigadgets.item.HasLayer,kigadgets.item.Selectable,kigadgets.item.BoardItem- property pad_type: int¶
- property drill_shape: int¶
- property drill: kigadgets.Size¶
Drill size. Returns Size.
- property shape: int¶
- property size: kigadgets.Size¶
- property name: str¶
- geohash() int¶