47 table->SetColCount( 4 );
50 [&](
const wxString&
text )
61 [&](
const wxString&
text )
70 addHeaderCell(
_(
"BOARD CHARACTERISTICS" ) );
72 for(
int col = 1; col <
table->GetColCount(); ++col )
74 addHeaderCell( wxEmptyString );
75 table->GetCell( 0, col )->SetColSpan( 0 );
78 addDataCell(
_(
"Copper layer count: " ) );
82 addDataCell(
_(
"Board thickness: " ) );
89 addDataCell(
_(
"Board overall dimensions: " ) );
90 addDataCell( wxString::Format( wxT(
"%s x %s" ),
94 addDataCell( wxEmptyString );
95 addDataCell( wxEmptyString );
97 addDataCell(
_(
"Min track/spacing: " ) );
98 addDataCell( wxString::Format( wxT(
"%s / %s" ),
104 addDataCell(
_(
"Min hole diameter: " ) );
107 addDataCell(
_(
"Copper finish: " ) );
110 addDataCell(
_(
"Impedance control: " ) );
113 addDataCell(
_(
"Castellated pads: " ) );
115 addDataCell( castellated_pad_count ?
_(
"Yes" ) :
_(
"No" ) );
117 addDataCell(
_(
"Press-fit pads: " ) );
119 addDataCell( pressfit_pad_count ?
_(
"Yes" ) :
_(
"No" ) );
121 addDataCell(
_(
"Plated board edge: " ) );
133 addDataCell(
_(
"Edge card connectors: " ) );
139 std::vector<PCB_TABLECELL*> cells_list =
table->GetCells();
140 int cell_to_add_cnt = cells_list.size() %
table->GetColCount();
142 for(
int ii = 0; ii < cell_to_add_cnt; ii++ )
143 addDataCell( wxEmptyString );
145 table->SetStrokeExternal(
false );
146 table->SetStrokeHeaderSeparator(
false );
147 table->SetStrokeColumns(
false );
148 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(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, 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() const
constexpr size_type GetWidth() const
constexpr size_type GetHeight() const
void SetTextSize(VECTOR2I aNewSize, bool aEnforceMinTextSize=true)
void SetTextThickness(int aWidth)
The TextThickness is that set by the user.
virtual void SetText(const wxString &aText)
void SetColSpan(int aSpan)
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