BSS138 module#

class RectangleSmdPad[source]#

Bases: Pad

shape: Shape | PadShape = Polygon(elements=((0.625, 0.35), (-0.625, 0.35), (-0.625, -0.35), (0.625, -0.35)), 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.676, 0.401), (-0.676, 0.401), (-0.676, -0.401), (0.676, -0.401)), holes=()), side=<Side.Top: 0>)]#
paste = [Paste(shape=Polygon(elements=((0.676, 0.401), (-0.676, 0.401), (-0.676, -0.401), (0.676, -0.401)), holes=()), side=<Side.Top: 0>)]#
class LandpatternSOT_23_3_L2_9_W1_3_P1_90_LS2_4_BR[source]#

Bases: Landpattern

name = 'SOT-23-3_L2.9-W1.3-P1.90-LS2.4-BR'#
p = {1: RectangleSmdPad().at((1, -0.9495)), 2: RectangleSmdPad().at((1, 0.9495)), 3: RectangleSmdPad().at((-1, -0.0005))}#
pcb_layer_reference = Silkscreen(shape=Shape[Text], side=<Side.Top: 0>)#
pcb_layer_value = Custom(shape=Shape[Text], side=<Side.Top: 0>, name='Fab')#
silkscreen = [Silkscreen(shape=Polyline(width=0.152, elements=[(0.726, 1.5265), (-0.726, 1.5265), (-0.726, 0.4945)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.152, elements=[(0.726, -1.5265), (-0.726, -1.5265), (-0.726, -0.4945)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.152, elements=[(0.726, 0.4555), (0.726, -0.4555)]), side=<Side.Top: 0>)]#
custom_layer = [Custom(shape=ArcPolyline(width=0.06, elements=[Arc(center=(1.2, -1.4505), radius=0.03, start=0, arc=-360)]), side=<Side.Top: 0>, name='Fab'), Custom(shape=ArcPolyline(width=0.2, elements=[Arc(center=(1.46, -1.1005), radius=0.1, start=0, arc=-360)]), side=<Side.Top: 0>, name='Fab')]#
courtyard = [Courtyard(shape=Polygon(elements=((1.676, 1.6025), (-1.676, 1.6025), (-1.676, -1.6025), (1.676, -1.6025)), holes=()), side=<Side.Top: 0>)]#
model3ds = [<jitx.model3d.Model3D object>]#
class SymbolBSS138_C713688[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.

D = Pin((0, 2), 2, <Direction.Up: 'up'>)#
G = Pin((-4, 0), 2, <Direction.Left: 'left'>)#
S = Pin((0, -2), 2, <Direction.Down: 'down'>)#
layer_reference = Shape[Text]#
layer_value = Shape[Text]#
draws = [Polyline(width=0.254, elements=[(-2, 1.4), (0, 1.4), (0, 2), (2, 2), (2, 0.4)]), Polyline(width=0.254, elements=[(-2, 0), (0, 0), (0, -2), (2, -2), (2, -0.6)]), Polyline(width=0.254, elements=[(0, -1.4), (-2, -1.4)]), Polyline(width=0.254, elements=[(-2.4, 1.8), (-2.4, -1.8)]), Polyline(width=0.254, elements=[(-2, 1.8), (-2, 1)]), Polyline(width=0.254, elements=[(-2, -0.4), (-2, 0.4)]), Polyline(width=0.254, elements=[(-2, -1.8), (-2, -1)]), Polyline(width=0.254, elements=[(-4.00001, 0), (-2.4, 0)]), Polyline(width=0.254, elements=[(2.80001, 0.4), (2.4, 0.4), (1.6, 0.4), (1.2, 0.4)]), Polygon(elements=[(-2, 0), (-0.8, 0.4), (-0.8, -0.4)], holes=()), Polygon(elements=[(2, 0.4), (1.4, -0.6), (2.60001, -0.6)], holes=())]#
class BSS138(*args, **kwargs)[source]#

Bases: Component

manufacturer: str | None = 'LGE'#

Manufacturer for this component.

mpn: str | None = 'BSS138'#

Manufacturer part number for this component.

reference_designator_prefix: str | None = 'Q'#

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://www.lcsc.com/datasheet/lcsc_datasheet_2008011839_LGE-BSS138_C713688.pdf'#
D = Port()#
G = Port()#
S = Port()#
landpattern = LandpatternSOT_23_3_L2_9_W1_3_P1_90_LS2_4_BR()#
symbol = SymbolBSS138_C713688()#
cmappings = [SymbolMapping({Port(): SymbolBSS138_C713688().D, Port(): SymbolBSS138_C713688().G, Port(): SymbolBSS138_C713688().S}), PadMapping({Port(): LandpatternSOT_23_3_L2_9_W1_3_P1_90_LS2_4_BR().p[3], Port(): LandpatternSOT_23_3_L2_9_W1_3_P1_90_LS2_4_BR().p[1], Port(): LandpatternSOT_23_3_L2_9_W1_3_P1_90_LS2_4_BR().p[2]})]#
Device#

alias of BSS138