lib: add LED 0603

This commit is contained in:
King Kévin 2023-08-08 01:34:58 +02:00
parent da13b2ae51
commit 409f07f649
3 changed files with 78 additions and 0 deletions

View File

@ -33,3 +33,4 @@ library:
- diode/schottky@sod323
- transistor/optocoupler_pc817@smd
- mechanical/smd-button_hyp_1ts002e
- diode/led0603

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.4 -0.8 0,
0.4 -0.8 0,
0.4 0.8 0,
-0.4 0.8 0,
-0.4 -0.8 0.9,
0.4 -0.8 0.9,
0.4 0.8 0.9,
-0.4 0.8 0.9
]
}
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

@ -0,0 +1,42 @@
(module UPC1608X90N (layer F.Cu)
(attr smd)
(pad 1 smd rect (at 0.000 -0.800) (size 1.200 0.900) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 2 smd rect (at 0.000 0.800) (size 1.200 0.900) (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.900 -0.900) (end -0.900 0.900) (layer F.SilkS) (width 0.200))
(fp_line (start 0.900 -0.900) (end 0.900 0.900) (layer F.SilkS) (width 0.200))
(fp_line (start -0.900 -0.900) (end -0.900 -1.550) (layer F.SilkS) (width 0.200))
(fp_line (start -0.900 -1.550) (end 0.900 -1.550) (layer F.SilkS) (width 0.200))
(fp_line (start 0.900 -1.550) (end 0.900 -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 UPC1608X90N (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.000 -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.400) (layer F.Fab) (width 0.100))
(fp_line (start -0.400 -0.400) (end 0.000 -0.800) (layer F.Fab) (width 0.100))
(fp_line (start -0.850 -1.500) (end -0.850 -1.050) (layer F.CrtYd) (width 0.050))
(fp_line (start -0.850 -1.050) (end -0.850 1.050) (layer F.CrtYd) (width 0.050))
(fp_line (start -0.850 1.050) (end -0.850 1.500) (layer F.CrtYd) (width 0.050))
(fp_line (start -0.850 1.500) (end 0.850 1.500) (layer F.CrtYd) (width 0.050))
(fp_line (start 0.850 1.500) (end 0.850 1.050) (layer F.CrtYd) (width 0.050))
(fp_line (start 0.850 1.050) (end 0.850 -1.050) (layer F.CrtYd) (width 0.050))
(fp_line (start 0.850 -1.050) (end 0.850 -1.500) (layer F.CrtYd) (width 0.050))
(fp_line (start 0.850 -1.500) (end -0.850 -1.500) (layer F.CrtYd) (width 0.050))
(model ../qeda.3dshapes/UPC1608X90N.wrl
(at (xyz 0 0 0))
(scale (xyz 0.3937 0.3937 0.3937))
(rotate (xyz 0 0 0 ))
)
)