KiCad PCB EDA Suite
|
#include <drc/drc_item.h>
#include <base_units.h>
#include <bitmaps.h>
#include <board_commit.h>
#include <board.h>
#include <board_design_settings.h>
#include <footprint.h>
#include <confirm.h>
#include <core/arraydim.h>
#include <convert_basic_shapes_to_polygon.h>
#include <gal/graphics_abstraction_layer.h>
#include <geometry/shape_segment.h>
#include <dialog_pad_properties.h>
#include <dialogs/html_message_box.h>
#include <macros.h>
#include <pad.h>
#include <pcb_base_frame.h>
#include <footprint_edit_frame.h>
#include <pcb_painter.h>
#include <pcbnew_settings.h>
#include <settings/color_settings.h>
#include <view/view_controls.h>
#include <widgets/net_selector.h>
#include <tool/tool_manager.h>
#include <tools/pad_tool.h>
#include <advanced_config.h>
#include <wx/choicdlg.h>
Go to the source code of this file.
Macros | |
#define | PTH_DLG_TYPE 0 |
#define | SMD_DLG_TYPE 1 |
#define | CONN_DLG_TYPE 2 |
#define | NPTH_DLG_TYPE 3 |
#define | APERTURE_DLG_TYPE 4 |
#define | SELECTED_ITEMS_LAYER Dwgs_User |
Functions | |
static bool | PadHasMeaningfulRoundingRadius (const PAD &aPad, PCB_LAYER_ID aLayer) |
Returns true if the pad's rounding ratio is valid (i.e. | |
static double | GetDefaultIpcRoundingRatio (const PAD &aPad, PCB_LAYER_ID aLayer) |
Get a sensible default for a rounded rectangle pad's rounding ratio. | |
Variables | |
static PAD_SHAPE | code_shape [] |
static PAD_ATTRIB | code_type [] |
#define APERTURE_DLG_TYPE 4 |
Definition at line 106 of file dialog_pad_properties.cpp.
#define CONN_DLG_TYPE 2 |
Definition at line 104 of file dialog_pad_properties.cpp.
#define NPTH_DLG_TYPE 3 |
Definition at line 105 of file dialog_pad_properties.cpp.
#define PTH_DLG_TYPE 0 |
Definition at line 102 of file dialog_pad_properties.cpp.
#define SELECTED_ITEMS_LAYER Dwgs_User |
#define SMD_DLG_TYPE 1 |
Definition at line 103 of file dialog_pad_properties.cpp.
enum CODE_CHOICE |
Definition at line 76 of file dialog_pad_properties.cpp.
|
static |
Get a sensible default for a rounded rectangle pad's rounding ratio.
According to IPC-7351C, this is 25%, or 0.25mm, whichever is smaller
Definition at line 125 of file dialog_pad_properties.cpp.
References PAD::GetSize(), EDA_IU_SCALE::mmToIU(), pcbIUScale, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by DIALOG_PAD_PROPERTIES::OnPadShapeSelection().
|
static |
Returns true if the pad's rounding ratio is valid (i.e.
the pad has a shape where that is meaningful)
Definition at line 113 of file dialog_pad_properties.cpp.
References CHAMFERED_RECT, PAD::GetShape(), and ROUNDRECT.
Referenced by DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES().
|
static |
Definition at line 60 of file dialog_pad_properties.cpp.
Referenced by DIALOG_PAD_PROPERTIES::transferDataToPad().
|
static |
Definition at line 90 of file dialog_pad_properties.cpp.
Referenced by DIALOG_PAD_PROPERTIES::transferDataToPad().