add 7.62mm barrier terminal
This commit is contained in:
parent
b9ec6b1ad1
commit
3f9442c694
46
connector/terminal-barrier_max7620-7.62.rb
Executable file
46
connector/terminal-barrier_max7620-7.62.rb
Executable file
@ -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: MAX7620-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
|
430
connector/terminal-barrier_max7620-7.62.yaml
Normal file
430
connector/terminal-barrier_max7620-7.62.yaml
Normal file
@ -0,0 +1,430 @@
|
||||
name: MAX7620-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
|
33343
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 10 Pin.stp
Normal file
33343
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 10 Pin.stp
Normal file
File diff suppressed because it is too large
Load Diff
35673
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 11 Pin.stp
Normal file
35673
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 11 Pin.stp
Normal file
File diff suppressed because it is too large
Load Diff
38020
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 12 Pin.stp
Normal file
38020
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 12 Pin.stp
Normal file
File diff suppressed because it is too large
Load Diff
14576
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 2 Pin.stp
Normal file
14576
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 2 Pin.stp
Normal file
File diff suppressed because it is too large
Load Diff
16922
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 3 Pin.stp
Normal file
16922
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 3 Pin.stp
Normal file
File diff suppressed because it is too large
Load Diff
19272
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 4 Pin.stp
Normal file
19272
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 4 Pin.stp
Normal file
File diff suppressed because it is too large
Load Diff
21611
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 5 Pin.stp
Normal file
21611
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 5 Pin.stp
Normal file
File diff suppressed because it is too large
Load Diff
23961
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 6 Pin.stp
Normal file
23961
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 6 Pin.stp
Normal file
File diff suppressed because it is too large
Load Diff
26298
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 7 Pin.stp
Normal file
26298
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 7 Pin.stp
Normal file
File diff suppressed because it is too large
Load Diff
28657
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 8 Pin.stp
Normal file
28657
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 8 Pin.stp
Normal file
File diff suppressed because it is too large
Load Diff
30999
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 9 Pin.stp
Normal file
30999
connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 9 Pin.stp
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user