39 lines
877 B
YAML
39 lines
877 B
YAML
|
name: 1TS003B
|
||
|
description: SPST tactical momentary switch, SMD 2*4*3.5mm, side
|
||
|
datasheet: https://www.tophyp.com/products_detail/1TS003B.html
|
||
|
|
||
|
pinout:
|
||
|
1: 1
|
||
|
2: 2
|
||
|
|
||
|
schematic:
|
||
|
symbol: connector
|
||
|
left: 1
|
||
|
right: 2
|
||
|
|
||
|
housing:
|
||
|
pattern: custom
|
||
|
bodyLength: 3.4-3.6
|
||
|
bodyWidth: 4.5-4.7
|
||
|
height: 1.82
|
||
|
silkscreen: M -0.9,-0.6 0.9,-0.6 # button, -3.5/2+2.3
|
||
|
model: # modified from JLC
|
||
|
file: "library/mechanical/smd-button_hyp_1ts003b.step"
|
||
|
rotation: 0,0,180
|
||
|
position: 0,-0.15,0
|
||
|
|
||
|
# pins
|
||
|
padWidth: 0.9 # (4.3-2.5)/2
|
||
|
padHeight: 0.8 # 1.8-1.0
|
||
|
padPosition: -1.7, 1.75, 1.7, 1.75 # 2.5/2+0.9/2, 3.5/2-2.1-1-0.4
|
||
|
|
||
|
# case
|
||
|
padWidth1: 0.6 # (5.2-4)/2
|
||
|
padHeight1: 1.2
|
||
|
padPosition1: -2.3, -0.25, 2.3, -0.25 # 2.5/2+0.9/2, 3.5/2-2.1-1.2/2
|
||
|
|
||
|
# mounting holes
|
||
|
holeDiameter2: 0.7
|
||
|
padDiameter2: 0.0
|
||
|
padPosition2: -0.85, 0.35, 0.85, 0.35 # 1.7/2, 3.5/2-2.1
|