add 3D models for various parts
This commit is contained in:
parent
67f769860e
commit
de60ab5e75
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
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
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
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -2,7 +2,6 @@ name: DC-005_2.0
|
|||
description: barrel DC power jack
|
||||
datasheet: https://datasheet.lcsc.com/lcsc/1811051112_BOOMELE-Boom-Precision-Elec-DC-005-2-0_C16214.pdf
|
||||
keywords: connector, barrel
|
||||
lcsc: C16214
|
||||
|
||||
pinout:
|
||||
PIN: 1
|
||||
|
@ -22,6 +21,11 @@ housing:
|
|||
bodyLength: 8.8
|
||||
height: 10.8
|
||||
|
||||
model: # from /usr/share/kicad/3dmodels/ConnectBarrelJack_Horizontal.step
|
||||
file: "library/connector/barrel_dc-005-2.0.step"
|
||||
rotation: 0,0,180
|
||||
position: -6.5,0,0
|
||||
|
||||
numbers: 1,2
|
||||
slotWidth: 0.8
|
||||
slotHeight: 3.5
|
||||
|
|
|
@ -5,6 +5,11 @@
|
|||
# number of possible pins
|
||||
variations = (2..12).to_a
|
||||
|
||||
# 3D model form https://grabcad.com/library/kf141r-dg141r-terminal-2-54mm-pitch-1
|
||||
# X offset is hand adjusted
|
||||
x = [-5.3] * 13
|
||||
x[9] = -5.3 - 3 * 2.54
|
||||
|
||||
puts "name: KF141R-2.54
|
||||
description: spring loaded terminal, with lever, 0.1 in/2.54 mm pitch
|
||||
variations: #{variations.collect {|p| p.to_s + 'P'} * ', '}
|
||||
|
@ -37,6 +42,10 @@ housing@#{v}P:
|
|||
suffix: -#{v}P
|
||||
<<: *template
|
||||
bodyWidth: #{(2.54 * v + 2.54).round(2)}
|
||||
model:
|
||||
file: 'library/connector/KF141R-2.54-#{v}P.step'
|
||||
rotation: 0,0,0
|
||||
position: #{(x[v]).round(2)},1.7,0
|
||||
columnCount: #{v}
|
||||
numbers: #{v.times.collect {|i| [i + 1]}.flatten * 2 * ', '}
|
||||
"
|
||||
|
|
|
@ -27,6 +27,10 @@ housing@2P:
|
|||
suffix: -2P
|
||||
<<: *template
|
||||
bodyWidth: 7.62
|
||||
model:
|
||||
file: 'library/connector/KF141R-2.54-2P.step'
|
||||
rotation: 0,0,0
|
||||
position: -5.3,1.7,0
|
||||
columnCount: 2
|
||||
numbers: 1, 2, 1, 2
|
||||
|
||||
|
@ -41,6 +45,10 @@ housing@3P:
|
|||
suffix: -3P
|
||||
<<: *template
|
||||
bodyWidth: 10.16
|
||||
model:
|
||||
file: 'library/connector/KF141R-2.54-3P.step'
|
||||
rotation: 0,0,0
|
||||
position: -5.3,1.7,0
|
||||
columnCount: 3
|
||||
numbers: 1, 2, 3, 1, 2, 3
|
||||
|
||||
|
@ -55,6 +63,10 @@ housing@4P:
|
|||
suffix: -4P
|
||||
<<: *template
|
||||
bodyWidth: 12.7
|
||||
model:
|
||||
file: 'library/connector/KF141R-2.54-4P.step'
|
||||
rotation: 0,0,0
|
||||
position: -5.3,1.7,0
|
||||
columnCount: 4
|
||||
numbers: 1, 2, 3, 4, 1, 2, 3, 4
|
||||
|
||||
|
@ -69,6 +81,10 @@ housing@5P:
|
|||
suffix: -5P
|
||||
<<: *template
|
||||
bodyWidth: 15.24
|
||||
model:
|
||||
file: 'library/connector/KF141R-2.54-5P.step'
|
||||
rotation: 0,0,0
|
||||
position: -5.3,1.7,0
|
||||
columnCount: 5
|
||||
numbers: 1, 2, 3, 4, 5, 1, 2, 3, 4, 5
|
||||
|
||||
|
@ -83,6 +99,10 @@ housing@6P:
|
|||
suffix: -6P
|
||||
<<: *template
|
||||
bodyWidth: 17.78
|
||||
model:
|
||||
file: 'library/connector/KF141R-2.54-6P.step'
|
||||
rotation: 0,0,0
|
||||
position: -5.3,1.7,0
|
||||
columnCount: 6
|
||||
numbers: 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6
|
||||
|
||||
|
@ -97,6 +117,10 @@ housing@7P:
|
|||
suffix: -7P
|
||||
<<: *template
|
||||
bodyWidth: 20.32
|
||||
model:
|
||||
file: 'library/connector/KF141R-2.54-7P.step'
|
||||
rotation: 0,0,0
|
||||
position: -5.3,1.7,0
|
||||
columnCount: 7
|
||||
numbers: 1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4, 5, 6, 7
|
||||
|
||||
|
@ -111,6 +135,10 @@ housing@8P:
|
|||
suffix: -8P
|
||||
<<: *template
|
||||
bodyWidth: 22.86
|
||||
model:
|
||||
file: 'library/connector/KF141R-2.54-8P.step'
|
||||
rotation: 0,0,0
|
||||
position: -5.3,1.7,0
|
||||
columnCount: 8
|
||||
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8
|
||||
|
||||
|
@ -125,6 +153,10 @@ housing@9P:
|
|||
suffix: -9P
|
||||
<<: *template
|
||||
bodyWidth: 25.4
|
||||
model:
|
||||
file: 'library/connector/KF141R-2.54-9P.step'
|
||||
rotation: 0,0,0
|
||||
position: -12.92,1.7,0
|
||||
columnCount: 9
|
||||
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9
|
||||
|
||||
|
@ -139,6 +171,10 @@ housing@10P:
|
|||
suffix: -10P
|
||||
<<: *template
|
||||
bodyWidth: 27.94
|
||||
model:
|
||||
file: 'library/connector/KF141R-2.54-10P.step'
|
||||
rotation: 0,0,0
|
||||
position: -5.3,1.7,0
|
||||
columnCount: 10
|
||||
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
|
||||
|
||||
|
@ -153,6 +189,10 @@ housing@11P:
|
|||
suffix: -11P
|
||||
<<: *template
|
||||
bodyWidth: 30.48
|
||||
model:
|
||||
file: 'library/connector/KF141R-2.54-11P.step'
|
||||
rotation: 0,0,0
|
||||
position: -5.3,1.7,0
|
||||
columnCount: 11
|
||||
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
|
||||
|
||||
|
@ -167,5 +207,9 @@ housing@12P:
|
|||
suffix: -12P
|
||||
<<: *template
|
||||
bodyWidth: 33.02
|
||||
model:
|
||||
file: 'library/connector/KF141R-2.54-12P.step'
|
||||
rotation: 0,0,0
|
||||
position: -5.3,1.7,0
|
||||
columnCount: 12
|
||||
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
|
||||
|
|
Binary file not shown.
|
@ -37,7 +37,13 @@ housing@#{v}P:
|
|||
suffix: -#{v}P
|
||||
<<: *template
|
||||
bodyWidth: #{(2.54 * v + 2.54).round(2)}
|
||||
model:
|
||||
file: 'library/connector/KF141V-2.54-#{v}P.step'
|
||||
rotation: -90,0,-180
|
||||
position: 11.5,6.3,0
|
||||
columnCount: #{v}
|
||||
numbers: #{v.times.collect {|i| [i + 1]}.flatten * 2 * ', '}
|
||||
"
|
||||
end
|
||||
|
||||
# 3D model based on https://grabcad.com/library/pcb-spring-terminal-blocks-dg-141v-kf141v-2-54-1
|
||||
|
|
|
@ -27,6 +27,10 @@ housing@2P:
|
|||
suffix: -2P
|
||||
<<: *template
|
||||
bodyWidth: 7.62
|
||||
model:
|
||||
file: 'library/connector/KF141V-2.54-2P.step'
|
||||
rotation: -90,0,-180
|
||||
position: 11.5,6.3,0
|
||||
columnCount: 2
|
||||
numbers: 1, 2, 1, 2
|
||||
|
||||
|
@ -41,6 +45,10 @@ housing@3P:
|
|||
suffix: -3P
|
||||
<<: *template
|
||||
bodyWidth: 10.16
|
||||
model:
|
||||
file: 'library/connector/KF141V-2.54-3P.step'
|
||||
rotation: -90,0,-180
|
||||
position: 11.5,6.3,0
|
||||
columnCount: 3
|
||||
numbers: 1, 2, 3, 1, 2, 3
|
||||
|
||||
|
@ -55,6 +63,10 @@ housing@4P:
|
|||
suffix: -4P
|
||||
<<: *template
|
||||
bodyWidth: 12.7
|
||||
model:
|
||||
file: 'library/connector/KF141V-2.54-4P.step'
|
||||
rotation: -90,0,-180
|
||||
position: 11.5,6.3,0
|
||||
columnCount: 4
|
||||
numbers: 1, 2, 3, 4, 1, 2, 3, 4
|
||||
|
||||
|
@ -69,6 +81,10 @@ housing@5P:
|
|||
suffix: -5P
|
||||
<<: *template
|
||||
bodyWidth: 15.24
|
||||
model:
|
||||
file: 'library/connector/KF141V-2.54-5P.step'
|
||||
rotation: -90,0,-180
|
||||
position: 11.5,6.3,0
|
||||
columnCount: 5
|
||||
numbers: 1, 2, 3, 4, 5, 1, 2, 3, 4, 5
|
||||
|
||||
|
@ -83,6 +99,10 @@ housing@6P:
|
|||
suffix: -6P
|
||||
<<: *template
|
||||
bodyWidth: 17.78
|
||||
model:
|
||||
file: 'library/connector/KF141V-2.54-6P.step'
|
||||
rotation: -90,0,-180
|
||||
position: 11.5,6.3,0
|
||||
columnCount: 6
|
||||
numbers: 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6
|
||||
|
||||
|
@ -97,6 +117,10 @@ housing@7P:
|
|||
suffix: -7P
|
||||
<<: *template
|
||||
bodyWidth: 20.32
|
||||
model:
|
||||
file: 'library/connector/KF141V-2.54-7P.step'
|
||||
rotation: -90,0,-180
|
||||
position: 11.5,6.3,0
|
||||
columnCount: 7
|
||||
numbers: 1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4, 5, 6, 7
|
||||
|
||||
|
@ -111,6 +135,10 @@ housing@8P:
|
|||
suffix: -8P
|
||||
<<: *template
|
||||
bodyWidth: 22.86
|
||||
model:
|
||||
file: 'library/connector/KF141V-2.54-8P.step'
|
||||
rotation: -90,0,-180
|
||||
position: 11.5,6.3,0
|
||||
columnCount: 8
|
||||
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8
|
||||
|
||||
|
@ -125,6 +153,10 @@ housing@9P:
|
|||
suffix: -9P
|
||||
<<: *template
|
||||
bodyWidth: 25.4
|
||||
model:
|
||||
file: 'library/connector/KF141V-2.54-9P.step'
|
||||
rotation: -90,0,-180
|
||||
position: 11.5,6.3,0
|
||||
columnCount: 9
|
||||
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9
|
||||
|
||||
|
@ -139,6 +171,10 @@ housing@10P:
|
|||
suffix: -10P
|
||||
<<: *template
|
||||
bodyWidth: 27.94
|
||||
model:
|
||||
file: 'library/connector/KF141V-2.54-10P.step'
|
||||
rotation: -90,0,-180
|
||||
position: 11.5,6.3,0
|
||||
columnCount: 10
|
||||
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
|
||||
|
||||
|
@ -153,6 +189,10 @@ housing@11P:
|
|||
suffix: -11P
|
||||
<<: *template
|
||||
bodyWidth: 30.48
|
||||
model:
|
||||
file: 'library/connector/KF141V-2.54-11P.step'
|
||||
rotation: -90,0,-180
|
||||
position: 11.5,6.3,0
|
||||
columnCount: 11
|
||||
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
|
||||
|
||||
|
@ -167,5 +207,9 @@ housing@12P:
|
|||
suffix: -12P
|
||||
<<: *template
|
||||
bodyWidth: 33.02
|
||||
model:
|
||||
file: 'library/connector/KF141V-2.54-12P.step'
|
||||
rotation: -90,0,-180
|
||||
position: 11.5,6.3,0
|
||||
columnCount: 12
|
||||
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -39,6 +39,10 @@ housing:
|
|||
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.step"
|
||||
rotation: 0,0,0
|
||||
position: -5.3,-2.3,0
|
||||
|
||||
# right 8P8C pins
|
||||
holeDiameter: 1.2
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -40,6 +40,11 @@ housing:
|
|||
bodyPosition: 0, 0 # use case center
|
||||
height: 3.21
|
||||
|
||||
model: # from /usr/share/kicad/3dmodels/Connector_USB.3dshapes/USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal.step
|
||||
file: "library/connector/usb-c_hro_type-c-31-m-12.step"
|
||||
rotation: 0,0,180
|
||||
position: 0,0,0
|
||||
|
||||
# A + B
|
||||
padWidth: 0.30
|
||||
padHeight: 1.45
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -16,6 +16,10 @@ housing:
|
|||
bodyLength: 3.5-3.9
|
||||
bodyWidth: 5.9-6.3
|
||||
height: 2.5
|
||||
model: # from /usr/share/kicad/3dmodels/Button_Switch_SMD.3dshapes/SW_Tactile_SPST_NO_Straight_CK_PTS636Sx25SMTRLFS.step
|
||||
file: "library/mechanical/smd-button_hyp_1ts002e.step"
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
leadCount: 2
|
||||
leadLength: 0.6-0.8
|
||||
leadSpan: 7.8-8.2
|
||||
|
|
Loading…
Reference in New Issue