2008-08-11 11:45:29 +00:00
|
|
|
/******************/
|
|
|
|
/* pad_shapes.h */
|
|
|
|
/******************/
|
2008-01-05 17:20:13 +00:00
|
|
|
|
|
|
|
#ifndef PAD_SHAPES_H_
|
|
|
|
#define PAD_SHAPES_H_
|
|
|
|
|
2012-02-19 04:02:19 +00:00
|
|
|
/**
|
|
|
|
* Enum PAD_SHAPE_T
|
|
|
|
* is the set of pad shapes, used with D_PAD::{Set,Get}Shape()
|
|
|
|
*/
|
|
|
|
enum PAD_SHAPE_T
|
|
|
|
{
|
|
|
|
PAD_CIRCLE,
|
|
|
|
PAD_ROUND = PAD_CIRCLE,
|
2015-07-28 13:05:47 +00:00
|
|
|
PAD_SHAPE_CIRCLE = PAD_CIRCLE,
|
2012-02-19 04:02:19 +00:00
|
|
|
PAD_RECT,
|
2015-07-28 13:05:47 +00:00
|
|
|
PAD_SHAPE_RECT = PAD_RECT,
|
2012-02-19 04:02:19 +00:00
|
|
|
PAD_OVAL,
|
2015-07-28 13:05:47 +00:00
|
|
|
PAD_SHAPE_OVAL = PAD_OVAL,
|
|
|
|
PAD_TRAPEZOID,
|
|
|
|
PAD_SHAPE_TRAPEZOID = PAD_TRAPEZOID
|
2014-01-26 14:20:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum PAD_DRILL_SHAPE_T
|
|
|
|
* is the set of pad dtill shapes, used with D_PAD::{Set,Get}DrillShape()
|
2015-07-28 13:05:47 +00:00
|
|
|
* The double name is for convenience of Python devs
|
2014-01-26 14:20:58 +00:00
|
|
|
*/
|
|
|
|
enum PAD_DRILL_SHAPE_T
|
|
|
|
{
|
|
|
|
PAD_DRILL_CIRCLE,
|
2015-07-28 13:05:47 +00:00
|
|
|
PAD_DRILL_SHAPE_CIRCLE = PAD_DRILL_CIRCLE,
|
|
|
|
PAD_DRILL_OBLONG,
|
|
|
|
PAD_DRILL_SHAPE_OBLONG = PAD_DRILL_OBLONG
|
2012-02-19 04:02:19 +00:00
|
|
|
};
|
2008-01-05 17:20:13 +00:00
|
|
|
|
|
|
|
|
2012-02-19 04:02:19 +00:00
|
|
|
/**
|
|
|
|
* Enum PAD_ATTR_T
|
|
|
|
* is the set of pad shapes, used with D_PAD::{Set,Get}Attribute()
|
2015-07-28 13:05:47 +00:00
|
|
|
* The double name is for convenience of Python devs
|
2012-02-19 04:02:19 +00:00
|
|
|
*/
|
|
|
|
enum PAD_ATTR_T
|
|
|
|
{
|
|
|
|
PAD_STANDARD, ///< Usual pad
|
2015-07-28 13:05:47 +00:00
|
|
|
PAD_ATTRIB_STANDARD = PAD_STANDARD,
|
2012-02-19 04:02:19 +00:00
|
|
|
PAD_SMD, ///< Smd pad, appears on the solder paste layer (default)
|
2015-07-28 13:05:47 +00:00
|
|
|
PAD_ATTRIB_SMD = PAD_SMD,
|
2012-02-19 04:02:19 +00:00
|
|
|
PAD_CONN, ///< Like smd, does not appear on the solder paste layer (default)
|
2015-07-28 13:05:47 +00:00
|
|
|
PAD_ATTRIB_CONN = PAD_CONN,
|
2012-02-19 04:02:19 +00:00
|
|
|
PAD_HOLE_NOT_PLATED, ///< like PAD_STANDARD, but not plated
|
|
|
|
///< mechanical use only, no connection allowed
|
2015-07-28 13:05:47 +00:00
|
|
|
PAD_ATTRIB_HOLE_NOT_PLATED = PAD_HOLE_NOT_PLATED
|
2012-02-19 04:02:19 +00:00
|
|
|
};
|
2008-01-05 17:20:13 +00:00
|
|
|
|
|
|
|
|
2012-02-19 04:02:19 +00:00
|
|
|
#endif // PAD_SHAPES_H_
|