MK_12C02_G025 module#

class RectSMDPad1[source]#

Bases: Pad

rect = Polygon(elements=((0.45, 0.9), (-0.45, 0.9), (-0.45, -0.9), (0.45, -0.9)), holes=())#
shape: Shape | PadShape = Polygon(elements=((0.45, 0.9), (-0.45, 0.9), (-0.45, -0.9), (0.45, -0.9)), 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.

layer = Soldermask(shape=Polygon(elements=((0.45, 0.9), (-0.45, 0.9), (-0.45, -0.9), (0.45, -0.9)), holes=()), side=<Side.Top: 0>)#
class RectSMDPad2[source]#

Bases: Pad

rect = Polygon(elements=((0.55, 0.4649985), (-0.55, 0.4649985), (-0.55, -0.4649985), (0.55, -0.4649985)), holes=())#
shape: Shape | PadShape = Polygon(elements=((0.55, 0.4649985), (-0.55, 0.4649985), (-0.55, -0.4649985), (0.55, -0.4649985)), 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.

layer = Soldermask(shape=Polygon(elements=((0.55, 0.4649985), (-0.55, 0.4649985), (-0.55, -0.4649985), (0.55, -0.4649985)), holes=()), side=<Side.Top: 0>)#
class C778186[source]#

Bases: Landpattern

p = {1: RectSMDPad1().at(-2.250064, 2.440932, on=<Side.Top: 0>), 2: RectSMDPad1().at(0.749936, 2.440932, on=<Side.Top: 0>), 3: RectSMDPad1().at(2.249809, 2.440932, on=<Side.Top: 0>), 4: RectSMDPad2().at(3.799975, 1.544056, on=<Side.Top: 0>), 5: RectSMDPad2().at(3.799975, -0.725946, on=<Side.Top: 0>), 6: RectSMDPad2().at(-3.799975, -0.725946, on=<Side.Top: 0>), 7: RectSMDPad2().at(-3.799975, 1.544056, on=<Side.Top: 0>)}#
ref_text = Silkscreen(shape=Shape[Text], side=<Side.Top: 0>)#
value_text = Finish(shape=Shape[Text], side=<Side.Top: 0>)#
ref_alt_text = Finish(shape=Shape[Text], side=<Side.Top: 0>)#
silk_lines = [Silkscreen(shape=Polyline(width=0.254001, elements=[(3.299898, -0.052794), (3.299898, 0.871006)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254001, elements=[(-0.000127, -2.440932), (-0.000127, -0.940856)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254001, elements=[(3.199873, -0.940856), (-3.200127, -0.940856)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254001, elements=[(0.09177, 1.759068), (-1.591974, 1.759068)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254001, elements=[(1.299949, -2.440932), (-0.000127, -2.440932)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254001, elements=[(1.299949, -0.940856), (1.299949, -2.440932)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254001, elements=[(-3.300152, -0.052794), (-3.300152, 0.871006)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254001, elements=[(1.59177, 1.759068), (1.407976, 1.759068)]), side=<Side.Top: 0>)]#
silk_arcs = [Silkscreen(shape=ArcPolyline(width=0.059995, elements=[Arc(center=(-3.852654, 2.770574), radius=0.0299969999999998, start=0.0, arc=360.0)]), side=<Side.Top: 0>)]#
cutout_circles = [Cutout(shape=Shape[Circle]), Cutout(shape=Shape[Circle])]#
solder_mask_circles = [Soldermask(shape=Shape[Circle], side=<Side.Top: 0>), Soldermask(shape=Shape[Circle], side=<Side.Top: 0>)]#
class MK_12C02_G025(*args, **kwargs)[source]#

Bases: Component

G-Switch

mpn: str | None = 'MK-12C02-G025'#

Manufacturer part number for this component.

reference_designator_prefix: str | None = 'SW'#

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.

p = Port()#
t = {1: Port(), 2: Port()}#
c = {1: Port(), 2: Port(), 3: Port(), 4: Port()}#
landpattern = C778186()#
symbol = BoxSymbol(columns=[Column(down=[PinGroup([Port(), Port(), Port(), Port(), Port(), Port(), Port()])])])#
mappings = [PadMapping({Port(): [C778186().p[1]], Port(): [C778186().p[2]], Port(): [C778186().p[3]], Port(): [C778186().p[4]], Port(): [C778186().p[5]], Port(): [C778186().p[6]], Port(): [C778186().p[7]]})]#
datasheet = 'https://datasheet.lcsc.com/lcsc/2009021103_G-Switch-MK-12C02-G025_C778186.pdf'#
Device#

alias of MK_12C02_G025