// // File: silk_only_rod_geom // // Date: Original Rev. 15-Mar-2015 // // // 18-May-2016 Tried to make a version of this component // without a component outline but that did not // work - Librarian is happy but Layout sees // the no comp outline as a Fatal Error. // // 14-Jun-2016 Add the "Component_not_in_bom" attribute to // Remove all instances of this component from // the BOM. // // 24-Jun-2016 Change the Standoff Mounting Screw Holes from // just SilkScreen to real pins on this component. // I'm making these into real pins so that if Ed // wants them grounded we are setup to do that. // I think that they should be grounded on Hub even // if they float on ROD. These are M3 screws. // // 17-Jan-2017 Change the Standoff Mounting Screw Silkscreen // from solid circle to 0.02 mm circle outline. // // // // // // // ROD Mezzanine Silk Only Geometry // ------------------------------------ // // The purpose of this ROD geometry is to reserve space // in the Hub Module layout for the ROD and this geometry // provides the real mounting screw holes for the standoffs // that support the ROD. // // - Recall that the ROD is 200 mm in X by 100 mm in Y. // // - I will make the 0,0 of this geometry its SW corner. // // - This geometry has a minimal Component Outline in its SW corner. // // - This geom has pins for only the 3 mounting screw holes. // // - This component has the Not in BOM attribute. // // // // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------- // // Pad Stack for the M3 Mounting Screw Holes // // These are M3 screws and I will use 3.2 mm diameter // finished size hole. I will make them an 8.0 mm diameter // pad and a 5 mm plane relief. I will keep the original // 10 mm silkscreen keep out indicator. // // // 3.20 mm drill // 8.00 mm pad land // 8.10 mm soldermask opening // 6.00 mm plane relief // 10.00 mm silkscreen keep out // // --> the thickness of the donut wall is 2.40 mm // --> the relief from drill hol to plane is 1.40 mm $$create_pin("TERM_ROD_M3_SCREW", @replace); $$page(0.0,0.0,0.0, @mm, 0.0, 0.0, [0.0, 0.0, 'PI$TERM_ROD_M3_SCREW']); $$point_mode(@vertex); $$attribute( "TERMINAL_THRUHOLE_DEFINITION", ""); $$attribute( "TERMINAL_DRILL_SIZE", "", , @scale , , [ 3.20, 0.0]); $$circle( "PAD", 0.0, 0.0, 8.00, 0.0 ); $$circle( "SIGNAL", 0.0, 0.0, 8.00, 0.0 ); $$circle( "SOLDER_MASK", 0.0, 0.0, 8.10, 0.0 ); $$circle( "POWER", 0.0, 0.0, 6.00, 0.0 ); $$circle( "SILKSCREEN_1", 0.0, 0.0, 10.00, 0.20 ); $$circle( "SILKSCREEN_2", 0.0, 0.0, 10.00, 0.20 ); //---------------------------------------------------------------------- // // Now start the actual ROD_Silk Geometry // $$create_component("Rod_Silk"); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$Rod_Silk'] ); $$point_mode(@vertex); $$attribute( "COMPONENT_HEIGHT", "", , @scale , , [8.0, 0.0]); $$attribute( "COMPONENT_OUTLINE_OVERHANG", "yes"); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); $$attribute( "COMPONENT_NOT_IN_BOM" ); // // Component Outline // $$initial([ 144.0, 30.0 ], , @nosnap ); $$terminal([ 145.0, 30.0 ]); $$terminal([ 145.0, 31.0 ]); $$terminal([ 144.0, 31.0 ]); $$terminal([ 144.0, 30.0 ]); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); // // Silkscreen Outline then Details // $$template_line_style( @Solid ); $$initial([ 0.0, 0.0 ], , @nosnap ); $$terminal([ 200.0, 0.0 ]); $$terminal([ 200.0, 100.0 ]); $$terminal([ 0.0, 100.0 ]); $$terminal([ 0.0, 0.0 ]); $$path( "SILKSCREEN_1", 0.20 ); // // Add, just in silk for now, the 3 mounting holes. // // The hardwware for the standoffs between ROD and Hub // will be size M3. A normal M3 screw head is 6 mm dia. // A standard M3 washer is 7 mm OD. A standard oversize // M3 washer is 9 mm OD. A M3 nut is 5.5 mm across flats. // //circle( "SILKSCREEN_1", 5.0, 95.0, 2.7, 0.20 ); //circle( "SILKSCREEN_1", 100.0, 5.0, 2.7, 0.20 ); //circle( "SILKSCREEN_1", 195.0, 95.0, 2.7, 0.20 ); // Silkscreen End of // // Reference Designator // $$text( "SILKSCREEN_1", "^$ref", 145.0, 20.0, 3.5, @BC, 0, 0.90, 0.20, "std", "None", 0.0, 0.0 ); // // Now the 3 Mounting Screw Pins // $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ 5.00, 95.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, TERM_ROD_M3_SCREW"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 100.00, 5.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2, TERM_ROD_M3_SCREW"); $$attribute( "COMPONENT_PIN_DEFINITION", "3", , @scale , , [ 195.00, 95.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "3, TERM_ROD_M3_SCREW");