← Back to team overview

kicad-developers team mailing list archive

Re: 3D Viewer crushes whole KiCAD with this file

 

In response to a message written on 20.02.2015, 03:18, from Cirilo Bernardo:
No problem, I hope I got the scale right.
I think that it exactly fits to attached final version of lib.

--
Best Regards,
LordBlick
(module "FitDev Custom:LED-1206R" (layer F.Cu) (tedit 52EEA941)
  (descr "LED 1206 smd package")
  (tags "LED led 1206 SMD smd SMT smt smdled SMDLED smtled SMTLED")
  (attr smd)
  (fp_text reference LED-1206R (at 0 -1.3208) (layer F.SilkS)
    (effects (font (size 0.508 0.381) (thickness 0.0381)))
  )
  (fp_text value Val** (at 0 1.3208) (layer F.SilkS)
    (effects (font (size 0.508 0.381) (thickness 0.0381)))
  )
  (fp_line (start 1.0414 0.7493) (end -1.0414 0.7493) (layer F.SilkS) (width 0.0508))
  (fp_line (start -1.0414 0.7493) (end -1.0414 -0.7493) (layer F.SilkS) (width 0.0508))
  (fp_line (start -1.0414 -0.7493) (end 1.0414 -0.7493) (layer F.SilkS) (width 0.0508))
  (fp_line (start 1.0414 -0.7493) (end 1.0414 0.7493) (layer F.SilkS) (width 0.0508))
  (fp_line (start -0.381 0.3048) (end 0.381 0) (layer F.SilkS) (width 0.0762))
  (fp_line (start 0.381 0.3048) (end 0.381 -0.3048) (layer F.SilkS) (width 0.0762))
  (fp_line (start -0.381 -0.3048) (end 0.381 0) (layer F.SilkS) (width 0.0762))
  (fp_line (start -0.381 0.3048) (end -0.381 -0.3048) (layer F.SilkS) (width 0.0762))
  (fp_line (start -0.1016 -0.3556) (end 0 -0.4572) (layer F.SilkS) (width 0.0508))
  (fp_line (start 0.1016 -0.3556) (end 0.2032 -0.4572) (layer F.SilkS) (width 0.0508))
  (fp_line (start -0.762 0) (end 0.762 0) (layer F.SilkS) (width 0.0762))
  (fp_line (start -0.0508 -0.4572) (end 0 -0.4572) (layer F.SilkS) (width 0.0508))
  (fp_line (start 0 -0.4572) (end 0 -0.4064) (layer F.SilkS) (width 0.0508))
  (fp_line (start 0.1524 -0.4572) (end 0.2032 -0.4572) (layer F.SilkS) (width 0.0508))
  (fp_line (start 0.2032 -0.4572) (end 0.2032 -0.4064) (layer F.SilkS) (width 0.0508))
  (fp_line (start -1.778 -0.889) (end 1.778 -0.889) (layer F.SilkS) (width 0.1016))
  (fp_arc (start 1.778 0) (end 1.778 0.508) (angle 180) (layer F.SilkS) (width 0.1016))
  (fp_arc (start -1.778 0) (end -1.778 -0.508) (angle 180) (layer F.SilkS) (width 0.1016))
  (fp_line (start -1.778 0.889) (end 1.778 0.889) (layer F.SilkS) (width 0.1016))
  (fp_line (start -1.778 -0.889) (end -1.778 -0.508) (layer F.SilkS) (width 0.1016))
  (fp_line (start -1.778 0.508) (end -1.778 0.889) (layer F.SilkS) (width 0.1016))
  (fp_line (start 1.778 -0.889) (end 1.778 -0.508) (layer F.SilkS) (width 0.1016))
  (fp_line (start 1.778 0.508) (end 1.778 0.889) (layer F.SilkS) (width 0.1016))
  (fp_poly (pts (xy 1.778 0.508) (xy 1.64592 0.49022) (xy 1.524 0.43942) (xy 1.41986 0.35814)
    (xy 1.33858 0.254) (xy 1.28778 0.13208) (xy 1.27 0) (xy 1.28778 -0.13208)
    (xy 1.33858 -0.254) (xy 1.41986 -0.35814) (xy 1.524 -0.43942) (xy 1.64592 -0.49022)
    (xy 1.778 -0.508) (xy 1.778 -0.889) (xy 1.0668 -0.889) (xy 1.0668 0.889)
    (xy 1.778 0.889)) (layer F.SilkS) (width 0.0127))
  (pad A smd rect (at -1.41986 0) (size 1.397 2.032) (layers F.Cu F.Paste F.Mask))
  (pad K smd rect (at 1.41986 0) (size 1.397 2.032) (layers F.Cu F.Paste F.Mask))
  (pad Z1 np_thru_hole rect (at 0 -0.35052) (size 0.635 0.254) (drill oval 2.6 1 (offset 0 -0.28448)) (layers *.Mask)
    (clearance 0.381))
  (pad Z2 np_thru_hole rect (at -0.8001 0) (size 0.127 0.254) (drill oval 1 1.7 (offset 0.4318 0)) (layers *.Mask)
    (clearance 0.381))
  (pad Z3 np_thru_hole rect (at 0 0.35052) (size 0.635 0.254) (drill oval 2.6 1 (offset 0 0.28448)) (layers *.Mask)
    (clearance 0.381))
  (pad Z4 np_thru_hole rect (at 0.8001 0) (size 0.127 0.254) (drill oval 1 1.7 (offset -0.4318 0)) (layers *.Mask)
    (clearance 0.381))
  (model SMD-LED/WL-SMCW_1206_LED.wrl
    (at (xyz 0 0 0.012))
    (scale (xyz 1 1 1))
    (rotate (xyz 0 180 0))
  )
)

Follow ups

References