44 table->SetColCount( 4 );
47 [&](
const wxString&
text )
58 [&](
const wxString&
text )
67 addHeaderCell(
_(
"BOARD CHARACTERISTICS" ) );
69 for(
int col = 1; col <
table->GetColCount(); ++col )
71 addHeaderCell( wxEmptyString );
72 table->GetCell( 0, col )->SetColSpan( 0 );
75 addDataCell(
_(
"Copper layer count: " ) );
79 addDataCell(
_(
"Board thickness: " ) );
86 addDataCell(
_(
"Board overall dimensions: " ) );
87 addDataCell( wxString::Format( wxT(
"%s x %s" ),
91 addDataCell( wxEmptyString );
92 addDataCell( wxEmptyString );
94 addDataCell(
_(
"Min track/spacing: " ) );
95 addDataCell( wxString::Format( wxT(
"%s / %s" ),
101 addDataCell(
_(
"Min hole diameter: " ) );
104 addDataCell(
_(
"Copper finish: " ) );
107 addDataCell(
_(
"Impedance control: " ) );
110 addDataCell(
_(
"Castellated pads: " ) );
112 addDataCell( castellated_pad_count ?
_(
"Yes" ) :
_(
"No" ) );
114 addDataCell(
_(
"Press-fit pads: " ) );
116 addDataCell( pressfit_pad_count ?
_(
"Yes" ) :
_(
"No" ) );
118 addDataCell(
_(
"Plated board edge: " ) );
130 addDataCell(
_(
"Edge card connectors: " ) );
136 std::vector<PCB_TABLECELL*> cells_list =
table->GetCells();
137 int cell_to_add_cnt = cells_list.size() %
table->GetColCount();
139 for(
int ii = 0; ii < cell_to_add_cnt; ii++ )
140 addDataCell( wxEmptyString );
142 table->SetStrokeExternal(
false );
143 table->SetStrokeHeaderSeparator(
false );
144 table->SetStrokeColumns(
false );
145 table->SetStrokeRows(
false );
constexpr EDA_IU_SCALE pcbIUScale
constexpr EDA_IU_SCALE unityScale
PCB_TABLE * Build_Board_Characteristics_Table(BOARD *aBoard, EDA_UNITS aDisplayUnits)
#define DEFAULT_LINE_WIDTH
@ BS_EDGE_CONNECTOR_BEVELLED
@ BS_EDGE_CONNECTOR_IN_USE
void ComputeBoardStatistics(BOARD *aBoard, const BOARD_STATISTICS_OPTIONS &aOptions, BOARD_STATISTICS_DATA &aData)
Container for design settings for a BOARD object.
BOARD_STACKUP & GetStackupDescriptor()
int GetCopperLayerCount() const
Manage layers needed to make a physical board.
bool SynchronizeWithBoard(const BOARD_DESIGN_SETTINGS *aSettings)
Synchronize the BOARD_STACKUP_ITEM* list with the board.
bool m_HasDielectricConstrains
True if some layers have impedance controlled tracks or have specific constrains for micro-wave appli...
bool m_EdgePlating
True if the edge board is plated.
BS_EDGE_CONNECTOR_CONSTRAINTS m_EdgeConnectorConstraints
If the board has edge connector cards, some constrains can be specified in job file: BS_EDGE_CONNECTO...
wxString m_FinishType
The name of external copper finish.
Information pertinent to a Pcbnew printed circuit board.
bool GetBoardPolygonOutlines(SHAPE_POLY_SET &aOutlines, bool aInferOutlineIfNecessary, OUTLINE_ERROR_HANDLER *aErrorHandler=nullptr, bool aAllowUseArcsInPolygons=false, bool aIncludeNPTHAsOutlines=false)
Extract the board outlines and build a closed polygon from lines, arcs and circle items on edge cut l...
int GetPadWithCastellatedAttrCount()
int GetPadWithPressFitAttrCount()
BOARD_DESIGN_SETTINGS & GetDesignSettings()
constexpr size_type GetWidth() const
constexpr size_type GetHeight() const
virtual void SetText(const wxString &aText)
void SetColSpan(int aSpan)
void SetTextThickness(int aWidth) override
The TextThickness is that set by the user.
void SetTextSize(VECTOR2I aNewSize, bool aEnforceMinTextSize=true) override
Represent a set of closed polygons.
const BOX2I BBox(int aClearance=0) const override
Compute a bounding box of the shape, with a margin of aClearance a collision.
wxString MessageTextFromValue(double aValue, bool aAddUnitLabel=true, EDA_DATA_TYPE aType=EDA_DATA_TYPE::DISTANCE) const
A lower-precision version of StringFromValue().
KICOMMON_API wxString StringFromValue(const EDA_IU_SCALE &aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=false, EDA_DATA_TYPE aType=EDA_DATA_TYPE::DISTANCE)
Return the string from aValue according to aUnits (inch, mm ...) for display.
int minClearanceTrackToTrack
VECTOR2< int32_t > VECTOR2I