Merge branch 'wled_chain'
This commit is contained in:
commit
65d0f37ccc
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
|
@ -0,0 +1,45 @@
|
||||||
|
#!/usr/bin/env ruby
|
||||||
|
# encoding: utf-8
|
||||||
|
# ruby: 3.0.1
|
||||||
|
|
||||||
|
# number of possible pins
|
||||||
|
variations = (2..24).to_a
|
||||||
|
|
||||||
|
# X offset is hand adjusted
|
||||||
|
x = [-5.3] * 13
|
||||||
|
x[9] = -5.3 - 3 * 2.54
|
||||||
|
|
||||||
|
puts "name: DBT50P-6.35
|
||||||
|
description: barrier block, screw terminal, 6.35mm pitch
|
||||||
|
variations: #{variations.collect {|p| p.to_s + 'P'} * ', '}
|
||||||
|
datasheet: https://www.nbdibo.com/wp-content/uploads/2020/07/DBT50P-6.35-XXP-C-P.pdf
|
||||||
|
|
||||||
|
housing: &template
|
||||||
|
pattern: custom
|
||||||
|
height: 12.7
|
||||||
|
bodyLength: 14.0
|
||||||
|
leadHeight: 3.50
|
||||||
|
leadWidth: 1.0
|
||||||
|
leadLength: 0.8
|
||||||
|
holeDiameter: 1.7
|
||||||
|
pitch: 6.36
|
||||||
|
rowCount: 1
|
||||||
|
bodyPosition: 0, #{14.0/2-4.2}
|
||||||
|
"
|
||||||
|
|
||||||
|
variations.each do |v|
|
||||||
|
puts "
|
||||||
|
pinout@#{v}P: 1-#{v}
|
||||||
|
|
||||||
|
schematic@#{v}P:
|
||||||
|
suffix: -#{v.to_s.rjust(2,'0')}P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-#{v}
|
||||||
|
|
||||||
|
housing@#{v}P:
|
||||||
|
suffix: -#{v.to_s.rjust(2,'0')}P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: #{(6.35 * v).round(2)}
|
||||||
|
columnCount: #{v}
|
||||||
|
"
|
||||||
|
end
|
|
@ -0,0 +1,315 @@
|
||||||
|
name: DBT50P-6.35
|
||||||
|
description: barrier block, screw terminal, 6.35mm pitch
|
||||||
|
variations: 2P, 3P, 4P, 5P, 6P, 7P, 8P, 9P, 10P, 11P, 12P, 13P, 14P, 15P, 16P, 17P, 18P, 19P, 20P, 21P, 22P, 23P, 24P
|
||||||
|
datasheet: https://www.nbdibo.com/wp-content/uploads/2020/07/DBT50P-6.35-XXP-C-P.pdf
|
||||||
|
|
||||||
|
housing: &template
|
||||||
|
pattern: custom
|
||||||
|
height: 12.7
|
||||||
|
bodyLength: 14.0
|
||||||
|
leadHeight: 3.50
|
||||||
|
leadWidth: 1.0
|
||||||
|
leadLength: 0.8
|
||||||
|
holeDiameter: 1.7
|
||||||
|
pitch: 6.36
|
||||||
|
rowCount: 1
|
||||||
|
bodyPosition: 0, 2.8
|
||||||
|
|
||||||
|
pinout@2P: 1-2
|
||||||
|
|
||||||
|
schematic@2P:
|
||||||
|
suffix: -02P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-2
|
||||||
|
|
||||||
|
housing@2P:
|
||||||
|
suffix: -02P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 12.7
|
||||||
|
columnCount: 2
|
||||||
|
|
||||||
|
pinout@3P: 1-3
|
||||||
|
|
||||||
|
schematic@3P:
|
||||||
|
suffix: -03P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-3
|
||||||
|
|
||||||
|
housing@3P:
|
||||||
|
suffix: -03P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 19.05
|
||||||
|
columnCount: 3
|
||||||
|
|
||||||
|
pinout@4P: 1-4
|
||||||
|
|
||||||
|
schematic@4P:
|
||||||
|
suffix: -04P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-4
|
||||||
|
|
||||||
|
housing@4P:
|
||||||
|
suffix: -04P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 25.4
|
||||||
|
columnCount: 4
|
||||||
|
|
||||||
|
pinout@5P: 1-5
|
||||||
|
|
||||||
|
schematic@5P:
|
||||||
|
suffix: -05P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-5
|
||||||
|
|
||||||
|
housing@5P:
|
||||||
|
suffix: -05P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 31.75
|
||||||
|
columnCount: 5
|
||||||
|
|
||||||
|
pinout@6P: 1-6
|
||||||
|
|
||||||
|
schematic@6P:
|
||||||
|
suffix: -06P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-6
|
||||||
|
|
||||||
|
housing@6P:
|
||||||
|
suffix: -06P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 38.1
|
||||||
|
columnCount: 6
|
||||||
|
|
||||||
|
pinout@7P: 1-7
|
||||||
|
|
||||||
|
schematic@7P:
|
||||||
|
suffix: -07P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-7
|
||||||
|
|
||||||
|
housing@7P:
|
||||||
|
suffix: -07P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 44.45
|
||||||
|
columnCount: 7
|
||||||
|
|
||||||
|
pinout@8P: 1-8
|
||||||
|
|
||||||
|
schematic@8P:
|
||||||
|
suffix: -08P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-8
|
||||||
|
|
||||||
|
housing@8P:
|
||||||
|
suffix: -08P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 50.8
|
||||||
|
columnCount: 8
|
||||||
|
|
||||||
|
pinout@9P: 1-9
|
||||||
|
|
||||||
|
schematic@9P:
|
||||||
|
suffix: -09P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-9
|
||||||
|
|
||||||
|
housing@9P:
|
||||||
|
suffix: -09P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 57.15
|
||||||
|
columnCount: 9
|
||||||
|
|
||||||
|
pinout@10P: 1-10
|
||||||
|
|
||||||
|
schematic@10P:
|
||||||
|
suffix: -10P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-10
|
||||||
|
|
||||||
|
housing@10P:
|
||||||
|
suffix: -10P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 63.5
|
||||||
|
columnCount: 10
|
||||||
|
|
||||||
|
pinout@11P: 1-11
|
||||||
|
|
||||||
|
schematic@11P:
|
||||||
|
suffix: -11P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-11
|
||||||
|
|
||||||
|
housing@11P:
|
||||||
|
suffix: -11P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 69.85
|
||||||
|
columnCount: 11
|
||||||
|
|
||||||
|
pinout@12P: 1-12
|
||||||
|
|
||||||
|
schematic@12P:
|
||||||
|
suffix: -12P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-12
|
||||||
|
|
||||||
|
housing@12P:
|
||||||
|
suffix: -12P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 76.2
|
||||||
|
columnCount: 12
|
||||||
|
|
||||||
|
pinout@13P: 1-13
|
||||||
|
|
||||||
|
schematic@13P:
|
||||||
|
suffix: -13P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-13
|
||||||
|
|
||||||
|
housing@13P:
|
||||||
|
suffix: -13P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 82.55
|
||||||
|
columnCount: 13
|
||||||
|
|
||||||
|
pinout@14P: 1-14
|
||||||
|
|
||||||
|
schematic@14P:
|
||||||
|
suffix: -14P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-14
|
||||||
|
|
||||||
|
housing@14P:
|
||||||
|
suffix: -14P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 88.9
|
||||||
|
columnCount: 14
|
||||||
|
|
||||||
|
pinout@15P: 1-15
|
||||||
|
|
||||||
|
schematic@15P:
|
||||||
|
suffix: -15P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-15
|
||||||
|
|
||||||
|
housing@15P:
|
||||||
|
suffix: -15P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 95.25
|
||||||
|
columnCount: 15
|
||||||
|
|
||||||
|
pinout@16P: 1-16
|
||||||
|
|
||||||
|
schematic@16P:
|
||||||
|
suffix: -16P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-16
|
||||||
|
|
||||||
|
housing@16P:
|
||||||
|
suffix: -16P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 101.6
|
||||||
|
columnCount: 16
|
||||||
|
|
||||||
|
pinout@17P: 1-17
|
||||||
|
|
||||||
|
schematic@17P:
|
||||||
|
suffix: -17P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-17
|
||||||
|
|
||||||
|
housing@17P:
|
||||||
|
suffix: -17P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 107.95
|
||||||
|
columnCount: 17
|
||||||
|
|
||||||
|
pinout@18P: 1-18
|
||||||
|
|
||||||
|
schematic@18P:
|
||||||
|
suffix: -18P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-18
|
||||||
|
|
||||||
|
housing@18P:
|
||||||
|
suffix: -18P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 114.3
|
||||||
|
columnCount: 18
|
||||||
|
|
||||||
|
pinout@19P: 1-19
|
||||||
|
|
||||||
|
schematic@19P:
|
||||||
|
suffix: -19P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-19
|
||||||
|
|
||||||
|
housing@19P:
|
||||||
|
suffix: -19P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 120.65
|
||||||
|
columnCount: 19
|
||||||
|
|
||||||
|
pinout@20P: 1-20
|
||||||
|
|
||||||
|
schematic@20P:
|
||||||
|
suffix: -20P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-20
|
||||||
|
|
||||||
|
housing@20P:
|
||||||
|
suffix: -20P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 127.0
|
||||||
|
columnCount: 20
|
||||||
|
|
||||||
|
pinout@21P: 1-21
|
||||||
|
|
||||||
|
schematic@21P:
|
||||||
|
suffix: -21P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-21
|
||||||
|
|
||||||
|
housing@21P:
|
||||||
|
suffix: -21P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 133.35
|
||||||
|
columnCount: 21
|
||||||
|
|
||||||
|
pinout@22P: 1-22
|
||||||
|
|
||||||
|
schematic@22P:
|
||||||
|
suffix: -22P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-22
|
||||||
|
|
||||||
|
housing@22P:
|
||||||
|
suffix: -22P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 139.7
|
||||||
|
columnCount: 22
|
||||||
|
|
||||||
|
pinout@23P: 1-23
|
||||||
|
|
||||||
|
schematic@23P:
|
||||||
|
suffix: -23P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-23
|
||||||
|
|
||||||
|
housing@23P:
|
||||||
|
suffix: -23P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 146.05
|
||||||
|
columnCount: 23
|
||||||
|
|
||||||
|
pinout@24P: 1-24
|
||||||
|
|
||||||
|
schematic@24P:
|
||||||
|
suffix: -24P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-24
|
||||||
|
|
||||||
|
housing@24P:
|
||||||
|
suffix: -24P
|
||||||
|
<<: *template
|
||||||
|
bodyWidth: 152.4
|
||||||
|
columnCount: 24
|
|
@ -0,0 +1,46 @@
|
||||||
|
#!/usr/bin/env ruby
|
||||||
|
# encoding: utf-8
|
||||||
|
# ruby: 3.0.1
|
||||||
|
|
||||||
|
# number of possible pins
|
||||||
|
variations = (2..24).to_a
|
||||||
|
|
||||||
|
puts "name: MX7620-7.62
|
||||||
|
description: barrier terminal, 7.62mm pitch
|
||||||
|
variations: #{variations.collect {|p| p.to_s + 'P'} * ', '}
|
||||||
|
datasheet: https://datasheet.lcsc.com/lcsc/2309150931_MAX-MX7620-7-62-02P-GN01-Cu-S-A_C5188497.pdf
|
||||||
|
|
||||||
|
housing: &template
|
||||||
|
pattern: custom
|
||||||
|
height: 12.4
|
||||||
|
bodyLength: 12.1
|
||||||
|
leadHeight: 0.7
|
||||||
|
leadWidth: 1.0
|
||||||
|
leadLength: 4.2
|
||||||
|
holeDiameter: 1.5
|
||||||
|
pitch: 7.62
|
||||||
|
rowCount: 1
|
||||||
|
bodyPosition: 0, #{12.1/2-2.25}
|
||||||
|
"
|
||||||
|
|
||||||
|
variations.each do |v|
|
||||||
|
puts "
|
||||||
|
pinout@#{v}P: 1-#{v}
|
||||||
|
|
||||||
|
schematic@#{v}P:
|
||||||
|
suffix: -#{v.to_s.rjust(2,'0')}P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-#{v}
|
||||||
|
|
||||||
|
housing@#{v}P:
|
||||||
|
suffix: -#{v.to_s.rjust(2,'0')}P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M #{(7.62 * v / 2 + 1.0).round(2)} #{(12.1/2 - 2.25 - 0.5).round(2)} #{(7.62 * v / 2 + 1.0).round(2)} #{(12.1/2 - 2.25 + 0.5).round(2)} M #{(7.62 * v / 2 + 1.0).round(2)} #{(12.1/-2 + 2.25 - 0.5).round(2)} #{(7.62 * v / 2 + 1.0).round(2)} #{(12.1/-2 + 2.25 + 0.5).round(2)}
|
||||||
|
bodyWidth: #{(7.62 * v).round(2)}
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - #{v} Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: #{v}
|
||||||
|
"
|
||||||
|
end
|
|
@ -0,0 +1,430 @@
|
||||||
|
name: MX7620-7.62
|
||||||
|
description: barrier terminal, 7.62mm pitch
|
||||||
|
variations: 2P, 3P, 4P, 5P, 6P, 7P, 8P, 9P, 10P, 11P, 12P, 13P, 14P, 15P, 16P, 17P, 18P, 19P, 20P, 21P, 22P, 23P, 24P
|
||||||
|
datasheet: https://datasheet.lcsc.com/lcsc/2309150931_MAX-MX7620-7-62-02P-GN01-Cu-S-A_C5188497.pdf
|
||||||
|
|
||||||
|
housing: &template
|
||||||
|
pattern: custom
|
||||||
|
height: 12.4
|
||||||
|
bodyLength: 12.1
|
||||||
|
leadHeight: 0.7
|
||||||
|
leadWidth: 1.0
|
||||||
|
leadLength: 4.2
|
||||||
|
holeDiameter: 1.5
|
||||||
|
pitch: 7.62
|
||||||
|
rowCount: 1
|
||||||
|
bodyPosition: 0, 3.8
|
||||||
|
|
||||||
|
pinout@2P: 1-2
|
||||||
|
|
||||||
|
schematic@2P:
|
||||||
|
suffix: -02P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-2
|
||||||
|
|
||||||
|
housing@2P:
|
||||||
|
suffix: -02P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 8.62 3.3 8.62 4.3 M 8.62 -4.3 8.62 -3.3
|
||||||
|
bodyWidth: 15.24
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 2 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 2
|
||||||
|
|
||||||
|
pinout@3P: 1-3
|
||||||
|
|
||||||
|
schematic@3P:
|
||||||
|
suffix: -03P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-3
|
||||||
|
|
||||||
|
housing@3P:
|
||||||
|
suffix: -03P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 12.43 3.3 12.43 4.3 M 12.43 -4.3 12.43 -3.3
|
||||||
|
bodyWidth: 22.86
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 3 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 3
|
||||||
|
|
||||||
|
pinout@4P: 1-4
|
||||||
|
|
||||||
|
schematic@4P:
|
||||||
|
suffix: -04P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-4
|
||||||
|
|
||||||
|
housing@4P:
|
||||||
|
suffix: -04P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 16.24 3.3 16.24 4.3 M 16.24 -4.3 16.24 -3.3
|
||||||
|
bodyWidth: 30.48
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 4 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 4
|
||||||
|
|
||||||
|
pinout@5P: 1-5
|
||||||
|
|
||||||
|
schematic@5P:
|
||||||
|
suffix: -05P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-5
|
||||||
|
|
||||||
|
housing@5P:
|
||||||
|
suffix: -05P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 20.05 3.3 20.05 4.3 M 20.05 -4.3 20.05 -3.3
|
||||||
|
bodyWidth: 38.1
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 5 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 5
|
||||||
|
|
||||||
|
pinout@6P: 1-6
|
||||||
|
|
||||||
|
schematic@6P:
|
||||||
|
suffix: -06P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-6
|
||||||
|
|
||||||
|
housing@6P:
|
||||||
|
suffix: -06P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 23.86 3.3 23.86 4.3 M 23.86 -4.3 23.86 -3.3
|
||||||
|
bodyWidth: 45.72
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 6 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 6
|
||||||
|
|
||||||
|
pinout@7P: 1-7
|
||||||
|
|
||||||
|
schematic@7P:
|
||||||
|
suffix: -07P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-7
|
||||||
|
|
||||||
|
housing@7P:
|
||||||
|
suffix: -07P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 27.67 3.3 27.67 4.3 M 27.67 -4.3 27.67 -3.3
|
||||||
|
bodyWidth: 53.34
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 7 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 7
|
||||||
|
|
||||||
|
pinout@8P: 1-8
|
||||||
|
|
||||||
|
schematic@8P:
|
||||||
|
suffix: -08P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-8
|
||||||
|
|
||||||
|
housing@8P:
|
||||||
|
suffix: -08P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 31.48 3.3 31.48 4.3 M 31.48 -4.3 31.48 -3.3
|
||||||
|
bodyWidth: 60.96
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 8 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 8
|
||||||
|
|
||||||
|
pinout@9P: 1-9
|
||||||
|
|
||||||
|
schematic@9P:
|
||||||
|
suffix: -09P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-9
|
||||||
|
|
||||||
|
housing@9P:
|
||||||
|
suffix: -09P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 35.29 3.3 35.29 4.3 M 35.29 -4.3 35.29 -3.3
|
||||||
|
bodyWidth: 68.58
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 9 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 9
|
||||||
|
|
||||||
|
pinout@10P: 1-10
|
||||||
|
|
||||||
|
schematic@10P:
|
||||||
|
suffix: -10P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-10
|
||||||
|
|
||||||
|
housing@10P:
|
||||||
|
suffix: -10P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 39.1 3.3 39.1 4.3 M 39.1 -4.3 39.1 -3.3
|
||||||
|
bodyWidth: 76.2
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 10 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 10
|
||||||
|
|
||||||
|
pinout@11P: 1-11
|
||||||
|
|
||||||
|
schematic@11P:
|
||||||
|
suffix: -11P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-11
|
||||||
|
|
||||||
|
housing@11P:
|
||||||
|
suffix: -11P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 42.91 3.3 42.91 4.3 M 42.91 -4.3 42.91 -3.3
|
||||||
|
bodyWidth: 83.82
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 11 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 11
|
||||||
|
|
||||||
|
pinout@12P: 1-12
|
||||||
|
|
||||||
|
schematic@12P:
|
||||||
|
suffix: -12P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-12
|
||||||
|
|
||||||
|
housing@12P:
|
||||||
|
suffix: -12P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 46.72 3.3 46.72 4.3 M 46.72 -4.3 46.72 -3.3
|
||||||
|
bodyWidth: 91.44
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 12 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 12
|
||||||
|
|
||||||
|
pinout@13P: 1-13
|
||||||
|
|
||||||
|
schematic@13P:
|
||||||
|
suffix: -13P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-13
|
||||||
|
|
||||||
|
housing@13P:
|
||||||
|
suffix: -13P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 50.53 3.3 50.53 4.3 M 50.53 -4.3 50.53 -3.3
|
||||||
|
bodyWidth: 99.06
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 13 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 13
|
||||||
|
|
||||||
|
pinout@14P: 1-14
|
||||||
|
|
||||||
|
schematic@14P:
|
||||||
|
suffix: -14P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-14
|
||||||
|
|
||||||
|
housing@14P:
|
||||||
|
suffix: -14P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 54.34 3.3 54.34 4.3 M 54.34 -4.3 54.34 -3.3
|
||||||
|
bodyWidth: 106.68
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 14 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 14
|
||||||
|
|
||||||
|
pinout@15P: 1-15
|
||||||
|
|
||||||
|
schematic@15P:
|
||||||
|
suffix: -15P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-15
|
||||||
|
|
||||||
|
housing@15P:
|
||||||
|
suffix: -15P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 58.15 3.3 58.15 4.3 M 58.15 -4.3 58.15 -3.3
|
||||||
|
bodyWidth: 114.3
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 15 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 15
|
||||||
|
|
||||||
|
pinout@16P: 1-16
|
||||||
|
|
||||||
|
schematic@16P:
|
||||||
|
suffix: -16P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-16
|
||||||
|
|
||||||
|
housing@16P:
|
||||||
|
suffix: -16P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 61.96 3.3 61.96 4.3 M 61.96 -4.3 61.96 -3.3
|
||||||
|
bodyWidth: 121.92
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 16 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 16
|
||||||
|
|
||||||
|
pinout@17P: 1-17
|
||||||
|
|
||||||
|
schematic@17P:
|
||||||
|
suffix: -17P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-17
|
||||||
|
|
||||||
|
housing@17P:
|
||||||
|
suffix: -17P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 65.77 3.3 65.77 4.3 M 65.77 -4.3 65.77 -3.3
|
||||||
|
bodyWidth: 129.54
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 17 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 17
|
||||||
|
|
||||||
|
pinout@18P: 1-18
|
||||||
|
|
||||||
|
schematic@18P:
|
||||||
|
suffix: -18P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-18
|
||||||
|
|
||||||
|
housing@18P:
|
||||||
|
suffix: -18P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 69.58 3.3 69.58 4.3 M 69.58 -4.3 69.58 -3.3
|
||||||
|
bodyWidth: 137.16
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 18 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 18
|
||||||
|
|
||||||
|
pinout@19P: 1-19
|
||||||
|
|
||||||
|
schematic@19P:
|
||||||
|
suffix: -19P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-19
|
||||||
|
|
||||||
|
housing@19P:
|
||||||
|
suffix: -19P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 73.39 3.3 73.39 4.3 M 73.39 -4.3 73.39 -3.3
|
||||||
|
bodyWidth: 144.78
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 19 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 19
|
||||||
|
|
||||||
|
pinout@20P: 1-20
|
||||||
|
|
||||||
|
schematic@20P:
|
||||||
|
suffix: -20P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-20
|
||||||
|
|
||||||
|
housing@20P:
|
||||||
|
suffix: -20P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 77.2 3.3 77.2 4.3 M 77.2 -4.3 77.2 -3.3
|
||||||
|
bodyWidth: 152.4
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 20 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 20
|
||||||
|
|
||||||
|
pinout@21P: 1-21
|
||||||
|
|
||||||
|
schematic@21P:
|
||||||
|
suffix: -21P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-21
|
||||||
|
|
||||||
|
housing@21P:
|
||||||
|
suffix: -21P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 81.01 3.3 81.01 4.3 M 81.01 -4.3 81.01 -3.3
|
||||||
|
bodyWidth: 160.02
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 21 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 21
|
||||||
|
|
||||||
|
pinout@22P: 1-22
|
||||||
|
|
||||||
|
schematic@22P:
|
||||||
|
suffix: -22P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-22
|
||||||
|
|
||||||
|
housing@22P:
|
||||||
|
suffix: -22P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 84.82 3.3 84.82 4.3 M 84.82 -4.3 84.82 -3.3
|
||||||
|
bodyWidth: 167.64
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 22 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 22
|
||||||
|
|
||||||
|
pinout@23P: 1-23
|
||||||
|
|
||||||
|
schematic@23P:
|
||||||
|
suffix: -23P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-23
|
||||||
|
|
||||||
|
housing@23P:
|
||||||
|
suffix: -23P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 88.63 3.3 88.63 4.3 M 88.63 -4.3 88.63 -3.3
|
||||||
|
bodyWidth: 175.26
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 23 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 23
|
||||||
|
|
||||||
|
pinout@24P: 1-24
|
||||||
|
|
||||||
|
schematic@24P:
|
||||||
|
suffix: -24P
|
||||||
|
symbol: connector
|
||||||
|
left: 1-24
|
||||||
|
|
||||||
|
housing@24P:
|
||||||
|
suffix: -24P
|
||||||
|
<<: *template
|
||||||
|
silkscreen: M 92.44 3.3 92.44 4.3 M 92.44 -4.3 92.44 -3.3
|
||||||
|
bodyWidth: 182.88
|
||||||
|
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||||
|
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 24 Pin.stp'
|
||||||
|
rotation: 0,0,180
|
||||||
|
position: 0,4.3,0
|
||||||
|
columnCount: 24
|
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
|
@ -17,8 +17,8 @@ datasheet: https://datasheet.lcsc.com/lcsc/2001151504_Cixi-Kefa-Elec-KF141R-2-54
|
||||||
|
|
||||||
housing: &template
|
housing: &template
|
||||||
pattern: custom
|
pattern: custom
|
||||||
height: 13.0
|
height: 12.65
|
||||||
bodyLength: 12.65
|
bodyLength: 13.6
|
||||||
leadHeight: 3.50
|
leadHeight: 3.50
|
||||||
leadWidth: 0.70
|
leadWidth: 0.70
|
||||||
leadLength: 0.50
|
leadLength: 0.50
|
||||||
|
@ -26,7 +26,7 @@ housing: &template
|
||||||
horizontalPitch: 2.54
|
horizontalPitch: 2.54
|
||||||
verticalPitch: 5.08
|
verticalPitch: 5.08
|
||||||
rowCount: 2
|
rowCount: 2
|
||||||
bodyPosition: #{2.54 - 0.95}, #{-3.785 + 5.50}
|
bodyPosition: #{2.54 - 0.95}, #{13.60/-2+5.08/2+5.5}
|
||||||
"
|
"
|
||||||
|
|
||||||
variations.each do |v|
|
variations.each do |v|
|
||||||
|
@ -43,7 +43,7 @@ housing@#{v}P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: #{(2.54 * v + 2.54).round(2)}
|
bodyWidth: #{(2.54 * v + 2.54).round(2)}
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141R-2.54-#{v}P.step'
|
file: 'library/connector/KF141R-2.54/KF141R-2.54-#{v}P.step'
|
||||||
rotation: 0,0,0
|
rotation: 0,0,0
|
||||||
position: #{(x[v]).round(2)},1.7,0
|
position: #{(x[v]).round(2)},1.7,0
|
||||||
columnCount: #{v}
|
columnCount: #{v}
|
|
@ -5,8 +5,8 @@ datasheet: https://datasheet.lcsc.com/lcsc/2001151504_Cixi-Kefa-Elec-KF141R-2-54
|
||||||
|
|
||||||
housing: &template
|
housing: &template
|
||||||
pattern: custom
|
pattern: custom
|
||||||
height: 13.0
|
height: 12.65
|
||||||
bodyLength: 12.65
|
bodyLength: 13.6
|
||||||
leadHeight: 3.50
|
leadHeight: 3.50
|
||||||
leadWidth: 0.70
|
leadWidth: 0.70
|
||||||
leadLength: 0.50
|
leadLength: 0.50
|
||||||
|
@ -14,7 +14,7 @@ housing: &template
|
||||||
horizontalPitch: 2.54
|
horizontalPitch: 2.54
|
||||||
verticalPitch: 5.08
|
verticalPitch: 5.08
|
||||||
rowCount: 2
|
rowCount: 2
|
||||||
bodyPosition: 1.59, 1.7149999999999999
|
bodyPosition: 1.59, 1.2400000000000002
|
||||||
|
|
||||||
pinout@2P: 1-2
|
pinout@2P: 1-2
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ housing@2P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 7.62
|
bodyWidth: 7.62
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141R-2.54-2P.step'
|
file: 'library/connector/KF141R-2.54/KF141R-2.54-2P.step'
|
||||||
rotation: 0,0,0
|
rotation: 0,0,0
|
||||||
position: -5.3,1.7,0
|
position: -5.3,1.7,0
|
||||||
columnCount: 2
|
columnCount: 2
|
||||||
|
@ -46,7 +46,7 @@ housing@3P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 10.16
|
bodyWidth: 10.16
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141R-2.54-3P.step'
|
file: 'library/connector/KF141R-2.54/KF141R-2.54-3P.step'
|
||||||
rotation: 0,0,0
|
rotation: 0,0,0
|
||||||
position: -5.3,1.7,0
|
position: -5.3,1.7,0
|
||||||
columnCount: 3
|
columnCount: 3
|
||||||
|
@ -64,7 +64,7 @@ housing@4P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 12.7
|
bodyWidth: 12.7
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141R-2.54-4P.step'
|
file: 'library/connector/KF141R-2.54/KF141R-2.54-4P.step'
|
||||||
rotation: 0,0,0
|
rotation: 0,0,0
|
||||||
position: -5.3,1.7,0
|
position: -5.3,1.7,0
|
||||||
columnCount: 4
|
columnCount: 4
|
||||||
|
@ -82,7 +82,7 @@ housing@5P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 15.24
|
bodyWidth: 15.24
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141R-2.54-5P.step'
|
file: 'library/connector/KF141R-2.54/KF141R-2.54-5P.step'
|
||||||
rotation: 0,0,0
|
rotation: 0,0,0
|
||||||
position: -5.3,1.7,0
|
position: -5.3,1.7,0
|
||||||
columnCount: 5
|
columnCount: 5
|
||||||
|
@ -100,7 +100,7 @@ housing@6P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 17.78
|
bodyWidth: 17.78
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141R-2.54-6P.step'
|
file: 'library/connector/KF141R-2.54/KF141R-2.54-6P.step'
|
||||||
rotation: 0,0,0
|
rotation: 0,0,0
|
||||||
position: -5.3,1.7,0
|
position: -5.3,1.7,0
|
||||||
columnCount: 6
|
columnCount: 6
|
||||||
|
@ -118,7 +118,7 @@ housing@7P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 20.32
|
bodyWidth: 20.32
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141R-2.54-7P.step'
|
file: 'library/connector/KF141R-2.54/KF141R-2.54-7P.step'
|
||||||
rotation: 0,0,0
|
rotation: 0,0,0
|
||||||
position: -5.3,1.7,0
|
position: -5.3,1.7,0
|
||||||
columnCount: 7
|
columnCount: 7
|
||||||
|
@ -136,7 +136,7 @@ housing@8P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 22.86
|
bodyWidth: 22.86
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141R-2.54-8P.step'
|
file: 'library/connector/KF141R-2.54/KF141R-2.54-8P.step'
|
||||||
rotation: 0,0,0
|
rotation: 0,0,0
|
||||||
position: -5.3,1.7,0
|
position: -5.3,1.7,0
|
||||||
columnCount: 8
|
columnCount: 8
|
||||||
|
@ -154,7 +154,7 @@ housing@9P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 25.4
|
bodyWidth: 25.4
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141R-2.54-9P.step'
|
file: 'library/connector/KF141R-2.54/KF141R-2.54-9P.step'
|
||||||
rotation: 0,0,0
|
rotation: 0,0,0
|
||||||
position: -12.92,1.7,0
|
position: -12.92,1.7,0
|
||||||
columnCount: 9
|
columnCount: 9
|
||||||
|
@ -172,7 +172,7 @@ housing@10P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 27.94
|
bodyWidth: 27.94
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141R-2.54-10P.step'
|
file: 'library/connector/KF141R-2.54/KF141R-2.54-10P.step'
|
||||||
rotation: 0,0,0
|
rotation: 0,0,0
|
||||||
position: -5.3,1.7,0
|
position: -5.3,1.7,0
|
||||||
columnCount: 10
|
columnCount: 10
|
||||||
|
@ -190,7 +190,7 @@ housing@11P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 30.48
|
bodyWidth: 30.48
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141R-2.54-11P.step'
|
file: 'library/connector/KF141R-2.54/KF141R-2.54-11P.step'
|
||||||
rotation: 0,0,0
|
rotation: 0,0,0
|
||||||
position: -5.3,1.7,0
|
position: -5.3,1.7,0
|
||||||
columnCount: 11
|
columnCount: 11
|
||||||
|
@ -208,7 +208,7 @@ housing@12P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 33.02
|
bodyWidth: 33.02
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141R-2.54-12P.step'
|
file: 'library/connector/KF141R-2.54/KF141R-2.54-12P.step'
|
||||||
rotation: 0,0,0
|
rotation: 0,0,0
|
||||||
position: -5.3,1.7,0
|
position: -5.3,1.7,0
|
||||||
columnCount: 12
|
columnCount: 12
|
|
@ -5,6 +5,11 @@
|
||||||
# number of possible pins
|
# number of possible pins
|
||||||
variations = (2..12).to_a
|
variations = (2..12).to_a
|
||||||
|
|
||||||
|
# X offset is hand adjusted
|
||||||
|
x = [0] * 13
|
||||||
|
x[3] = 5.1
|
||||||
|
x[8] = 11.5
|
||||||
|
|
||||||
puts "name: KF141V-2.54
|
puts "name: KF141V-2.54
|
||||||
description: spring loaded terminal, with lever, 0.1 in/2.54 mm pitch, vertical insertion
|
description: spring loaded terminal, with lever, 0.1 in/2.54 mm pitch, vertical insertion
|
||||||
variations: #{variations.collect {|p| p.to_s + 'P'} * ', '}
|
variations: #{variations.collect {|p| p.to_s + 'P'} * ', '}
|
||||||
|
@ -38,9 +43,9 @@ housing@#{v}P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: #{(2.54 * v + 2.54).round(2)}
|
bodyWidth: #{(2.54 * v + 2.54).round(2)}
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141V-2.54-#{v}P.step'
|
file: 'library/connector/KF141V-2.54/KF141V-2.54-#{v}P.step'
|
||||||
rotation: -90,0,-180
|
rotation: -90,0,-180
|
||||||
position: 11.5,6.3,0
|
position: #{x[v]},6.3,0
|
||||||
columnCount: #{v}
|
columnCount: #{v}
|
||||||
numbers: #{v.times.collect {|i| [i + 1]}.flatten * 2 * ', '}
|
numbers: #{v.times.collect {|i| [i + 1]}.flatten * 2 * ', '}
|
||||||
"
|
"
|
|
@ -28,9 +28,9 @@ housing@2P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 7.62
|
bodyWidth: 7.62
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141V-2.54-2P.step'
|
file: 'library/connector/KF141V-2.54/KF141V-2.54-2P.step'
|
||||||
rotation: -90,0,-180
|
rotation: -90,0,-180
|
||||||
position: 11.5,6.3,0
|
position: 0,6.3,0
|
||||||
columnCount: 2
|
columnCount: 2
|
||||||
numbers: 1, 2, 1, 2
|
numbers: 1, 2, 1, 2
|
||||||
|
|
||||||
|
@ -46,9 +46,9 @@ housing@3P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 10.16
|
bodyWidth: 10.16
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141V-2.54-3P.step'
|
file: 'library/connector/KF141V-2.54/KF141V-2.54-3P.step'
|
||||||
rotation: -90,0,-180
|
rotation: -90,0,-180
|
||||||
position: 11.5,6.3,0
|
position: 5.1,6.3,0
|
||||||
columnCount: 3
|
columnCount: 3
|
||||||
numbers: 1, 2, 3, 1, 2, 3
|
numbers: 1, 2, 3, 1, 2, 3
|
||||||
|
|
||||||
|
@ -64,9 +64,9 @@ housing@4P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 12.7
|
bodyWidth: 12.7
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141V-2.54-4P.step'
|
file: 'library/connector/KF141V-2.54/KF141V-2.54-4P.step'
|
||||||
rotation: -90,0,-180
|
rotation: -90,0,-180
|
||||||
position: 11.5,6.3,0
|
position: 0,6.3,0
|
||||||
columnCount: 4
|
columnCount: 4
|
||||||
numbers: 1, 2, 3, 4, 1, 2, 3, 4
|
numbers: 1, 2, 3, 4, 1, 2, 3, 4
|
||||||
|
|
||||||
|
@ -82,9 +82,9 @@ housing@5P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 15.24
|
bodyWidth: 15.24
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141V-2.54-5P.step'
|
file: 'library/connector/KF141V-2.54/KF141V-2.54-5P.step'
|
||||||
rotation: -90,0,-180
|
rotation: -90,0,-180
|
||||||
position: 11.5,6.3,0
|
position: 0,6.3,0
|
||||||
columnCount: 5
|
columnCount: 5
|
||||||
numbers: 1, 2, 3, 4, 5, 1, 2, 3, 4, 5
|
numbers: 1, 2, 3, 4, 5, 1, 2, 3, 4, 5
|
||||||
|
|
||||||
|
@ -100,9 +100,9 @@ housing@6P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 17.78
|
bodyWidth: 17.78
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141V-2.54-6P.step'
|
file: 'library/connector/KF141V-2.54/KF141V-2.54-6P.step'
|
||||||
rotation: -90,0,-180
|
rotation: -90,0,-180
|
||||||
position: 11.5,6.3,0
|
position: 0,6.3,0
|
||||||
columnCount: 6
|
columnCount: 6
|
||||||
numbers: 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6
|
numbers: 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6
|
||||||
|
|
||||||
|
@ -118,9 +118,9 @@ housing@7P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 20.32
|
bodyWidth: 20.32
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141V-2.54-7P.step'
|
file: 'library/connector/KF141V-2.54/KF141V-2.54-7P.step'
|
||||||
rotation: -90,0,-180
|
rotation: -90,0,-180
|
||||||
position: 11.5,6.3,0
|
position: 0,6.3,0
|
||||||
columnCount: 7
|
columnCount: 7
|
||||||
numbers: 1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4, 5, 6, 7
|
numbers: 1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4, 5, 6, 7
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ housing@8P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 22.86
|
bodyWidth: 22.86
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141V-2.54-8P.step'
|
file: 'library/connector/KF141V-2.54/KF141V-2.54-8P.step'
|
||||||
rotation: -90,0,-180
|
rotation: -90,0,-180
|
||||||
position: 11.5,6.3,0
|
position: 11.5,6.3,0
|
||||||
columnCount: 8
|
columnCount: 8
|
||||||
|
@ -154,9 +154,9 @@ housing@9P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 25.4
|
bodyWidth: 25.4
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141V-2.54-9P.step'
|
file: 'library/connector/KF141V-2.54/KF141V-2.54-9P.step'
|
||||||
rotation: -90,0,-180
|
rotation: -90,0,-180
|
||||||
position: 11.5,6.3,0
|
position: 0,6.3,0
|
||||||
columnCount: 9
|
columnCount: 9
|
||||||
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9
|
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9
|
||||||
|
|
||||||
|
@ -172,9 +172,9 @@ housing@10P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 27.94
|
bodyWidth: 27.94
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141V-2.54-10P.step'
|
file: 'library/connector/KF141V-2.54/KF141V-2.54-10P.step'
|
||||||
rotation: -90,0,-180
|
rotation: -90,0,-180
|
||||||
position: 11.5,6.3,0
|
position: 0,6.3,0
|
||||||
columnCount: 10
|
columnCount: 10
|
||||||
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
|
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
|
||||||
|
|
||||||
|
@ -190,9 +190,9 @@ housing@11P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 30.48
|
bodyWidth: 30.48
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141V-2.54-11P.step'
|
file: 'library/connector/KF141V-2.54/KF141V-2.54-11P.step'
|
||||||
rotation: -90,0,-180
|
rotation: -90,0,-180
|
||||||
position: 11.5,6.3,0
|
position: 0,6.3,0
|
||||||
columnCount: 11
|
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
|
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
|
||||||
|
|
||||||
|
@ -208,8 +208,8 @@ housing@12P:
|
||||||
<<: *template
|
<<: *template
|
||||||
bodyWidth: 33.02
|
bodyWidth: 33.02
|
||||||
model:
|
model:
|
||||||
file: 'library/connector/KF141V-2.54-12P.step'
|
file: 'library/connector/KF141V-2.54/KF141V-2.54-12P.step'
|
||||||
rotation: -90,0,-180
|
rotation: -90,0,-180
|
||||||
position: 11.5,6.3,0
|
position: 0,6.3,0
|
||||||
columnCount: 12
|
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
|
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
|
|
@ -0,0 +1,21 @@
|
||||||
|
name: FXL
|
||||||
|
variations: "0603"
|
||||||
|
datasheet: http://www.cjiang.com.cn/En_Pr_download2_id_784.html
|
||||||
|
description: power inductor, SMD
|
||||||
|
|
||||||
|
schematic:
|
||||||
|
symbol: inductor
|
||||||
|
|
||||||
|
housing@0603:
|
||||||
|
pattern: custom
|
||||||
|
suffix: "0630"
|
||||||
|
bodyLength: 6.4-6.8 # B
|
||||||
|
bodyWidth: 6.7-7.3 # A
|
||||||
|
height: 2.6-3.0 # C
|
||||||
|
leadWidth: 1.3-1.9 # D
|
||||||
|
leadLength: 2.7-3.3 # E
|
||||||
|
pitch: 6.05 # a+(b-a)/2
|
||||||
|
rowCount: 1
|
||||||
|
columnCount: 2
|
||||||
|
padWidth: 2.35 # (b-a)/2
|
||||||
|
padHeight: 3.5 # c
|
|
@ -0,0 +1,73 @@
|
||||||
|
name: INMP441
|
||||||
|
description: I2S microphone
|
||||||
|
variations: board, naked
|
||||||
|
datasheet: https://invensense.tdk.com/wp-content/uploads/2015/02/INMP441.pdf
|
||||||
|
|
||||||
|
pinout@naked:
|
||||||
|
SCK: 1
|
||||||
|
SD: 2
|
||||||
|
WS: 3
|
||||||
|
L/R: 4
|
||||||
|
GND: 5,6,9
|
||||||
|
VDD: 7
|
||||||
|
CHIPEN: 8
|
||||||
|
|
||||||
|
pinout@board:
|
||||||
|
L/R: 1
|
||||||
|
WS: 2
|
||||||
|
SCK: 3
|
||||||
|
SD: 4
|
||||||
|
VDD: 5
|
||||||
|
GND: 6
|
||||||
|
|
||||||
|
properties:
|
||||||
|
power: VDD
|
||||||
|
ground: GND
|
||||||
|
in: SCK, L/R, CHIPEN, WS
|
||||||
|
out: SD
|
||||||
|
|
||||||
|
schematic:
|
||||||
|
symbol: IC
|
||||||
|
left: CHIPEN, L/R
|
||||||
|
right: SCK, WS, SD
|
||||||
|
top: VDD
|
||||||
|
bottom: GND
|
||||||
|
|
||||||
|
housing@board:
|
||||||
|
pattern: custom
|
||||||
|
suffix: -board
|
||||||
|
options: diameter
|
||||||
|
|
||||||
|
bodyDiameter: 14.0
|
||||||
|
bodyWidth: 12.0
|
||||||
|
bodyLength: 14.0
|
||||||
|
height: 3.0
|
||||||
|
verticalPitch: 2.54
|
||||||
|
horizontalPitch: 7.62
|
||||||
|
leadHeight: 3.2-3.4
|
||||||
|
leadWidth: 0.64
|
||||||
|
leadLength: 0.64
|
||||||
|
holeDiameter: 1.0
|
||||||
|
columnCount: 2
|
||||||
|
rowCount: 3
|
||||||
|
numbers: 1, 6, 2, 5, 3, 4
|
||||||
|
|
||||||
|
housing@naked:
|
||||||
|
pattern: custom
|
||||||
|
options: polarized
|
||||||
|
bodyWidth: 4.72
|
||||||
|
bodyLength: 3.76
|
||||||
|
height: 1.0
|
||||||
|
|
||||||
|
verticalPitch: 2.66
|
||||||
|
horizontalPitch: 1.05
|
||||||
|
padWidth: 0.4
|
||||||
|
padHeight: 0.6
|
||||||
|
columnCount: 4
|
||||||
|
rowCount: 2
|
||||||
|
numbers: 9, 8, 7, 6, 1, 2, 3, 4
|
||||||
|
|
||||||
|
holeDiameter1: 0.96
|
||||||
|
padDiameter1: 1.56
|
||||||
|
padPosition1: 1.58, 0
|
||||||
|
numbers1: 5
|
|
@ -0,0 +1,56 @@
|
||||||
|
name: MP34DT05-A
|
||||||
|
description: digital MEMS microphone
|
||||||
|
datasheet: https://www.st.com/resource/en/datasheet/mp34dt05-a.pdf
|
||||||
|
|
||||||
|
pinout:
|
||||||
|
VDD: 1
|
||||||
|
LR: 2
|
||||||
|
CLK: 3
|
||||||
|
DOUT: 4
|
||||||
|
GND: 5
|
||||||
|
|
||||||
|
properties:
|
||||||
|
power: VDD
|
||||||
|
ground: GND
|
||||||
|
in: CLK, LR
|
||||||
|
out: DOUT
|
||||||
|
|
||||||
|
schematic:
|
||||||
|
symbol: IC
|
||||||
|
left: LR
|
||||||
|
right: CLK, DOUT
|
||||||
|
top: VDD
|
||||||
|
bottom: GND
|
||||||
|
|
||||||
|
housing:
|
||||||
|
pattern: custom
|
||||||
|
options: polarized
|
||||||
|
bodyWidth: 3.0
|
||||||
|
bodyLength: 4.0
|
||||||
|
height: 1.0
|
||||||
|
silkscreen: M 1.6 -1.45 1.6 1.45 M -0.8 -2.1 -1.6 -1.3
|
||||||
|
|
||||||
|
verticalPitch: 1.35
|
||||||
|
horizontalPitch: 0.85
|
||||||
|
padWidth: 0.4
|
||||||
|
padHeight: 0.95
|
||||||
|
columnCount: 2
|
||||||
|
rowCount: 2
|
||||||
|
numbers: 1,4,2,3
|
||||||
|
|
||||||
|
verticalPitch1: 3.45 # (3.1+3.8)/2
|
||||||
|
horizontalPitch1: 0
|
||||||
|
padWidth1: 1.3
|
||||||
|
padHeight1: 0.35
|
||||||
|
columnCount1: 1
|
||||||
|
rowCount1: 2
|
||||||
|
numbers1: 5,5
|
||||||
|
|
||||||
|
verticalPitch2: 0
|
||||||
|
horizontalPitch2: 2.45 # (2.1+2.8)/2
|
||||||
|
padWidth2: 0.35
|
||||||
|
padHeight2: 2.3
|
||||||
|
columnCount2: 2
|
||||||
|
rowCount2: 1
|
||||||
|
numbers2: 5,5
|
||||||
|
|
Loading…
Reference in New Issue