lib: switch output to KiCad 6

This commit is contained in:
King Kévin 2022-12-24 03:08:20 +01:00
parent 9490a25e50
commit 283b18e1e9
6 changed files with 220 additions and 75 deletions

View File

@ -1,6 +1,6 @@
config: config:
nodate: true nodate: true
output: kicad output: kicad6
pattern: pattern:
densityLevel: 'N' densityLevel: 'N'
lineWidth: lineWidth:

View File

@ -0,0 +1,35 @@
#VRML V2.0 utf8
Shape {
appearance Appearance {
material Material {
diffuseColor 0.37 0.37 0.37
emissiveColor 0.0 0.0 0.0
specularColor 1.0 1.0 1.0
ambientIntensity 1.0
transparency 0.5
shininess 1.0
}
}
geometry IndexedFaceSet {
coord Coordinate {
point [
-0.6 -1 0,
0.6 -1 0,
0.6 1 0,
-0.6 1 0,
-0.6 -1 0.8,
0.6 -1 0.8,
0.6 1 0.8,
-0.6 1 0.8
]
}
coordIndex [
0,1,2,3,-1
4,5,6,7,-1
0,1,5,4,-1
2,3,7,6,-1
0,3,7,4,-1
1,2,6,5,-1
]
}
}

View File

@ -1,17 +0,0 @@
EESchema-DOCLIB Version 2.0 Date: 00/00/0000 00:00:00
#
$CMP R0603
D resistor, chip, 1.6x0.8 mm
$ENDCMP
#
$CMP C0603
D Chip capacitor 1.6x0.8 mm
K Capacitor
$ENDCMP
#
$CMP LED0805
D diode, LED, chip, 2.0x1.2 mm
K LED
$ENDCMP
#
# End Doc Library

142
kicad/qeda.kicad_sym Normal file
View File

@ -0,0 +1,142 @@
(kicad_symbol_lib (version 20211014) (generator qeda)
(symbol "R0603" (pin_numbers hide) (pin_names hide) (in_bom yes) (on_board yes)
(property "Reference" "R"
(id 0)
(at 0.000 1.778 0)
(effects (font (size 1.27 1.27)) (justify bottom))
)
(property "Value" "R0603"
(id 1)
(at 0.000 -1.778 0)
(effects (font (size 1.27 1.27)) (justify top))
)
(property "Footprint" "qeda:UC1608X55N"
(id 2)
(at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "resistor, chip, 1.6x0.8 mm"
(id 3)
(at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(rectangle (start -2.540 1.016) (end 2.540 -1.016) (stroke (width 0.305) (type default) (color 0 0 0 0)) (fill (type background)))
(pin passive line
(at -3.810 0.000 0)
(length 1.270)
(name "L"
(effects (font (size 1.27 1.27)))
)
(number "1"
(effects (font (size 1.27 1.27)))
)
)
(pin passive line
(at 3.810 0.000 180)
(length 1.270)
(name "R"
(effects (font (size 1.27 1.27)))
)
(number "2"
(effects (font (size 1.27 1.27)))
)
)
)
(symbol "C0603" (pin_numbers hide) (pin_names hide) (in_bom yes) (on_board yes)
(property "Reference" "C"
(id 0)
(at 0.000 2.794 0)
(effects (font (size 1.27 1.27)) (justify bottom))
)
(property "Value" "C0603"
(id 1)
(at 0.000 -2.794 0)
(effects (font (size 1.27 1.27)) (justify top))
)
(property "Footprint" "qeda:CAPC1608X92N"
(id 2)
(at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Chip capacitor 1.6x0.8 mm"
(id 3)
(at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "Capacitor"
(id 4)
(at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(polyline (pts (xy -0.381 2.032) (xy -0.381 -2.032)) (stroke (width 0.305) (type default) (color 0 0 0 0)) (fill (type none)))
(polyline (pts (xy 0.381 2.032) (xy 0.381 -2.032)) (stroke (width 0.305) (type default) (color 0 0 0 0)) (fill (type none)))
(pin passive line
(at -2.540 0.000 0)
(length 2.159)
(name "L"
(effects (font (size 1.27 1.27)))
)
(number "1"
(effects (font (size 1.27 1.27)))
)
)
(pin passive line
(at 2.540 0.000 180)
(length 2.159)
(name "R"
(effects (font (size 1.27 1.27)))
)
(number "2"
(effects (font (size 1.27 1.27)))
)
)
)
(symbol "LED0805" (pin_numbers hide) (pin_names hide) (in_bom yes) (on_board yes)
(property "Reference" "D"
(id 0)
(at 0.000 2.032 0)
(effects (font (size 1.27 1.27)) (justify bottom))
)
(property "Value" "LED0805"
(id 1)
(at 0.000 -2.032 0)
(effects (font (size 1.27 1.27)) (justify top))
)
(property "Footprint" "qeda:UPC2012X80N"
(id 2)
(at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "diode, LED, chip, 2.0x1.2 mm"
(id 3)
(at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(polyline (pts (xy -1.016 1.270) (xy 1.016 0.000) (xy -1.016 -1.270) (xy -1.016 1.270)) (stroke (width 0.305) (type default) (color 0 0 0 0)) (fill (type background)))
(polyline (pts (xy 1.016 1.270) (xy 1.016 -1.270)) (stroke (width 0.305) (type default) (color 0 0 0 0)) (fill (type none)))
(polyline (pts (xy 1.270 1.905) (xy 2.540 3.175)) (stroke (width 0.305) (type default) (color 0 0 0 0)) (fill (type none)))
(polyline (pts (xy 1.725 2.720) (xy 2.540 3.175) (xy 2.085 2.360) (xy 1.725 2.720)) (stroke (width 0.305) (type default) (color 0 0 0 0)) (fill (type outline)))
(polyline (pts (xy 1.905 1.270) (xy 3.175 2.540)) (stroke (width 0.305) (type default) (color 0 0 0 0)) (fill (type none)))
(polyline (pts (xy 2.360 2.085) (xy 3.175 2.540) (xy 2.720 1.725) (xy 2.360 2.085)) (stroke (width 0.305) (type default) (color 0 0 0 0)) (fill (type outline)))
(pin passive line
(at -2.540 0.000 0)
(length 1.524)
(name "A"
(effects (font (size 1.27 1.27)))
)
(number "2"
(effects (font (size 1.27 1.27)))
)
)
(pin passive line
(at 2.540 0.000 180)
(length 1.524)
(name "C"
(effects (font (size 1.27 1.27)))
)
(number "1"
(effects (font (size 1.27 1.27)))
)
)
)
)

View File

@ -1,57 +0,0 @@
EESchema-LIBRARY Version 2.3 Date: 00/00/0000 00:00:00
#encoding utf-8
#
# R0603
#
DEF R0603 R 0 40 N N 1 L N
F0 "R" 0 70 50 H V C BNN
F1 "R0603" 0 -70 50 H V C TNN
F2 "qeda:UC1608X55N" 0 0 0 H I C CNN
$FPLIST
UC1608X55N
$ENDFPLIST
DRAW
S -100 40 100 -40 1 1 12 f
X L 1 -150 0 50 R 50 50 1 1 P
X R 2 150 0 50 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# C0603
#
DEF C0603 C 0 40 N N 1 L N
F0 "C" 0 110 50 H V C BNN
F1 "C0603" 0 -110 50 H V C TNN
F2 "qeda:CAPC1608X92N" 0 0 0 H I C CNN
$FPLIST
CAPC1608X92N
$ENDFPLIST
DRAW
P 2 1 1 12 -15 80 -15 -80 N
P 2 1 1 12 15 80 15 -80 N
X L 1 -100 0 85 R 50 50 1 1 P
X R 2 100 0 85 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# LED0805
#
DEF LED0805 D 0 40 N N 1 L N
F0 "D" 0 80 50 H V C BNN
F1 "LED0805" 0 -80 50 H V C TNN
F2 "qeda:LEDC2012X80N" 0 0 0 H I C CNN
$FPLIST
LEDC2012X80N
$ENDFPLIST
DRAW
P 4 1 1 12 -40 50 40 0 -40 -50 -40 50 f
P 2 1 1 12 40 50 40 -50 N
P 2 1 1 12 50 75 100 125 N
P 4 1 1 12 68 107 100 125 82 93 68 107 F
P 2 1 1 12 75 50 125 100 N
P 4 1 1 12 93 82 125 100 107 68 93 82 F
X A 2 -100 0 60 R 50 50 1 1 P
X C 1 100 0 60 L 50 50 1 1 P
ENDDRAW
ENDDEF
# End Library

View File

@ -0,0 +1,42 @@
(module UPC2012X80N (layer F.Cu)
(attr smd)
(pad 1 smd rect (at 0.000 -0.900) (size 1.600 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 2 smd rect (at 0.000 0.900) (size 1.600 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(fp_text reference REF** (at 0.000 0.000) (layer F.SilkS)
(effects (font (size 1.200 1.200) (thickness 0.200)))
)
(fp_line (start -1.100 -1.100) (end -1.100 1.100) (layer F.SilkS) (width 0.200))
(fp_line (start 1.100 -1.100) (end 1.100 1.100) (layer F.SilkS) (width 0.200))
(fp_line (start -1.100 -1.100) (end -1.100 -1.750) (layer F.SilkS) (width 0.200))
(fp_line (start -1.100 -1.750) (end 1.100 -1.750) (layer F.SilkS) (width 0.200))
(fp_line (start 1.100 -1.750) (end 1.100 -1.100) (layer F.SilkS) (width 0.200))
(fp_circle (center 0.000 0.000) (end 0.000 0.500) (layer F.Fab) (width 0.100))
(fp_line (start -0.700 0.000) (end 0.700 0.000) (layer F.Fab) (width 0.100))
(fp_line (start 0.000 -0.700) (end 0.000 0.700) (layer F.Fab) (width 0.100))
(fp_text value UPC2012X80N (at 0.000 0.000 90) (layer F.Fab)
(effects (font (size 0.792 0.792) (thickness 0.100)))
)
(fp_text user REF** (at 0.000 0.000 90) hide (layer F.Fab)
(effects (font (size 0.792 0.792) (thickness 0.100)))
)
(fp_line (start 0.000 -1.000) (end 0.600 -1.000) (layer F.Fab) (width 0.100))
(fp_line (start 0.600 -1.000) (end 0.600 1.000) (layer F.Fab) (width 0.100))
(fp_line (start 0.600 1.000) (end -0.600 1.000) (layer F.Fab) (width 0.100))
(fp_line (start -0.600 1.000) (end -0.600 -0.400) (layer F.Fab) (width 0.100))
(fp_line (start -0.600 -0.400) (end 0.000 -1.000) (layer F.Fab) (width 0.100))
(fp_line (start -1.050 -1.700) (end -1.050 -1.250) (layer F.CrtYd) (width 0.050))
(fp_line (start -1.050 -1.250) (end -1.050 1.250) (layer F.CrtYd) (width 0.050))
(fp_line (start -1.050 1.250) (end -1.050 1.700) (layer F.CrtYd) (width 0.050))
(fp_line (start -1.050 1.700) (end 1.050 1.700) (layer F.CrtYd) (width 0.050))
(fp_line (start 1.050 1.700) (end 1.050 1.250) (layer F.CrtYd) (width 0.050))
(fp_line (start 1.050 1.250) (end 1.050 -1.250) (layer F.CrtYd) (width 0.050))
(fp_line (start 1.050 -1.250) (end 1.050 -1.700) (layer F.CrtYd) (width 0.050))
(fp_line (start 1.050 -1.700) (end -1.050 -1.700) (layer F.CrtYd) (width 0.050))
(model UPC2012X80N.wrl
(at (xyz 0 0 0))
(scale (xyz 0.3937 0.3937 0.3937))
(rotate (xyz 0 0 0 ))
)
)