BJT_2N3904S_RTKPS module#
- class RectangleSmdPad[source]#
Bases:
Pad- shape: Shape | PadShape = Polygon(elements=((0.35, 0.625), (-0.35, 0.625), (-0.35, -0.625), (0.35, -0.625)), 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.401, 0.676), (-0.401, 0.676), (-0.401, -0.676), (0.401, -0.676)), holes=()), side=<Side.Top: 0>)]#
- paste = [Paste(shape=Polygon(elements=((0.401, 0.676), (-0.401, 0.676), (-0.401, -0.676), (0.401, -0.676)), holes=()), side=<Side.Top: 0>)]#
- class LandpatternSOT_23_3_L2_9_W1_3_P1_90_LS2_4_TR[source]#
Bases:
Landpattern- name = 'SOT-23-3_L2.9-W1.3-P1.90-LS2.4-TR'#
- p = {1: RectangleSmdPad().at(Transform((1.2495, 0.95), 270, (1, 1))), 2: RectangleSmdPad().at(Transform((1.2495, -0.95), 270, (1, 1))), 3: RectangleSmdPad().at(Transform((-1.2495, 0), 270, (1, 1)))}#
- 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.254, elements=[(0.1645, -1.46), (-0.6505, -1.46), (-0.6505, -0.8)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(-0.6505, 0.8), (-0.6505, 1.46), (-0.6505, 0.8), (-0.6505, 1.46), (0.1645, 1.46)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.2, elements=[(0.8995, -0.3), (0.8995, 0.3)]), side=<Side.Top: 0>)]#
- custom_layer = [Custom(shape=ArcPolyline(width=0.06, elements=[Arc(center=(1.1995, 1.45), radius=0.03, start=0, arc=-360)]), side=<Side.Top: 0>, name='Fab'), Custom(shape=ArcPolyline(width=0.254, elements=[Arc(center=(1.4955, 0.945), radius=0.127, start=0, arc=-360)]), side=<Side.Top: 0>, name='Fab')]#
- courtyard = [Courtyard(shape=Polygon(elements=((1.6505, 1.626), (-1.6505, 1.626), (-1.6505, -1.626), (1.6505, -1.626)), holes=()), side=<Side.Top: 0>)]#
- class Symbol2n3904S_RTK_PS_C18536[source]#
Bases:
Symbol- pin_name_size: float | None = 0.7874#
Font size of pin name text of
Pinobjects in this symbol, in grid units. If unset, defers to a parentSymbol, if a parent exists. This can be overriden at thePinlevel by setting itspin_name_sizeattribute.
- pad_name_size: float | None = 0.7874#
Font size of pad name text of
Pinobjects in this symbol, in grid units. If unset, defers to a parentSymbol, if a parent exists. This can be overriden at thePinlevel by setting itspad_name_sizeattribute.
- B = Pin((0, 0), 2, <Direction.Left: 'left'>)#
- C = Pin((2, 2), 2, <Direction.Up: 'up'>)#
- E = Pin((2, -2), 2, <Direction.Down: 'down'>)#
- layer_reference = Shape[Text]#
- layer_value = Shape[Text]#
- draws = [Polyline(width=0.254, elements=[(2, 2), (0, 0.6)]), Polyline(width=0.254, elements=[(0, -0.6), (2, -2)]), Polyline(width=0.254, elements=[(0, 1.8), (0, -1.8)]), Polygon(elements=[(2, -2), (1.4, -1), (0.8, -1.8)], holes=())]#
- class Component(*args, **kwargs)[source]#
Bases:
ComponentEpitaxial Planar NPN Transistor
- 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_2304140030_KEC-Semicon-2N3904S-RTK-PS_C18536.pdf'#
- B = Port()#
- C = Port()#
- E = Port()#
- landpattern = LandpatternSOT_23_3_L2_9_W1_3_P1_90_LS2_4_TR()#
- symbol = Symbol2n3904S_RTK_PS_C18536()#
- cmappings = [SymbolMapping({Port(): Symbol2n3904S_RTK_PS_C18536().B, Port(): Symbol2n3904S_RTK_PS_C18536().C, Port(): Symbol2n3904S_RTK_PS_C18536().E}), PadMapping({Port(): LandpatternSOT_23_3_L2_9_W1_3_P1_90_LS2_4_TR().p[2], Port(): LandpatternSOT_23_3_L2_9_W1_3_P1_90_LS2_4_TR().p[3], Port(): LandpatternSOT_23_3_L2_9_W1_3_P1_90_LS2_4_TR().p[1]})]#
- class BJT_2N3904S_RTKPS(*args, **kwargs)[source]#
Bases:
CircuitBJT-2N3904S-RTKPS NPN Transistor Module
- b = Port()#
- c = Port()#
- e = Port()#
- bjt = Component()#
- nets = [add(Component().B, Port()), add(Component().C, Port()), add(Component().E, Port())]#
- Device#
alias of
BJT_2N3904S_RTKPS