43 table->SetColCount( 4 );
46 [&](
const wxString&
text )
57 [&](
const wxString&
text )
66 addHeaderCell(
_(
"BOARD CHARACTERISTICS" ) );
68 for(
int col = 1; col <
table->GetColCount(); ++col )
70 addHeaderCell( wxEmptyString );
71 table->GetCell( 0, col )->SetColSpan( 0 );
74 addDataCell(
_(
"Copper layer count: " ) );
78 addDataCell(
_(
"Board thickness: " ) );
85 addDataCell(
_(
"Board overall dimensions: " ) );
86 addDataCell( wxString::Format( wxT(
"%s x %s" ),
90 addDataCell( wxEmptyString );
91 addDataCell( wxEmptyString );
93 addDataCell(
_(
"Min track/spacing: " ) );
94 addDataCell( wxString::Format( wxT(
"%s / %s" ),
100 addDataCell(
_(
"Min hole diameter: " ) );
103 addDataCell(
_(
"Copper finish: " ) );
106 addDataCell(
_(
"Impedance control: " ) );
109 addDataCell(
_(
"Castellated pads: " ) );
111 addDataCell( castellated_pad_count ?
_(
"Yes" ) :
_(
"No" ) );
113 addDataCell(
_(
"Press-fit pads: " ) );
115 addDataCell( pressfit_pad_count ?
_(
"Yes" ) :
_(
"No" ) );
117 addDataCell(
_(
"Plated board edge: " ) );
129 addDataCell(
_(
"Edge card connectors: " ) );
135 std::vector<PCB_TABLECELL*> cells_list =
table->GetCells();
136 int cell_to_add_cnt = cells_list.size() %
table->GetColCount();
138 for(
int ii = 0; ii < cell_to_add_cnt; ii++ )
139 addDataCell( wxEmptyString );
141 table->SetStrokeExternal(
false );
142 table->SetStrokeHeaderSeparator(
false );
143 table->SetStrokeColumns(
false );
144 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, 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() const
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
std::vector< std::vector< std::string > > table
VECTOR2< int32_t > VECTOR2I