lib: add most common components
This commit is contained in:
parent
b1c719eebb
commit
8b216cf9ff
|
@ -9,3 +9,6 @@ config:
|
||||||
preferManufacturer: false
|
preferManufacturer: false
|
||||||
smoothPadCorners: false
|
smoothPadCorners: false
|
||||||
library:
|
library:
|
||||||
|
- resistor/r0603
|
||||||
|
- capacitor/c0603
|
||||||
|
- diode/led0805
|
||||||
|
|
|
@ -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.4 -0.8 0,
|
||||||
|
0.4 -0.8 0,
|
||||||
|
0.4 0.8 0,
|
||||||
|
-0.4 0.8 0,
|
||||||
|
-0.4 -0.8 0.92,
|
||||||
|
0.4 -0.8 0.92,
|
||||||
|
0.4 0.8 0.92,
|
||||||
|
-0.4 0.8 0.92
|
||||||
|
]
|
||||||
|
}
|
||||||
|
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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -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.4 -0.8 0,
|
||||||
|
0.4 -0.8 0,
|
||||||
|
0.4 0.8 0,
|
||||||
|
-0.4 0.8 0,
|
||||||
|
-0.4 -0.8 0.55,
|
||||||
|
0.4 -0.8 0.55,
|
||||||
|
0.4 0.8 0.55,
|
||||||
|
-0.4 0.8 0.55
|
||||||
|
]
|
||||||
|
}
|
||||||
|
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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
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
|
|
@ -0,0 +1,57 @@
|
||||||
|
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 "mylib: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 "mylib: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 "mylib: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
|
|
@ -0,0 +1,38 @@
|
||||||
|
(module CAPC1608X92N (layer F.Cu)
|
||||||
|
(attr smd)
|
||||||
|
(pad 1 smd rect (at 0.000 -0.750) (size 1.250 1.100) (layers F.Cu F.Mask F.Paste)
|
||||||
|
(solder_mask_margin 0.050))
|
||||||
|
(pad 2 smd rect (at 0.000 0.750) (size 1.250 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 -0.925 -0.900) (end -0.925 0.900) (layer F.SilkS) (width 0.200))
|
||||||
|
(fp_line (start 0.925 -0.900) (end 0.925 0.900) (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 CAPC1608X92N (at 0.000 0.000 90) (layer F.Fab)
|
||||||
|
(effects (font (size 0.528 0.528) (thickness 0.100)))
|
||||||
|
)
|
||||||
|
(fp_text user REF** (at 0.000 0.000 90) hide (layer F.Fab)
|
||||||
|
(effects (font (size 0.528 0.528) (thickness 0.100)))
|
||||||
|
)
|
||||||
|
(fp_line (start -0.400 -0.800) (end 0.400 -0.800) (layer F.Fab) (width 0.100))
|
||||||
|
(fp_line (start 0.400 -0.800) (end 0.400 0.800) (layer F.Fab) (width 0.100))
|
||||||
|
(fp_line (start 0.400 0.800) (end -0.400 0.800) (layer F.Fab) (width 0.100))
|
||||||
|
(fp_line (start -0.400 0.800) (end -0.400 -0.800) (layer F.Fab) (width 0.100))
|
||||||
|
(fp_line (start -0.875 -1.550) (end -0.875 -1.050) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start -0.875 -1.050) (end -0.875 1.050) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start -0.875 1.050) (end -0.875 1.550) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start -0.875 1.550) (end 0.875 1.550) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start 0.875 1.550) (end 0.875 1.050) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start 0.875 1.050) (end 0.875 -1.050) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start 0.875 -1.050) (end 0.875 -1.550) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start 0.875 -1.550) (end -0.875 -1.550) (layer F.CrtYd) (width 0.050))
|
||||||
|
(model CAPC1608X92N.wrl
|
||||||
|
(at (xyz 0 0 0))
|
||||||
|
(scale (xyz 0.3937 0.3937 0.3937))
|
||||||
|
(rotate (xyz 0 0 0 ))
|
||||||
|
)
|
||||||
|
)
|
|
@ -0,0 +1,42 @@
|
||||||
|
(module LEDC2012X80N (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 LEDC2012X80N (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 LEDC2012X80N.wrl
|
||||||
|
(at (xyz 0 0 0))
|
||||||
|
(scale (xyz 0.3937 0.3937 0.3937))
|
||||||
|
(rotate (xyz 0 0 0 ))
|
||||||
|
)
|
||||||
|
)
|
|
@ -0,0 +1,38 @@
|
||||||
|
(module UC1608X55N (layer F.Cu)
|
||||||
|
(attr smd)
|
||||||
|
(pad 1 smd rect (at 0.000 -0.700) (size 1.100 0.750) (layers F.Cu F.Mask F.Paste)
|
||||||
|
(solder_mask_margin 0.050))
|
||||||
|
(pad 2 smd rect (at 0.000 0.700) (size 1.100 0.750) (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 -0.850 -0.900) (end -0.850 0.900) (layer F.SilkS) (width 0.200))
|
||||||
|
(fp_line (start 0.850 -0.900) (end 0.850 0.900) (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 UC1608X55N (at 0.000 0.000 90) (layer F.Fab)
|
||||||
|
(effects (font (size 0.528 0.528) (thickness 0.100)))
|
||||||
|
)
|
||||||
|
(fp_text user REF** (at 0.000 0.000 90) hide (layer F.Fab)
|
||||||
|
(effects (font (size 0.528 0.528) (thickness 0.100)))
|
||||||
|
)
|
||||||
|
(fp_line (start -0.400 -0.800) (end 0.400 -0.800) (layer F.Fab) (width 0.100))
|
||||||
|
(fp_line (start 0.400 -0.800) (end 0.400 0.800) (layer F.Fab) (width 0.100))
|
||||||
|
(fp_line (start 0.400 0.800) (end -0.400 0.800) (layer F.Fab) (width 0.100))
|
||||||
|
(fp_line (start -0.400 0.800) (end -0.400 -0.800) (layer F.Fab) (width 0.100))
|
||||||
|
(fp_line (start -0.730 -1.255) (end -0.730 -0.980) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start -0.730 -0.980) (end -0.730 0.980) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start -0.730 0.980) (end -0.730 1.255) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start -0.730 1.255) (end 0.730 1.255) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start 0.730 1.255) (end 0.730 0.980) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start 0.730 0.980) (end 0.730 -0.980) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start 0.730 -0.980) (end 0.730 -1.255) (layer F.CrtYd) (width 0.050))
|
||||||
|
(fp_line (start 0.730 -1.255) (end -0.730 -1.255) (layer F.CrtYd) (width 0.050))
|
||||||
|
(model UC1608X55N.wrl
|
||||||
|
(at (xyz 0 0 0))
|
||||||
|
(scale (xyz 0.3937 0.3937 0.3937))
|
||||||
|
(rotate (xyz 0 0 0 ))
|
||||||
|
)
|
||||||
|
)
|
Loading…
Reference in New Issue