| 
    KiCad Pcbnew Python Scripting
    
   | 
 

Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| Collide (self, *args) | |
| SquaredDistance (self, aP, aOutlineOnly=False) | |
| PointInside (self, aPt, aAccuracy=0, aUseBBoxCache=False) | |
| PointOnEdge (self, aP, aAccuracy=0) | |
| EdgeContainingPoint (self, aP, aAccuracy=0) | |
| GetPoint (self, aIndex) | |
| GetSegment (self, aIndex) | |
| GetPointCount (self) | |
| GetSegmentCount (self) | |
| IsClosed (self) | |
| GetCachedBBox (self) | |
  Public Member Functions inherited from pcbnew.SHAPE | |
| __init__ (self, *args, **kwargs) | |
| Clone (self) | |
| GetClearance (self, aOther) | |
| IsNull (self) | |
| BBox (self, aClearance=0) | |
| Centre (self) | |
| Distance (self, aP) | |
| NearestPoints (self, aOther, aPtThis, aPtOther) | |
| TransformToPolygon (self, aBuffer, aError, aErrorLoc) | |
| Rotate (self, *args) | |
| GetStart (self) | |
| GetEnd (self) | |
| GetWidth (self) | |
| SetWidth (self, aWidth) | |
| Move (self, aVector) | |
| IsSolid (self) | |
| Parse (self, aStream) | |
| Format (self, aCplusPlus=True) | |
| Cast (self) | |
  Public Member Functions inherited from pcbnew.SHAPE_BASE | |
| __init__ (self, aType) | |
| Type (self) | |
| TypeName (self) | |
| HasIndexableSubshapes (self) | |
| GetIndexableSubshapeCount (self) | |
| GetIndexableSubshapes (self, aSubshapes) | |
Properties | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
  Properties inherited from pcbnew.SHAPE | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
  Properties inherited from pcbnew.SHAPE_BASE | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Additional Inherited Members | |
  Static Public Attributes inherited from pcbnew.SHAPE | |
| MIN_PRECISION_IU = _pcbnew.SHAPE_MIN_PRECISION_IU | |
| pcbnew.SHAPE_LINE_CHAIN_BASE.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) | 
| pcbnew.SHAPE_LINE_CHAIN_BASE.Collide | ( | self, | |
| * | args ) | 
    Collide(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
    Collide(SHAPE_LINE_CHAIN_BASE self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
 
Reimplemented from pcbnew.SHAPE.
Reimplemented in pcbnew.SHAPE_LINE_CHAIN, and pcbnew.SHAPE_SIMPLE.
| pcbnew.SHAPE_LINE_CHAIN_BASE.EdgeContainingPoint | ( | self, | |
| aP, | |||
| aAccuracy = 0 ) | 
| pcbnew.SHAPE_LINE_CHAIN_BASE.GetCachedBBox | ( | self | ) | 
| pcbnew.SHAPE_LINE_CHAIN_BASE.GetPoint | ( | self, | |
| aIndex ) | 
| pcbnew.SHAPE_LINE_CHAIN_BASE.GetPointCount | ( | self | ) | 
| pcbnew.SHAPE_LINE_CHAIN_BASE.GetSegment | ( | self, | |
| aIndex ) | 
| pcbnew.SHAPE_LINE_CHAIN_BASE.GetSegmentCount | ( | self | ) | 
| pcbnew.SHAPE_LINE_CHAIN_BASE.IsClosed | ( | self | ) | 
| pcbnew.SHAPE_LINE_CHAIN_BASE.PointInside | ( | self, | |
| aPt, | |||
| aAccuracy = 0, | |||
| aUseBBoxCache = False ) | 
PointInside(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool
Reimplemented from pcbnew.SHAPE.
| pcbnew.SHAPE_LINE_CHAIN_BASE.PointOnEdge | ( | self, | |
| aP, | |||
| aAccuracy = 0 ) | 
| pcbnew.SHAPE_LINE_CHAIN_BASE.SquaredDistance | ( | self, | |
| aP, | |||
| aOutlineOnly = False ) | 
SquaredDistance(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, bool aOutlineOnly=False) -> SEG::ecoord
Reimplemented from pcbnew.SHAPE.
      
  | 
  static |