From fe3c72b6dea3338055f074d342fad006c8dd9238 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 25 Nov 2016 13:30:11 +0100 Subject: [PATCH] Remove duplicate definitions only needed only by old python wizards. No more useful in master branch, since a long time. --- include/pad_shapes.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/include/pad_shapes.h b/include/pad_shapes.h index 18a02ec8f7..d5a171edb3 100644 --- a/include/pad_shapes.h +++ b/include/pad_shapes.h @@ -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 };