PH2_0_2PWB module#

class RectangleSmdPad[source]#

Bases: Pad

shape: Shape | PadShape = Polygon(elements=((0.45, 0.85), (-0.45, 0.85), (-0.45, -0.85), (0.45, -0.85)), holes=())#

The geometric shape of the pad or a PadShape to specify the regular shape and the shape when non-functional pads are removed. Can be overridden on a per-layer basis by shapes.

solder_mask = [Soldermask(shape=Polygon(elements=((0.501, 0.901), (-0.501, 0.901), (-0.501, -0.901), (0.501, -0.901)), holes=()), side=<Side.Top: 0>)]#
paste = [Paste(shape=Polygon(elements=((0.501, 0.901), (-0.501, 0.901), (-0.501, -0.901), (0.501, -0.901)), holes=()), side=<Side.Top: 0>)]#
class RectangleSmdPad1[source]#

Bases: Pad

shape: Shape | PadShape = Polygon(elements=((0.4, 1.5), (-0.4, 1.5), (-0.4, -1.5), (0.4, -1.5)), holes=())#

The geometric shape of the pad or a PadShape to specify the regular shape and the shape when non-functional pads are removed. Can be overridden on a per-layer basis by shapes.

solder_mask = [Soldermask(shape=Polygon(elements=((0.451, 1.551), (-0.451, 1.551), (-0.451, -1.551), (0.451, -1.551)), holes=()), side=<Side.Top: 0>)]#
paste = [Paste(shape=Polygon(elements=((0.451, 1.551), (-0.451, 1.551), (-0.451, -1.551), (0.451, -1.551)), holes=()), side=<Side.Top: 0>)]#
class LandpatternCONN_SMD_2P_P2_00_PH2_0_SPWB[source]#

Bases: Landpattern

name = 'CONN-SMD_2P-P2.00_PH2.0-SPWB'#
p = {1: RectangleSmdPad().at((1.0005, -3.5)), 2: RectangleSmdPad().at((-0.9995, -3.5)), 3: RectangleSmdPad1().at((-3.2495, 2.85)), 4: RectangleSmdPad1().at((3.2505, 2.85))}#
pcb_layer_reference = Silkscreen(shape=Shape[Text], side=<Side.Top: 0>)#
pcb_layer_value = Custom(shape=Shape[Text], side=<Side.Top: 0>, name='Fab')#
custom_layer = [Custom(shape=Polyline(width=0.254, elements=[(-3.2005, -1.85), (-3.2005, -3.451)]), side=<Side.Top: 0>, name='Fab'), Custom(shape=Polyline(width=0.254, elements=[(3.2005, -3.45), (3.2005, -1.85)]), side=<Side.Top: 0>, name='Fab'), Custom(shape=Polyline(width=0.254, elements=[(3.2005, -1.85), (-3.2005, -1.85)]), side=<Side.Top: 0>, name='Fab'), Custom(shape=Polyline(width=0.254, elements=[(-3.9995, 4.15), (4.0005, 4.15)]), side=<Side.Top: 0>, name='Fab'), Custom(shape=Polyline(width=0.254, elements=[(4.0005, 4.15), (4.0005, -3.45)]), side=<Side.Top: 0>, name='Fab'), Custom(shape=Polyline(width=0.254, elements=[(-3.9995, -3.45), (-3.9995, 4.15)]), side=<Side.Top: 0>, name='Fab'), Custom(shape=Polyline(width=0.254, elements=[(-3.2005, -3.45), (-4.0005, -3.45)]), side=<Side.Top: 0>, name='Fab'), Custom(shape=Polyline(width=0.254, elements=[(4.0005, -3.45), (3.2005, -3.45)]), side=<Side.Top: 0>, name='Fab'), Custom(shape=ArcPolyline(width=0.06, elements=[Arc(center=(4.0005, -3.925), radius=0.03, start=0, arc=-360)]), side=<Side.Top: 0>, name='Fab')]#
silkscreen = [Silkscreen(shape=Polyline(width=0.254, elements=[(-3.2005, -1.85), (-3.2005, -3.45)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(3.2005, -3.45), (3.2005, -1.85)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(3.2005, -1.85), (-3.1995, -1.85)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(4.0005, 4.15), (4.0005, -3.45)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(-2.4995, 4.15), (2.5005, 4.15)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(-3.9995, -3.45), (-3.9995, 4.15)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(-3.2005, -3.45), (-4.0005, -3.45)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(4.0005, -3.45), (3.2005, -3.45)]), side=<Side.Top: 0>)]#
courtyard = [Courtyard(shape=Polygon(elements=((4.1275, 4.401), (-4.1275, 4.401), (-4.1275, -4.401), (4.1275, -4.401)), holes=()), side=<Side.Top: 0>)]#
class SymbolPH2_0_2PWB[source]#

Bases: Symbol

pin_name_size: float | None = 0.7874#

Font size of pin name text of Pin objects in this symbol, in grid units. If unset, defers to a parent Symbol, if a parent exists. This can be overriden at the Pin level by setting its pin_name_size attribute.

pad_name_size: float | None = 0.7874#

Font size of pad name text of Pin objects in this symbol, in grid units. If unset, defers to a parent Symbol, if a parent exists. This can be overriden at the Pin level by setting its pad_name_size attribute.

p = {1: Pin((-1, 1), 2, <Direction.Left: 'left'>), 2: Pin((-1, -1), 2, <Direction.Left: 'left'>), 3: Pin((2, -3), 2, <Direction.Down: 'down'>), 4: Pin((2, 3), 2, <Direction.Up: 'up'>)}#
layer_reference = Shape[Text]#
layer_value = Shape[Text]#
draws = [Shape[Polygon], Shape[Circle]]#
class Component(*args, **kwargs)[source]#

Bases: Component

description = 'Battery connector module for 2.0mm pitch battery connection'#
manufacturer: str | None = 'BOOMELE'#

Manufacturer for this component.

mpn: str | None = 'C47647'#

Manufacturer part number for this component.

reference_designator_prefix: str | None = 'J'#

Reference designator prefix for this component. This will be used to generate a unique reference designator for each component of the same type.

Note

This field is a required data point for matching components between builds. If this value changes (including changing from unset to set), it will be treated as a new component, even if nothing else changes.

datasheet = 'https://datasheet.lcsc.com/lcsc/1912111436_BOOMELE-Boom-Precision-Elec-C47647_C47647.pdf'#
p = {1: Port(), 2: Port(), 3: Port(), 4: Port()}#
landpattern = LandpatternCONN_SMD_2P_P2_00_PH2_0_SPWB()#
symbol = SymbolPH2_0_2PWB()#
cmappings = [SymbolMapping({Port(): SymbolPH2_0_2PWB().p[1], Port(): SymbolPH2_0_2PWB().p[2], Port(): SymbolPH2_0_2PWB().p[3], Port(): SymbolPH2_0_2PWB().p[4]}), PadMapping({Port(): LandpatternCONN_SMD_2P_P2_00_PH2_0_SPWB().p[1], Port(): LandpatternCONN_SMD_2P_P2_00_PH2_0_SPWB().p[2], Port(): LandpatternCONN_SMD_2P_P2_00_PH2_0_SPWB().p[3], Port(): LandpatternCONN_SMD_2P_P2_00_PH2_0_SPWB().p[4]})]#
class PH2_0_2PWB(*args, **kwargs)[source]#

Bases: Circuit

PH2-0-2PWB Module Battery connector module for 2.0mm pitch battery connection

power = Port()#
ground = Port()#
battery = Component()#
nets = [add(Port(), Component().p[1]), add(Port(), Component().p[2])]#
Device#

alias of PH2_0_2PWB