KiCAD pcbnew scripting
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
pcbnew.PAD_CS_PRIMITIVE Class Reference
Inheritance diagram for pcbnew.PAD_CS_PRIMITIVE:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, aShape)
 
def GetCenter (self)
 
def GetArcStart (self)
 
def ExportTo (self, aTarget)
 

Public Attributes

 this
 

Static Public Attributes

tuple m_Shape = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_Shape_get, _pcbnew.PAD_CS_PRIMITIVE_m_Shape_set)
 
tuple m_Thickness = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_Thickness_get, _pcbnew.PAD_CS_PRIMITIVE_m_Thickness_set)
 
tuple m_Radius = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_Radius_get, _pcbnew.PAD_CS_PRIMITIVE_m_Radius_set)
 
tuple m_ArcAngle = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_ArcAngle_get, _pcbnew.PAD_CS_PRIMITIVE_m_ArcAngle_set)
 
tuple m_Start = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_Start_get, _pcbnew.PAD_CS_PRIMITIVE_m_Start_set)
 
tuple m_End = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_End_get, _pcbnew.PAD_CS_PRIMITIVE_m_End_set)
 
tuple m_Poly = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_Poly_get, _pcbnew.PAD_CS_PRIMITIVE_m_Poly_set)
 

Detailed Description

Helper class to handle a primitive (basic shape: polygon, segment,
circle or arc) to build a custom pad full shape from a set of
primitives.

C++ includes: class_pad.h 

Definition at line 18042 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.PAD_CS_PRIMITIVE.__init__ (   self,
  aShape 
)
__init__(PAD_CS_PRIMITIVE self, STROKE_T aShape) -> PAD_CS_PRIMITIVE

PAD_CS_PRIMITIVE::PAD_CS_PRIMITIVE(STROKE_T aShape) 

Definition at line 18086 of file pcbnew.py.

Member Function Documentation

def pcbnew.PAD_CS_PRIMITIVE.ExportTo (   self,
  aTarget 
)
ExportTo(PAD_CS_PRIMITIVE self, DRAWSEGMENT aTarget)

void
PAD_CS_PRIMITIVE::ExportTo(DRAWSEGMENT *aTarget)

returns the start point of an arc

Export the PAD_CS_PRIMITIVE parameters to a DRAWSEGMENT useful to draw
a primitive shape

Parameters:
-----------

aTarget:  is the DRAWSEGMENT to initialize 

Definition at line 18120 of file pcbnew.py.

def pcbnew.PAD_CS_PRIMITIVE.GetArcStart (   self)
GetArcStart(PAD_CS_PRIMITIVE self) -> wxPoint

wxPoint
PAD_CS_PRIMITIVE::GetArcStart()

returns the center of a circle or arc 

Definition at line 18108 of file pcbnew.py.

def pcbnew.PAD_CS_PRIMITIVE.GetCenter (   self)
GetCenter(PAD_CS_PRIMITIVE self) -> wxPoint

wxPoint
PAD_CS_PRIMITIVE::GetCenter() 

Definition at line 18098 of file pcbnew.py.

Member Data Documentation

tuple pcbnew.PAD_CS_PRIMITIVE.m_ArcAngle = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_ArcAngle_get, _pcbnew.PAD_CS_PRIMITIVE_m_ArcAngle_set)
static

Definition at line 18072 of file pcbnew.py.

tuple pcbnew.PAD_CS_PRIMITIVE.m_End = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_End_get, _pcbnew.PAD_CS_PRIMITIVE_m_End_set)
static

Definition at line 18080 of file pcbnew.py.

tuple pcbnew.PAD_CS_PRIMITIVE.m_Poly = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_Poly_get, _pcbnew.PAD_CS_PRIMITIVE_m_Poly_set)
static

Definition at line 18084 of file pcbnew.py.

tuple pcbnew.PAD_CS_PRIMITIVE.m_Radius = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_Radius_get, _pcbnew.PAD_CS_PRIMITIVE_m_Radius_set)
static

Definition at line 18068 of file pcbnew.py.

tuple pcbnew.PAD_CS_PRIMITIVE.m_Shape = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_Shape_get, _pcbnew.PAD_CS_PRIMITIVE_m_Shape_set)
static

Definition at line 18060 of file pcbnew.py.

tuple pcbnew.PAD_CS_PRIMITIVE.m_Start = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_Start_get, _pcbnew.PAD_CS_PRIMITIVE_m_Start_set)
static

Definition at line 18076 of file pcbnew.py.

tuple pcbnew.PAD_CS_PRIMITIVE.m_Thickness = _swig_property(_pcbnew.PAD_CS_PRIMITIVE_m_Thickness_get, _pcbnew.PAD_CS_PRIMITIVE_m_Thickness_set)
static

Definition at line 18064 of file pcbnew.py.

pcbnew.PAD_CS_PRIMITIVE.this

Definition at line 18096 of file pcbnew.py.


The documentation for this class was generated from the following file: