// // file: led_quad_smd_w_pipe // // Original Rev. 10-Apr-2015 made for the Hub Module // Current Rev. 6-May-2016 adjust SMD pads to match Osram / Avago // // // Geometry for the Quad LED with Light Pipe Mentor series 1296.10x4 // -------------------------- // // // This file is a set of 3 Geometries. Using these three // geometries on can make up the "foot print" for a set // of 8 Osram SMD LED in their 0805 package and the Mentor // 4 column Light Pipe. This light pipe is from the Mentor // series 1296.10x4. I have used "silkscreen" on the // Conformal Mask 1 layer to indicate the outline of the // Mentor light pipe. The 3 geometries are: // // led_quad_plain used in 6 of the 8 locations // led_quad_up_right has drill and light pipe outline 1 use // led_quad_low_left has drill and light pipe outline 1 use // // // Four types of LEDs will be used on the Hub card with // this Mentor Light Pipe. They are: // // Osram: LGR971, LSR976, LYR976 // Avago: HSMR C170 // // These are all 0805 package size and they all have // the same suggested pad layout pattern. Each pad is // 1.20 mm by 1.20 mm with a 0.90 mm open space between. // The full length of the metal (and thus the solder bump) // from this reccomended pad layout is 3.30 mm. // // // The SMD Pads actually used in this set of geometries // come from Mentor's recommended layout and they are // some what different from what Osram / Avago recommend. // // The Mentor recommended layed out calls for SMD pads // that are 1.55 mm in X by 1.10 mm in Y and have // a 0.40 mm clearance space between them. This makes // the overall length for SMD pad metal / solder 2.60 mm. // The pads are spaced at +- 0.75 mm along the Y axis. // // This short length is needed for the LED and the pad // metal and solder to all fit into the black plastic // pipe to pipe seperator that is part of this Mentor // light pipe assembly. // // The layout of this geometry has its long axis vertical. // // // The cathode of this LED is maked with a dot on // its case. // // // Two of the geometries in this file include a 1.50 mm // drill hole for mounting the Mentor light pipe. // // For proper placement on the Hub Module this drill hole // must be 3.80 mm back from the front edge of the PCB. // // These Mentor light pipes have a pitch of 5.08 mm. // // // Define the two pad-stacks for this set of 3 geometries: // // pin #1 is to the Top and is the Cathole // pin #2 is to the Bot and is the Anode // // the axis is vertical // // The center of this geometry will be in the center of // the two SMD pads. Thus this geometries must be placed: // // 3.80 mm - 1.27 mm = 2.53 mm back from the PCB front edge // for right most LED // // 3.80 mm + 1.27 mm = 5.07 mm back from the PCB front edge // for next to right most LED // // 3.80 mm + 3.81 mm = 7.61 mm back from the PCB front edge // for next to left most LED // // 3.80 mm - 6.35 mm = 10.15 mm back from the PCB front edge // for left most LED // // to put the light pipes in the correct location wrt // the front panel. // // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- $$create_pin("led_quad_pad", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'PI$led_quad_pad'] ); $$point_mode(@vertex); $$polygon( "PAD", , [ -0.78, -0.55, 0.78, -0.55, 0.78, 0.55, -0.78, 0.55 ] ); $$polygon( "SOLDER_MASK", , [ -0.83, -0.60, 0.83, -0.60, 0.83, 0.60, -0.83, 0.60 ] ); $$polygon( "PASTE_MASK", , [ -0.78, -0.55, 0.78, -0.55, 0.78, 0.55, -0.78, 0.55 ] ); $$attribute( "TERMINAL_SURFACE_DEFINITION", ""); //---------------------------------------------------------------------------- $$create_component("led_quad_plain", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$led_quad_plain'] ); $$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_quad_plain // $$initial([ -1.10, -1.30 ], , @nosnap ); $$terminal([ -1.10, 1.30 ] ); $$terminal([ 1.10, 1.30 ] ); $$terminal([ 1.10, -1.30 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); // // Silkscreen // $$template_line_style( @Solid ); $$path( "SILKSCREEN", 0.20, , [ -1.10, 1.50, -1.10, -1.50 ]); $$path( "SILKSCREEN", 0.20, , [ 1.10, 1.50, 1.10, -1.50 ]); $$circle( "SILKSCREEN_1", 0.0, 2.1, 0.5, 0.20 ); // // Reference Designator is on the SILKSCREEN layer. // $$text( "SILKSCREEN", "^$ref", 0.0, -2.5, 1.2, @CC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // // Define the two pins on the led_quad_plain: // // pin #1 is to the Top and is the Cathole // pin #2 is to the Bot and is the Anode // // the axis is Vertical // $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ 0.00, 0.75 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1,led_quad_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 0.00, -0.75 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2,led_quad_pad"); // //==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//== ////==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==// // $$create_component("led_quad_up_right", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$led_quad_up_right'] ); $$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_quad_up_right // $$initial([ -1.10, -1.30 ], , @nosnap ); $$terminal([ -1.10, 1.30 ] ); $$terminal([ 1.10, 1.30 ] ); $$terminal([ 1.10, -1.30 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); // // Silkscreen // $$template_line_style( @Solid ); $$path( "SILKSCREEN", 0.20, , [ -1.10, 1.10, -1.10, -1.50 ]); $$path( "SILKSCREEN", 0.20, , [ 1.10, 1.50, 1.10, -1.50 ]); $$circle( "SILKSCREEN_1", 0.0, 2.1, 0.5, 0.20 ); // // Reference Designator is on the SILKSCREEN layer. // $$text( "SILKSCREEN", "^$ref", 0.0, -2.5, 1.2, @CC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // // Define the two pins on the led_quad_up_right: // // pin #1 is to the Top and is the Cathole // pin #2 is to the Bot and is the Anode // // the axis is Vertical // $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ 0.00, 0.75 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1,led_quad_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 0.00, -0.75 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2,led_quad_pad"); // // Add the drill hole for mounting the Light Pipe // $$attribute( "DRILL_DEFINITION_UNPLATED", "1.50", , @scale , , [ -1.27, 2.05 ]); $$circle( "POWER", -1.27, 2.05, 2.00, 0.0 ); // // Now lines on Conformal Mark 1 layer to // indicate the outline of the Light Pipe // $$path( "CONFORMAL_MASK_1", 0.20, , [ -9.13, 1.00, -14.13, 1.00 ]); $$path( "CONFORMAL_MASK_1", 0.20, , [ -9.13, -1.00, -14.13, -1.00 ]); $$path( "CONFORMAL_MASK_1", 0.20, , [ -14.23, 0.90, -14.23, -0.90 ]); $$path( "CONFORMAL_MASK_1", 0.20, , [ -14.23, 0.90, -14.13, 1.00 ]); $$path( "CONFORMAL_MASK_1", 0.20, , [ -14.23, -0.90, -14.13, -1.00 ]); // //==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//== ////==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==// // $$create_component("led_quad_low_left", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$led_quad_low_left'] ); $$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_quad_low_left // $$initial([ -1.10, -1.30 ], , @nosnap ); $$terminal([ -1.10, 1.30 ] ); $$terminal([ 1.10, 1.30 ] ); $$terminal([ 1.10, -1.30 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); // // Silkscreen // $$template_line_style( @Solid ); $$path( "SILKSCREEN", 0.20, , [ -1.10, 1.50, -1.10, -1.50 ]); $$path( "SILKSCREEN", 0.20, , [ 1.10, 1.50, 1.10, -1.10 ]); $$circle( "SILKSCREEN_1", 0.0, 2.1, 0.5, 0.20 ); // // Reference Designator is on the SILKSCREEN layer. // $$text( "SILKSCREEN", "^$ref", 0.0, -2.5, 1.2, @CC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // // Define the two pins on the led_quad_low_left: // // pin #1 is to the Top and is the Cathole // pin #2 is to the Bot and is the Anode // // the axis is Vertical // $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ 0.00, 0.75 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1,led_quad_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 0.00, -0.75 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2,led_quad_pad"); // // Add the drill hole for mounting the Light Pipe // $$attribute( "DRILL_DEFINITION_UNPLATED", "1.50", , @scale , , [ 1.27, -2.05 ]); $$circle( "POWER", 1.27, -2.05, 2.00, 0.0 ); // // Now lines on Conformal Mark 1 layer to // indicate the outline of the Light Pipe // $$path( "CONFORMAL_MASK_1", 0.20, , [ -1.51, 1.00, -6.51, 1.00 ]); $$path( "CONFORMAL_MASK_1", 0.20, , [ -1.51, -1.00, -6.51, -1.00 ]); $$path( "CONFORMAL_MASK_1", 0.20, , [ -6.61, 0.90, -6.61, -0.90 ]); $$path( "CONFORMAL_MASK_1", 0.20, , [ -6.61, 0.90, -6.51, 1.00 ]); $$path( "CONFORMAL_MASK_1", 0.20, , [ -6.61, -0.90, -6.51, -1.00 ]);