|
KiCad PCB EDA Suite
|
#include <utility>#include <convert_basic_shapes_to_polygon.h>#include "padstack.h"#include <api/api_enums.h>#include <api/api_utils.h>#include <api/api_pcb_utils.h>#include <api/board/board_types.pb.h>#include <board_design_settings.h>#include <board_stackup_manager/board_stackup.h>#include <layer_range.h>#include <macros.h>#include <magic_enum.hpp>#include <pad.h>#include <board.h>#include <pcb_shape.h>#include <properties/property.h>#include <properties/property_mgr.h>Go to the source code of this file.
Macros | |
| #define | TEST(a, b) |
| #define | TEST_OPT(a, b, v) |
| #define | TEST_OPT_ORIENTATION(a, b, v) |
Functions | |
| IMPLEMENT_ENUM_TO_WXANY (PAD_DRILL_POST_MACHINING_MODE) | |
| IMPLEMENT_ENUM_TO_WXANY (BACKDRILL_MODE) | |
| IMPLEMENT_ENUM_TO_WXANY (UNCONNECTED_LAYER_MODE) | |
| static int | effectiveDrillDiameter (const VECTOR2I &aSize) |
| static int | surfaceKnockout (const BOARD_STACKUP &aStackup, const PADSTACK::POST_MACHINING_PROPS &aProps, PCB_LAYER_ID aSurface, PCB_LAYER_ID aLayer) |
| #define TEST | ( | a, | |
| b ) |
Definition at line 1529 of file padstack.cpp.
| #define TEST_OPT | ( | a, | |
| b, | |||
| v ) |
Definition at line 1830 of file padstack.cpp.
Referenced by PADSTACK::COPPER_LAYER_PROPS::Compare(), PADSTACK::DRILL_PROPS::Compare(), PADSTACK::MASK_LAYER_PROPS::Compare(), and PADSTACK::POST_MACHINING_PROPS::Compare().
| #define TEST_OPT_ORIENTATION | ( | a, | |
| b, | |||
| v ) |
Definition at line 1838 of file padstack.cpp.
Referenced by PADSTACK::COPPER_LAYER_PROPS::Compare().
|
static |
Definition at line 1379 of file padstack.cpp.
References VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PADSTACK::MachiningKnockout().
| IMPLEMENT_ENUM_TO_WXANY | ( | BACKDRILL_MODE | ) |
| IMPLEMENT_ENUM_TO_WXANY | ( | PAD_DRILL_POST_MACHINING_MODE | ) |
| IMPLEMENT_ENUM_TO_WXANY | ( | UNCONNECTED_LAYER_MODE | ) |
|
static |
Definition at line 1385 of file padstack.cpp.
References PADSTACK::POST_MACHINING_PROPS::angle, COUNTERSINK, PADSTACK::POST_MACHINING_PROPS::depth, BOARD_STACKUP::GetLayerDistance(), M_PI, PADSTACK::POST_MACHINING_PROPS::mode, NOT_POST_MACHINED, PADSTACK::POST_MACHINING_PROPS::size, and UNKNOWN.
Referenced by PADSTACK::PostMachiningKnockout().