KiCad Pcbnew Python Scripting
Public Member Functions | Properties | List of all members
pcbnew.UNITS_PROVIDER Class Reference
Inheritance diagram for pcbnew.UNITS_PROVIDER:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, aIuScale, aUnits)
 
def GetUserUnits (self)
 
def SetUserUnits (self, aUnits)
 
def GetIuScale (self)
 
def GetOriginTransforms (self)
 
def StringFromValue (self, *args)
 
def MessageTextFromValue (self, *args)
 
def ValueFromString (self, *args)
 
def AngleValueFromString (self, aTextValue)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

Proxy of C++ UNITS_PROVIDER class.

Definition at line 9737 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.UNITS_PROVIDER.__init__ (   self,
  aIuScale,
  aUnits 
)
__init__(UNITS_PROVIDER self, EDA_IU_SCALE aIuScale, EDA_UNITS aUnits) -> UNITS_PROVIDER

Definition at line 9743 of file pcbnew.py.

Member Function Documentation

◆ AngleValueFromString()

def pcbnew.UNITS_PROVIDER.AngleValueFromString (   self,
  aTextValue 
)
AngleValueFromString(UNITS_PROVIDER self, wxString aTextValue) -> EDA_ANGLE

Definition at line 9782 of file pcbnew.py.

◆ GetIuScale()

def pcbnew.UNITS_PROVIDER.GetIuScale (   self)
GetIuScale(UNITS_PROVIDER self) -> EDA_IU_SCALE

Definition at line 9756 of file pcbnew.py.

◆ GetOriginTransforms()

def pcbnew.UNITS_PROVIDER.GetOriginTransforms (   self)
GetOriginTransforms(UNITS_PROVIDER self) -> ORIGIN_TRANSFORMS &

Definition at line 9760 of file pcbnew.py.

◆ GetUserUnits()

def pcbnew.UNITS_PROVIDER.GetUserUnits (   self)
GetUserUnits(UNITS_PROVIDER self) -> EDA_UNITS

Definition at line 9748 of file pcbnew.py.

◆ MessageTextFromValue()

def pcbnew.UNITS_PROVIDER.MessageTextFromValue (   self,
args 
)
    MessageTextFromValue(UNITS_PROVIDER self, double aValue, bool aAddUnitLabel=True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
    MessageTextFromValue(UNITS_PROVIDER self, EDA_ANGLE aValue, bool aAddUnitLabel=True) -> wxString

Definition at line 9771 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetUserUnits()

def pcbnew.UNITS_PROVIDER.SetUserUnits (   self,
  aUnits 
)
SetUserUnits(UNITS_PROVIDER self, EDA_UNITS aUnits)

Definition at line 9752 of file pcbnew.py.

◆ StringFromValue()

def pcbnew.UNITS_PROVIDER.StringFromValue (   self,
args 
)
    StringFromValue(UNITS_PROVIDER self, double aValue, bool aAddUnitLabel=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString
    StringFromValue(UNITS_PROVIDER self, EDA_ANGLE aValue, bool aAddUnitLabel=False) -> wxString

Definition at line 9764 of file pcbnew.py.

Here is the caller graph for this function:

◆ ValueFromString()

def pcbnew.UNITS_PROVIDER.ValueFromString (   self,
args 
)
ValueFromString(UNITS_PROVIDER self, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> int

Definition at line 9778 of file pcbnew.py.

Property Documentation

◆ thisown

pcbnew.UNITS_PROVIDER.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 9740 of file pcbnew.py.


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