simplipfy.Svg.Elements package

Submodules

simplipfy.Svg.Elements.components module

class simplipfy.Svg.Elements.components.Capacitor(vec: Vector2D, di: DrawingInfo, omega_0, multipleSources: bool, formatter: DictExportBase, ls: LangSymbols, scaling=3.0)

Bases: DrawingElement

caOfst = {'down': 0.3, 'left': 0.3, 'right': 0.3, 'up': 0.3}
curLabel(drawing: Drawing, at: Element, ofst=0, ofstLabel=(-0.1, 0), reverse=False)
schemdrawElement() Capacitor
class simplipfy.Svg.Elements.components.ConnectionDot(vec: Vector2D, di: DrawingInfo, omega_0, multipleSources: bool, formatter: DictExportBase, ls: LangSymbols, scaling=3.0, label='')

Bases: DrawingElement

curLabel(drawing: Drawing, at: Element, ofst=0.7, ofstLabel=(-0.1, 0), reverse=False)
property endPos: Vector2D
length() float
schemdrawElement() Dot
voltLabel(drawing: Drawing, at: Element, ofst=0.15, ofstLabel=(0.2, -0.1), reverse=False)
class simplipfy.Svg.Elements.components.Inductor(vec: Vector2D, di: DrawingInfo, omega_0, multipleSources: bool, formatter: DictExportBase, ls: LangSymbols, scaling=3.0)

Bases: DrawingElement

curLabel(drawing: Drawing, at: Element, ofst=0.7, ofstLabel=(-0.1, 0), reverse=False)
schemdrawElement() InductorIEC
vaOfst = {'down': 0.3, 'left': 0.3, 'right': -0.25, 'up': -0.25}
voltLabel(drawing: Drawing, at: Element, ofst=0.3, ofstLabel=(0.2, -0.1), reverse=False)
class simplipfy.Svg.Elements.components.Line(vec: Vector2D, di: DrawingInfo, omega_0, multipleSources: bool, formatter: DictExportBase, ls: LangSymbols, scaling=3.0)

Bases: DrawingElement

curLabel(drawing: Drawing, at: Element, ofst=0.7, ofstLabel=(-0.1, 0), reverse=False) None
elOfstL = {'down': (0, 0), 'left': (0, 0), 'right': (0, 0), 'up': (0, 0)}
elOfstR = {'down': (0, 2.2), 'left': (0, 0), 'right': (0, 0), 'up': (0, -2.2)}
schemdrawElement() Line
value()
voltLabel(drawing: Drawing, at: Element, ofst=0.15, ofstLabel=(0.2, -0.1), reverse=False) None
class simplipfy.Svg.Elements.components.Resistor(vec: Vector2D, di: DrawingInfo, omega_0, multipleSources: bool, formatter: DictExportBase, ls: LangSymbols, scaling=3.0)

Bases: DrawingElement

schemdrawElement() ResistorIEC

simplipfy.Svg.Elements.meters module

class simplipfy.Svg.Elements.meters.Ammeter(vec: Vector2D, di: DrawingInfo, omega_0, multipleSources: bool, formatter: DictExportBase, ls: LangSymbols, scaling=3.0)

Bases: Meter

schemdrawElement() MeterI
class simplipfy.Svg.Elements.meters.Meter(vec: Vector2D, di: DrawingInfo, omega_0, multipleSources: bool, formatter: DictExportBase, ls: LangSymbols, scaling=3.0)

Bases: DrawingElement

clOfst = {'down': (-0.15, 0), 'left': (-0.1, -0.15), 'right': (-0.1, 0.15), 'up': (0, 0)}
schemdrawElement() Element
vaOfst = {'down': 0.15, 'left': 0.15, 'right': -1.2, 'up': -1.15}
vlOfst = {'down': (0.2, -0.1), 'left': (-0.4, -0.25), 'right': (0, 0.25), 'up': (-0.2, 0.1)}
class simplipfy.Svg.Elements.meters.Voltmeter(vec: Vector2D, di: DrawingInfo, omega_0, multipleSources: bool, formatter: DictExportBase, ls: LangSymbols, scaling=3.0)

Bases: Meter

schemdrawElement() MeterV

simplipfy.Svg.Elements.sources module

class simplipfy.Svg.Elements.sources.Source(vec: Vector2D, di: DrawingInfo, omega_0, multipleSources: bool, formatter: DictExportBase, ls: LangSymbols, scaling=3.0)

Bases: DrawingElement

curLabel(drawing: Drawing, at: Element, ofst=0.7, ofstLabel=(-0.1, 0), reverse=False, suffix=None)
abstractmethod schemdrawElement() Source
vaOfst = {'down': 0.15, 'left': 0.15, 'right': -1.15, 'up': -1.15}
voltLabel(drawing: Drawing, at: Element, ofst=0.15, ofstLabel=None, reverse=False, suffix=None)
class simplipfy.Svg.Elements.sources.SourceI(vec: Vector2D, di: DrawingInfo, omega_0, multipleSources: bool, formatter: DictExportBase, ls: LangSymbols, scaling=3.0)

Bases: Source

schemdrawElement() Source
class simplipfy.Svg.Elements.sources.SourceV(vec: Vector2D, di: DrawingInfo, omega_0, multipleSources: bool, formatter: DictExportBase, ls: LangSymbols, scaling=3.0)

Bases: Source

schemdrawElement() [<class 'schemdrawInskale.elements.sources.SourceSin'>, <class 'schemdrawInskale.elements.sources.StabilizedSource'>]

Module contents