lib: add 3D parts

This commit is contained in:
King Kévin 2023-10-05 05:30:59 +02:00
parent c7168ba72c
commit 4d870861c3
19 changed files with 173724 additions and 27 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,85 @@
name: HC-RJ45-5JA-2-2
description: connector, RJ45, dual port, with LEDs
datasheet: https://datasheet.lcsc.com/lcsc/2204251600_HCTL-HC-RJ45-5JA-2-2_C3000178.pdf
distributor: LCSC C3000178
pinout:
PORT_RIGHT:
LED_RL:
LEDA_RL: 12
LEDC_RL: 11
LED_RR:
LEDA_RR: 10
LEDC_RR: 9
8P8C_R: 1-8
PORT_LEFT:
LED_LL:
LEDA_LL: 24
LEDC_LL: 23
LED_LR:
LEDA_LR: 22
LEDC_LR: 21
8P8C_L: 13-20
SHIELD: SH, SH_L
properties:
passive: PORT_RIGHT, PORT_LEFT
schematic:
symbol: connector
left: LED_LL, LED_LR, LED_RL, LED_RR
right: 8P8C_L, 8P8C_R
parts:
left: PORT_LEFT
right: PORT_RIGHT
housing:
pattern: custom
bodyWidth: 32.25
bodyLength: 15.6
height: 13.3
model: # from https://grabcad.com/library/rjhse-5381-02-1
file: "library/connector/rj45x2_hc-rj45-5ja-2-2.yaml"
rotation: 0,0,0
position: -16.1,-7.8,0
# right 8P8C pins
holeDiameter: 1.2
padDiameter: 1.6
verticalPitch: 1.02
horizontalPitch: 1.78
# pin 1 on 4.31+3*2.04+1.02-1.02*n=11.45 , 15.6/2-5.4-2.54=-0.14 or 15.6/2-5.4-4.32=-1.92
padPosition: 11.45, -0.14, 10.43, -1.92, 9.41, -0.14, 8.39, -1.92, 7.37, -0.14, 6.35, -1.92, 5.33, -0.14, 4.31, -1.92
# right LEDs
holeDiameter1: 1.2
padDiameter1: 1.6
# 2.04/2+13.72=14.74 , 15.6/2-5.4-9.14=-6.74, LED pitch (13.72-9.14)/2=2.29
padPosition1: 14.74, -6.74, 12.45, -6.74, 3.31, -6.74, 1.02, -6.74
# left 8P8C pins
holeDiameter2: 1.2
padDiameter2: 1.6
verticalPitch2: 1.02
horizontalPitch2: 1.78
# pin 13 on -4.31-1.02*n=11.45 , 15.6/2-5.4-2.54=-0.14 or 15.6/2-5.4-4.32=-1.92
padPosition2: -4.31, -0.14, -5.33, -1.92, -6.35, -0.14, -7.37, -1.92, -8.39, -0.14, -9.41, -1.92, -10.43, -0.14, -11.45, -1.92
# left LEDs
holeDiameter3: 1.2
padDiameter3: 1.6
# 2.04/2+13.72=14.74 , 15.6/2-5.4-9.14=-6.74, LED pitch (13.72-9.14)/2=2.29
padPosition3: -1.02, -6.74, -3.31, -6.74, -12.45, -6.74, -14.74, -6.74
# mounting holes, small middle
numbers4: SH, SH_L
holeDiameter4: 2.0
padDiameter4: 2.4
# Y 15.6/2-5.4-3.8=-1.4
padPosition4: 16.0, -1.4, -16.0, -1.4
# mounting holes, large bottom
holeDiameter5: 3.25
# Y 15.6/2-5.4=2.40
padPosition5: 14.225, 2.4, -14.225, 2.4

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -28,9 +28,9 @@
)
(fp_rect (start -7.100 -4.400) (end 7.100 4.400) (layer F.Fab) (width 0.100))
(fp_rect (start -7.350 -5.700) (end 7.350 4.650) (layer F.CrtYd) (width 0.050))
(model ../qeda.3dshapes/CONNECTOR_DC-005_2.0.stp
(at (xyz -0.2795275590551181 -0.17322834645669294 0))
(model ../qeda.3dshapes/CONNECTOR_DC-005_2.0.step
(at (xyz -0.2559055118110236 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0 ))
(rotate (xyz 0 0 180))
)
)

View File

@ -103,9 +103,9 @@
)
(fp_rect (start -16.125 -7.800) (end 16.125 7.800) (layer F.Fab) (width 0.100))
(fp_rect (start -17.450 -8.050) (end 17.450 8.050) (layer F.CrtYd) (width 0.050))
(model ../qeda.3dshapes/CONNECTOR_HC-RJ45-5JA-2-2.stp
(at (xyz -0.6348425196850394 -0.30708661417322836 0))
(model ../qeda.3dshapes/CONNECTOR_HC-RJ45-5JA-2-2.step
(at (xyz -0.20866141732283466 -0.0905511811023622 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0 ))
(rotate (xyz 0 0 0))
)
)

View File

@ -68,9 +68,9 @@
)
(fp_rect (start -4.470 -3.650) (end 4.470 3.650) (layer F.Fab) (width 0.100))
(fp_rect (start -5.070 -3.900) (end 5.070 5.280) (layer F.CrtYd) (width 0.050))
(model ../qeda.3dshapes/CONNECTOR_HRO_TYPE-C-31-M-12.stp
(at (xyz -0.17598425196850392 -0.14370078740157483 0))
(model ../qeda.3dshapes/CONNECTOR_HRO_TYPE-C-31-M-12.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0 ))
(rotate (xyz 0 0 180))
)
)

View File

@ -28,9 +28,9 @@
)
(fp_rect (start -3.810 -6.325) (end 3.810 6.325) (layer F.Fab) (width 0.100))
(fp_rect (start -4.060 -6.575) (end 4.060 6.575) (layer F.CrtYd) (width 0.050))
(model ../qeda.3dshapes/CONNECTOR_KF141R-2.54-2P.stp
(at (xyz -0.0874015748031496 -0.181496062992126 0))
(model ../qeda.3dshapes/CONNECTOR_KF141R-2.54-2P.step
(at (xyz -0.20866141732283466 0.06692913385826772 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0 ))
(rotate (xyz 0 0 0))
)
)

View File

@ -33,9 +33,9 @@
)
(fp_rect (start -5.080 -6.325) (end 5.080 6.325) (layer F.Fab) (width 0.100))
(fp_rect (start -5.330 -6.575) (end 5.330 6.575) (layer F.CrtYd) (width 0.050))
(model ../qeda.3dshapes/CONNECTOR_KF141R-2.54-3P.stp
(at (xyz -0.13740157480314963 -0.181496062992126 0))
(model ../qeda.3dshapes/CONNECTOR_KF141R-2.54-3P.step
(at (xyz -0.20866141732283466 0.06692913385826772 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0 ))
(rotate (xyz 0 0 0))
)
)

View File

@ -63,9 +63,9 @@
)
(fp_rect (start -12.700 -6.325) (end 12.700 6.325) (layer F.Fab) (width 0.100))
(fp_rect (start -12.950 -6.575) (end 12.950 6.575) (layer F.CrtYd) (width 0.050))
(model ../qeda.3dshapes/CONNECTOR_KF141R-2.54-9P.stp
(at (xyz -0.4374015748031496 -0.181496062992126 0))
(model ../qeda.3dshapes/CONNECTOR_KF141R-2.54-9P.step
(at (xyz -0.5086614173228347 0.06692913385826772 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0 ))
(rotate (xyz 0 0 0))
)
)

View File

@ -28,9 +28,9 @@
)
(fp_rect (start -3.810 -6.325) (end 3.810 6.325) (layer F.Fab) (width 0.100))
(fp_rect (start -4.060 -6.575) (end 4.060 6.575) (layer F.CrtYd) (width 0.050))
(model ../qeda.3dshapes/CONNECTOR_KF141V-2.54-2P.stp
(at (xyz -0.0874015748031496 -0.2850393700787402 0))
(model ../qeda.3dshapes/CONNECTOR_KF141V-2.54-2P.step
(at (xyz 0.45275590551181105 0.24803149606299213 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0 ))
(rotate (xyz -90 0 -180))
)
)

View File

@ -58,9 +58,9 @@
)
(fp_rect (start -11.430 -6.325) (end 11.430 6.325) (layer F.Fab) (width 0.100))
(fp_rect (start -11.680 -6.575) (end 11.680 6.575) (layer F.CrtYd) (width 0.050))
(model ../qeda.3dshapes/CONNECTOR_KF141V-2.54-8P.stp
(at (xyz -0.38740157480314963 -0.2850393700787402 0))
(model ../qeda.3dshapes/CONNECTOR_KF141V-2.54-8P.step
(at (xyz 0.45275590551181105 0.24803149606299213 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0 ))
(rotate (xyz -90 0 -180))
)
)

View File

@ -24,9 +24,9 @@
)
(fp_rect (start -3.050 -1.850) (end 3.050 1.850) (layer F.Fab) (width 0.100))
(fp_rect (start -4.900 -2.100) (end 4.900 2.100) (layer F.CrtYd) (width 0.050))
(model ../qeda.3dshapes/MECHANICAL_1TS002E.stp
(at (xyz -0.12007874015748031 -0.07283464566929135 0))
(model ../qeda.3dshapes/MECHANICAL_1TS002E.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0 ))
(rotate (xyz 0 0 0))
)
)