// file: varistor_10mm // // date: 18-Mar-2024 Start work on the 10 mm Varistor // // This is the geometry for the V10E95P // 150 Volt DC Varistor used on the DK Board. // // Littelfuse part number: V10E95P // // // This layout will be all metric. // // The long axis of the pin array is horizontal. // // The Center of this geometry is in the center of its pin array. // // Overall external size: 12.5 mm in X by 5.6 mm in Y // // The distance between the 2 leads in X is: 6.5 mm to 8.5 mm // // The distance between the 2 leads in Y is: 1.5 mm to 3.5 mm // // The diameter of the leads is: 0.76 mm to 0.86 mm // // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- // // Varistor Pin Pad-Stack for the High Voltage Varistor Leads // -------------- // // The Varistor leads are 0.76 mm to 0.86 mm in diameter. // // The intent of this Pin Pad-Stack is to: // // Provide enough isolation around the +100 Volt power // in the Main Cable so that there is no problem with voltage // break down to the Ground Planes. // // 1.00 mm drill // 2.00 mm pad land // 2.05 mm soldermask opening // 4.00 mm plane relief // // --> thickness of the donut wall around the pin: 0.50 mm // // --> clearance from edge of drill hole to plane: 1.50 mm // // --> clearance from pad land to plane: 1.00 mm // $$create_pin("Varistor_Pin_THD", @replace); $$page(0.0,0.0,0.0, @mm, 0.0, 0.0, [0.0, 0.0, 'PI$Varistor_Pin_THD']); $$point_mode(@vertex); $$attribute( "TERMINAL_THRUHOLE_DEFINITION", ""); $$attribute( "TERMINAL_DRILL_SIZE", "", , @scale , , [ 1.00, 0.0 ]); $$circle( "PAD", 0.0, 0.0, 2.00, 0.0); $$circle( "SIGNAL", 0.0, 0.0, 2.00, 0.0); $$circle( "SOLDER_MASK", 0.0, 0.0, 2.05, 0.0); $$circle( "POWER", 0.0, 0.0, 4.00, 0.0); //---------------------------------------------------------------------------- // // Now the actual Varistor Geometry // $$create_component("Varistor_THD"); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$Varistor_THD' ] ); $$point_mode(@vertex); $$attribute( "COMPONENT_HEIGHT", "", , @scale , , [ 16.0, 0.0 ]); $$attribute( "COMPONENT_OUTLINE_OVERHANG", "yes"); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); // Setup the Component Placement Outline for this Varistor. $$initial([ 6.25, 3.30 ], , @nosnap ); $$terminal([ -6.25, 3.30 ] ); $$terminal([ -6.25, -3.30 ] ); $$terminal([ 6.25, -3.30 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); // Setup the SilkScreen for this connector. // Silkscreen on the Top Side start in NE corner and go CCW $$template_line_style( @Solid ); $$initial([ 6.50, 3.50 ], , @nosnap ); $$terminal([ -6.50, 3.50 ] ); $$terminal([ -6.50, -3.50 ] ); $$terminal([ 6.50, -3.50 ] ); $$terminal([ 6.50, 3.50 ] ); $$path( "SILKSCREEN_1", 0.20 ); // Reference Designator on the Top Side. $$text( "SILKSCREEN_1", "^$ref", 0.0, -6.3, 2.0, @BC, 0, 1.00, 0.20, "std", "None", 0.0, 0.0 ); // And now some silkscreen on the Bottom Side $$initial([ 6.50, 3.50 ], , @nosnap ); $$terminal([ -6.50, 3.50 ] ); $$terminal([ -6.50, -3.50 ] ); $$terminal([ 6.50, -3.50 ] ); $$terminal([ 6.50, 3.50 ] ); $$path( "SILKSCREEN_2", 0.20 ); // Reference Designator on the Bottom Side. // //$$text( "SILKSCREEN_2", "^$ref", 0.0, -9.0, 2.5, @BC, 0, 1.00, 0.20, "std", "None", 0.0, 0.0 ); // End of Silkscreen // Now define the Pins used on the THD Varistor $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ -4.00, 1.50 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, Varistor_Pin_THD"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 4.00, -1.50 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2, Varistor_Pin_THD");