// // file: led_single_smd_w_pipe // // Original Rev. 9-Apr-2015 made for the Hub Module // // // Geometry for the Single LED with Light Pipe // ---------------------------- // // // This geometry is for an Osram SMD LED in their P-LCC-2 // package (also called 2-PLCC) and includes on the // Conformal Mask 1 layer "silkscreen" that indicates // the outline of a Mentor light pipe from their 1271.100x // series. // // The SMD Pads for the Osram will come from Mentor's // recommended layout and they are slightly different // from what Osram recommends. Note that Osram will let // you use very large pads, mostly covered with solder // mask, to help remove heat from the LED. // // As layed out in this geometry the SMD pads are // 1.70 mm in X by 2.40 mm in Y and have 1.20 mm // clearance between them. // // The cathode of this LED is maked with a notch in // its case. // // This geometry includes a 2.30 mm drill hole for // mounting the Mentor light pipe. There is some change // that this should actually be a 2.40 mm drill hole. // // For proper placement on the Hub Module this drill hole // must be 3.40 mm back from the front edge of the PCB. // // These Mentor light pipes have a pitch of 5.08 mm. // // pin #1 is to the left and is the Cathole // pin #2 is to the right and is the Anode // // the axis is horizontal // // The center of this geometry will be in the center of // the two SMD pads. Thus this geometry must be placed // 7.65 mm back from the front edge of the PCB to put the // light pipe in the correct location wrt the front panel. // // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- $$create_pin("led_single_pad", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'PI$led_single_pad'] ); $$point_mode(@vertex); $$polygon( "PAD", , [ -0.85, -1.20, 0.85, -1.20, 0.85, 1.20, -0.85, 1.20 ] ); $$polygon( "SOLDER_MASK", , [ -0.90, -1.25, 0.90, -1.25, 0.90, 1.25, -0.90, 1.25 ] ); $$polygon( "PASTE_MASK", , [ -0.85, -1.20, 0.85, -1.20, 0.85, 1.20, -0.85, 1.20 ] ); $$attribute( "TERMINAL_SURFACE_DEFINITION", ""); //---------------------------------------------------------------------------- $$create_component("led_single_smd", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$led_single_smd'] ); $$point_mode(@vertex); $$attribute( "COMPONENT_LAYOUT_TYPE", "surface"); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); $$attribute( "COMPONENT_HEIGHT", "", , @scale , , [0.028, 0.0]); // // Component Placement Outline for the led_single_smd // $$initial([ -2.70, -1.60 ], , @nosnap ); $$terminal([ -2.70, 1.60 ] ); $$terminal([ 2.70, 1.60 ] ); $$terminal([ 2.70, -1.60 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); // // Silkscreen // $$template_line_style( @Solid ); $$path( "SILKSCREEN", 0.20, , [ -2.10, 1.90, 2.10, 1.90 ]); $$path( "SILKSCREEN", 0.20, , [ -2.10, -1.90, 2.10, -1.90 ]); $$path( "SILKSCREEN", 0.20, , [ -2.10, 1.90, -3.10, 0.90 ]); $$path( "SILKSCREEN", 0.20, , [ -2.20, 1.90, -3.20, 0.90 ]); // // Reference Designator is on the SILKSCREEN layer. // $$text( "SILKSCREEN", "^$ref", 0.0, -2.9, 1.5, @CC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // // Add the drill hole for mounting the Light Pipe // $$attribute( "DRILL_DEFINITION_UNPLATED", "2.30", , @scale , , [ -4.25, 0.00 ]); $$circle( "POWER", -4.25, 0.00, 2.50, 0.0 ); // // Now lines on Conformal Mark 1 layer to // indicate the outline of the Light Pipe // $$path( "CONFORMAL_MASK_1", 0.20, , [ -4.25, 1.50, -12.15, 1.50 ]); $$path( "CONFORMAL_MASK_1", 0.20, , [ -4.25, -1.50, -12.15, -1.50 ]); $$path( "CONFORMAL_MASK_1", 0.20, , [ -12.35, 1.30, -12.35, -1.30 ]); $$path( "CONFORMAL_MASK_1", 0.20, , [ -12.35, 1.30, -12.15, 1.50 ]); $$path( "CONFORMAL_MASK_1", 0.20, , [ -12.35, -1.30, -12.15, -1.50 ]); // // Define the two pins on the led_single_smd: // pin #1 is to the left and is the Cathole // pin #2 is to the right and is the Anode // // the axis is horizontal // $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ -1.45, 0.0 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1,led_single_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 1.45, 0.0 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2,led_single_pad");