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 Move (self, aMoveVector)
 
def ExportTo (self, args)
 

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 18691 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 18735 of file pcbnew.py.

Member Function Documentation

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

void
PAD_CS_PRIMITIVE::ExportTo(EDGE_MODULE *aTarget)

Export the PAD_CS_PRIMITIVE parameters to a EDGE_MODULE useful to
convert a primitive shape to a EDGE_MODULE shape for edition in
footprint editor.

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

aTarget:  is the EDGE_MODULE to initialize 

Definition at line 18788 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 18757 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 18747 of file pcbnew.py.

def pcbnew.PAD_CS_PRIMITIVE.Move (   self,
  aMoveVector 
)
Move(PAD_CS_PRIMITIVE self, wxPoint aMoveVector)

void
PAD_CS_PRIMITIVE::Move(wxPoint aMoveVector)

returns the start point of an arc

Move the primitive

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

aMoveVector:  is the deplacement vector 

Definition at line 18769 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 18721 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 18729 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 18733 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 18717 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 18709 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 18725 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 18713 of file pcbnew.py.

pcbnew.PAD_CS_PRIMITIVE.this

Definition at line 18745 of file pcbnew.py.


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