Remove duplicate definitions only needed only by old python wizards. No more useful in master branch, since a long time.

This commit is contained in:
jean-pierre charras 2016-11-25 13:30:11 +01:00
parent 6d7f0b45f4
commit fe3c72b6de
1 changed files with 1 additions and 7 deletions

View File

@ -27,16 +27,12 @@
/**
* Enum PAD_SHAPE_T
* is the set of pad shapes, used with D_PAD::{Set,Get}Shape()
* The double name is for compatibility with old Python scripts
*/
enum PAD_SHAPE_T
{
PAD_SHAPE_CIRCLE,
PAD_CIRCLE = PAD_SHAPE_CIRCLE,
PAD_SHAPE_RECT,
PAD_RECT = PAD_SHAPE_RECT,
PAD_SHAPE_OVAL,
PAD_OVAL = PAD_SHAPE_OVAL,
PAD_SHAPE_TRAPEZOID,
PAD_SHAPE_ROUNDRECT,
};
@ -60,14 +56,12 @@ enum PAD_DRILL_SHAPE_T
enum PAD_ATTR_T
{
PAD_ATTRIB_STANDARD, ///< Usual pad
PAD_STANDARD = PAD_ATTRIB_STANDARD,
PAD_ATTRIB_SMD, ///< Smd pad, appears on the solder paste layer (default)
PAD_SMD = PAD_ATTRIB_SMD,
PAD_ATTRIB_CONN, ///< Like smd, does not appear on the solder paste layer (default)
///< note also has a special attribute in Gerber X files
///< Used for edgecard connectors for instance
PAD_ATTRIB_HOLE_NOT_PLATED, ///< like PAD_STANDARD, but not plated
///< mechanical use only, no connection allowed
PAD_HOLE_NOT_PLATED = PAD_ATTRIB_HOLE_NOT_PLATED
};