fix notch side

This commit is contained in:
King Kévin 2023-11-28 20:17:23 +01:00
parent 94f247efb0
commit 4d0cd75b3c
2 changed files with 24 additions and 24 deletions

View File

@ -35,7 +35,7 @@ schematic@#{v}P:
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)}
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'

View File

@ -25,7 +25,7 @@ schematic@2P:
housing@2P:
suffix: -02P
<<: *template
silkscreen: M 8.62 3.3 8.62 4.3 M 8.62 -4.3 8.62 -3.3
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'
@ -43,7 +43,7 @@ schematic@3P:
housing@3P:
suffix: -03P
<<: *template
silkscreen: M 12.43 3.3 12.43 4.3 M 12.43 -4.3 12.43 -3.3
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'
@ -61,7 +61,7 @@ schematic@4P:
housing@4P:
suffix: -04P
<<: *template
silkscreen: M 16.24 3.3 16.24 4.3 M 16.24 -4.3 16.24 -3.3
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'
@ -79,7 +79,7 @@ schematic@5P:
housing@5P:
suffix: -05P
<<: *template
silkscreen: M 20.05 3.3 20.05 4.3 M 20.05 -4.3 20.05 -3.3
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'
@ -97,7 +97,7 @@ schematic@6P:
housing@6P:
suffix: -06P
<<: *template
silkscreen: M 23.86 3.3 23.86 4.3 M 23.86 -4.3 23.86 -3.3
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'
@ -115,7 +115,7 @@ schematic@7P:
housing@7P:
suffix: -07P
<<: *template
silkscreen: M 27.67 3.3 27.67 4.3 M 27.67 -4.3 27.67 -3.3
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'
@ -133,7 +133,7 @@ schematic@8P:
housing@8P:
suffix: -08P
<<: *template
silkscreen: M 31.48 3.3 31.48 4.3 M 31.48 -4.3 31.48 -3.3
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'
@ -151,7 +151,7 @@ schematic@9P:
housing@9P:
suffix: -09P
<<: *template
silkscreen: M 35.29 3.3 35.29 4.3 M 35.29 -4.3 35.29 -3.3
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'
@ -169,7 +169,7 @@ schematic@10P:
housing@10P:
suffix: -10P
<<: *template
silkscreen: M 39.1 3.3 39.1 4.3 M 39.1 -4.3 39.1 -3.3
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'
@ -187,7 +187,7 @@ schematic@11P:
housing@11P:
suffix: -11P
<<: *template
silkscreen: M 42.91 3.3 42.91 4.3 M 42.91 -4.3 42.91 -3.3
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'
@ -205,7 +205,7 @@ schematic@12P:
housing@12P:
suffix: -12P
<<: *template
silkscreen: M 46.72 3.3 46.72 4.3 M 46.72 -4.3 46.72 -3.3
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'
@ -223,7 +223,7 @@ schematic@13P:
housing@13P:
suffix: -13P
<<: *template
silkscreen: M 50.53 3.3 50.53 4.3 M 50.53 -4.3 50.53 -3.3
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'
@ -241,7 +241,7 @@ schematic@14P:
housing@14P:
suffix: -14P
<<: *template
silkscreen: M 54.34 3.3 54.34 4.3 M 54.34 -4.3 54.34 -3.3
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'
@ -259,7 +259,7 @@ schematic@15P:
housing@15P:
suffix: -15P
<<: *template
silkscreen: M 58.15 3.3 58.15 4.3 M 58.15 -4.3 58.15 -3.3
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'
@ -277,7 +277,7 @@ schematic@16P:
housing@16P:
suffix: -16P
<<: *template
silkscreen: M 61.96 3.3 61.96 4.3 M 61.96 -4.3 61.96 -3.3
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'
@ -295,7 +295,7 @@ schematic@17P:
housing@17P:
suffix: -17P
<<: *template
silkscreen: M 65.77 3.3 65.77 4.3 M 65.77 -4.3 65.77 -3.3
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'
@ -313,7 +313,7 @@ schematic@18P:
housing@18P:
suffix: -18P
<<: *template
silkscreen: M 69.58 3.3 69.58 4.3 M 69.58 -4.3 69.58 -3.3
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'
@ -331,7 +331,7 @@ schematic@19P:
housing@19P:
suffix: -19P
<<: *template
silkscreen: M 73.39 3.3 73.39 4.3 M 73.39 -4.3 73.39 -3.3
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'
@ -349,7 +349,7 @@ schematic@20P:
housing@20P:
suffix: -20P
<<: *template
silkscreen: M 77.2 3.3 77.2 4.3 M 77.2 -4.3 77.2 -3.3
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'
@ -367,7 +367,7 @@ schematic@21P:
housing@21P:
suffix: -21P
<<: *template
silkscreen: M 81.01 3.3 81.01 4.3 M 81.01 -4.3 81.01 -3.3
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'
@ -385,7 +385,7 @@ schematic@22P:
housing@22P:
suffix: -22P
<<: *template
silkscreen: M 84.82 3.3 84.82 4.3 M 84.82 -4.3 84.82 -3.3
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'
@ -403,7 +403,7 @@ schematic@23P:
housing@23P:
suffix: -23P
<<: *template
silkscreen: M 88.63 3.3 88.63 4.3 M 88.63 -4.3 88.63 -3.3
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'
@ -421,7 +421,7 @@ schematic@24P:
housing@24P:
suffix: -24P
<<: *template
silkscreen: M 92.44 3.3 92.44 4.3 M 92.44 -4.3 92.44 -3.3
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'