52 m_NetSettings = std::make_shared<NET_SETTINGS>(
nullptr,
"" );
335 [&]() -> nlohmann::json
337 nlohmann::json ret = {};
341 wxString
name = item.GetSettingsKey();
342 int code = item.GetErrorCode();
352 [&](
const nlohmann::json& aJson )
354 if( !aJson.is_object() )
362 if( aJson.contains(
"hole_near_hole" ) )
367 wxString
name = item.GetSettingsKey();
368 std::string key(
name.ToUTF8() );
370 if( aJson.contains( key ) )
376 [&]() -> nlohmann::json
378 nlohmann::json js = nlohmann::json::array();
385 [&](
const nlohmann::json& aObj )
389 if( !aObj.is_array() )
392 for(
const nlohmann::json& entry : aObj )
394 if( entry.is_array() )
396 wxString serialized = entry[0].get<wxString>();
400 else if( entry.is_string() )
409 [&]() -> nlohmann::json
411 nlohmann::json js = nlohmann::json::array();
418 [&](
const nlohmann::json& aJson )
420 if( !aJson.is_array() )
425 for(
const nlohmann::json& entry : aJson )
436 [&]() -> nlohmann::json
438 nlohmann::json js = nlohmann::json::array();
442 nlohmann::json entry = {};
447 js.push_back( entry );
452 [&](
const nlohmann::json& aObj )
454 if( !aObj.is_array() )
459 for(
const nlohmann::json& entry : aObj )
461 if( entry.empty() || !entry.is_object() )
464 if( !entry.contains(
"diameter" ) || !entry.contains(
"drill" ) )
467 int diameter =
pcbIUScale.mmToIU( entry[
"diameter"].get<double>() );
468 int drill =
pcbIUScale.mmToIU( entry[
"drill"].get<double>() );
476 [&]() -> nlohmann::json
478 nlohmann::json js = nlohmann::json::array();
482 nlohmann::json entry = {};
484 entry[
"width"] =
pcbIUScale.IUTomm( pair.m_Width );
485 entry[
"gap"] =
pcbIUScale.IUTomm( pair.m_Gap );
486 entry[
"via_gap"] =
pcbIUScale.IUTomm( pair.m_ViaGap );
488 js.push_back( entry );
493 [&](
const nlohmann::json& aObj )
495 if( !aObj.is_array() )
500 for(
const nlohmann::json& entry : aObj )
502 if( entry.empty() || !entry.is_object() )
505 if( !entry.contains(
"width" )
506 || !entry.contains(
"gap" )
507 || !entry.contains(
"via_gap" ) )
512 int width =
pcbIUScale.mmToIU( entry[
"width"].get<double>() );
513 int gap =
pcbIUScale.mmToIU( entry[
"gap"].get<double>() );
514 int via_gap =
pcbIUScale.mmToIU( entry[
"via_gap"].get<double>() );
523 [&]() -> nlohmann::json
525 nlohmann::json js = nlohmann::json::array();
526 nlohmann::json entry = {};
534 js.push_back( entry );
538 [&](
const nlohmann::json& aObj )
540 if( !aObj.is_array() )
543 for(
const nlohmann::json& entry : aObj )
545 if( entry.empty() || !entry.is_object() )
548 if( entry.contains(
"td_onvia" ) )
551 if( entry.contains(
"td_onpthpad" ) )
554 if( entry.contains(
"td_onsmdpad" ) )
557 if( entry.contains(
"td_ontrackend" ) )
560 if( entry.contains(
"td_onroundshapesonly" ) )
564 for(
int ii = 0; ii < 3; ++ii )
568 if( entry.contains(
"td_allow_use_two_tracks" ) )
571 if( entry.contains(
"td_curve_segcount" ) )
573 if( entry[
"td_curve_segcount"].get<int>() > 0 )
577 if( entry.contains(
"td_on_pad_in_zone" ) )
586 [&]() -> nlohmann::json
588 nlohmann::json js = nlohmann::json::array();
592 nlohmann::json entry = {};
605 js.push_back( entry );
610 [&](
const nlohmann::json& aObj )
612 if( !aObj.is_array() )
615 for(
const nlohmann::json& entry : aObj )
617 if( entry.empty() || !entry.is_object() )
620 if( !entry.contains(
"td_target_name" ) )
625 if( idx >= 0 && idx < 3 )
629 if( entry.contains(
"td_maxlen" ) )
632 if( entry.contains(
"td_maxheight" ) )
635 if( entry.contains(
"td_length_ratio" ) )
638 if( entry.contains(
"td_height_ratio" ) )
641 if( entry.contains(
"td_curve_segcount" ) )
643 if( entry[
"td_curve_segcount"].get<int>() > 0 )
647 if( entry.contains(
"td_width_to_size_filter_ratio" ) )
650 if( entry.contains(
"td_allow_use_two_tracks" ) )
653 if( entry.contains(
"td_on_pad_in_zone" ) )
661 [&]() -> nlohmann::json
663 nlohmann::json js = {};
668 nlohmann::json entry = {};
670 entry[
"min_amplitude"] =
pcbIUScale.IUTomm( aSettings.m_minAmplitude );
671 entry[
"max_amplitude"] =
pcbIUScale.IUTomm( aSettings.m_maxAmplitude );
672 entry[
"spacing"] =
pcbIUScale.IUTomm( aSettings.m_spacing );
674 entry[
"corner_radius_percentage"] = aSettings.m_cornerRadiusPercentage;
675 entry[
"single_sided"] = aSettings.m_singleSided;
686 [&](
const nlohmann::json& aObj )
693 if( entry.contains(
"min_amplitude" ) )
696 if( entry.contains(
"max_amplitude" ) )
699 if( entry.contains(
"spacing" ) )
702 if( entry.contains(
"corner_style" ) )
708 if( entry.contains(
"corner_radius_percentage" ) )
711 if( entry.contains(
"single_sided" ) )
717 if( aObj.contains(
"single_track_defaults" ) )
720 if( aObj.contains(
"diff_pair_defaults" ) )
723 if( aObj.contains(
"diff_pair_skew_defaults" ) )
735 minStroke, maxStroke,
pcbIUScale.MM_PER_IU ) );
739 minTextSize, maxTextSize,
pcbIUScale.MM_PER_IU ) );
743 minTextSize, maxTextSize,
pcbIUScale.MM_PER_IU ) );
747 minStroke, maxStroke,
pcbIUScale.MM_PER_IU ) );
757 minStroke, maxStroke,
pcbIUScale.MM_PER_IU ) );
761 minTextSize, maxTextSize,
pcbIUScale.MM_PER_IU ) );
765 minTextSize, maxTextSize,
pcbIUScale.MM_PER_IU ) );
769 minStroke, maxStroke,
pcbIUScale.MM_PER_IU ) );
779 minStroke, maxStroke,
pcbIUScale.MM_PER_IU ) );
783 minStroke, maxStroke,
pcbIUScale.MM_PER_IU ) );
787 minStroke, maxStroke,
pcbIUScale.MM_PER_IU ) );
791 minTextSize, maxTextSize,
pcbIUScale.MM_PER_IU ) );
795 minTextSize, maxTextSize,
pcbIUScale.MM_PER_IU ) );
799 minStroke, maxStroke,
pcbIUScale.MM_PER_IU ) );
809 minStroke, maxStroke,
pcbIUScale.MM_PER_IU ) );
813 minTextSize, maxTextSize,
pcbIUScale.MM_PER_IU ) );
817 minTextSize, maxTextSize,
pcbIUScale.MM_PER_IU ) );
821 minStroke, maxStroke,
pcbIUScale.MM_PER_IU ) );
875 [&]() -> nlohmann::json
886 [&](
const nlohmann::json& aJson )
888 if( aJson.contains(
"width" ) && aJson.contains(
"height" )
889 && aJson.contains(
"drill" ) )
892 sz.
x =
pcbIUScale.mmToIU( aJson[
"width"].get<double>() );
893 sz.
y =
pcbIUScale.mmToIU( aJson[
"height"].get<double>() );
897 int drill =
pcbIUScale.mmToIU( aJson[
"drill"].get<double>() );
922 if( std::optional<double> optval =
Get<double>(
"rules.solder_mask_clearance" ) )
925 if( std::optional<double> optval =
Get<double>(
"rules.solder_mask_min_width" ) )
928 if( std::optional<double> optval =
Get<double>(
"rules.solder_paste_clearance" ) )
931 if( std::optional<double> optval =
Get<double>(
"rules.solder_paste_margin_ratio" ) )
936 At(
"rules" ).erase(
"solder_mask_clearance" );
937 At(
"rules" ).erase(
"solder_mask_min_width" );
938 At(
"rules" ).erase(
"solder_paste_clearance" );
939 At(
"rules" ).erase(
"solder_paste_margin_ratio" );
953 m_parent->ReleaseNestedSettings(
this );
1202 std::string units_ptr(
"defaults.dimension_units" );
1203 std::string precision_ptr(
"defaults.dimension_precision" );
1207 &&
At( units_ptr ).is_number_integer()
1208 &&
At( precision_ptr ).is_number_integer() ) )
1214 int units = *
Get<int>( units_ptr );
1215 int precision = *
Get<int>( precision_ptr );
1218 int extraDigits = 0;
1222 case 0: extraDigits = 3;
break;
1223 case 2: extraDigits = 2;
break;
1227 precision += extraDigits;
1229 Set( precision_ptr, precision );
1248 bool migrated =
false;
1251 [](
int aCode ) -> std::string
1253 return std::string(
DRC_ITEM::Create( aCode )->GetSettingsKey().ToUTF8() );
1256 const std::string rs =
"rule_severities.";
1257 const std::string no_courtyard_key =
"legacy_no_courtyard_defined";
1258 const std::string courtyard_overlap_key =
"legacy_courtyards_overlap";
1262 nlohmann::json& severities =
1263 project->Internals()->at(
"/board/design_settings/rule_severities"_json_pointer );
1265 if( severities.contains( no_courtyard_key ) )
1267 if( severities[no_courtyard_key].get<bool>() )
1272 severities.erase( no_courtyard_key );
1276 if( severities.contains( courtyard_overlap_key ) )
1278 if( severities[courtyard_overlap_key].get<bool>() )
1283 severities.erase( courtyard_overlap_key );
1297 project->At(
"legacy" ).erase(
"pcbnew" );
1331 biggest = std::max( biggest, constraint.
Value().
Min() );
1334 biggest = std::max( biggest, constraint.
Value().
Min() );
1337 biggest = std::max( biggest, constraint.
Value().
Min() );
1340 biggest = std::max( biggest, constraint.
Value().
Min() );
1343 biggest = std::max( biggest, constraint.
Value().
Min() );
1374 return m_NetSettings->GetDefaultNetclass()->GetViaDiameter();
1391 return drill > 0 ? drill : -1;
1407 return m_NetSettings->GetDefaultNetclass()->GetTrackWidth();
1430 if(
m_NetSettings->GetDefaultNetclass()->HasDiffPairWidth() )
1431 return m_NetSettings->GetDefaultNetclass()->GetDiffPairWidth();
1433 return m_NetSettings->GetDefaultNetclass()->GetTrackWidth();
1451 return m_NetSettings->GetDefaultNetclass()->GetDiffPairGap();
1470 if(
m_NetSettings->GetDefaultNetclass()->HasDiffPairViaGap() )
1471 return m_NetSettings->GetDefaultNetclass()->GetDiffPairViaGap();
1489 if( aNewLayerCount > 0 )
1500 if( aNewLayerCount > 0 )
1517 LSET copperLayers = aMask;
1539 else if( aLayer ==
F_Fab || aLayer ==
B_Fab )
constexpr int ARC_HIGH_DEF
constexpr EDA_IU_SCALE pcbIUScale
const int bdsSchemaVersion
#define DEFAULT_MICROVIASMINDRILL
#define DEFAULT_SOLDERPASTE_CLEARANCE
#define DEFAULT_SOLDERPASTE_RATIO
#define DEFAULT_CUSTOMDPAIRWIDTH
#define DEFAULT_DP_MEANDER_SPACING
#define DEFAULT_PAD_WIDTH_MM
#define DEFAULT_VIASMINSIZE
#define DEFAULT_PAD_DRILL_DIAMETER_MM
#define DEFAULT_TEXT_WIDTH
#define DEFAULT_COPPER_TEXT_WIDTH
#define DEFAULT_CUSTOMDPAIRGAP
#define DEFAULT_MINCLEARANCE
#define DEFAULT_HOLECLEARANCE
#define DEFAULT_SOLDERMASK_EXPANSION
#define DEFAULT_SOLDERMASK_MIN_WIDTH
#define DEFAULT_DIMENSION_EXTENSION_OFFSET
#define DEFAULT_COPPEREDGECLEARANCE
#define DEFAULT_PAD_HEIGTH_MM
#define DEFAULT_DIMENSION_ARROW_LENGTH
#define DEFAULT_TRACKMINWIDTH
#define DEFAULT_MINTHROUGHDRILL
#define DEFAULT_PAD_RR_RADIUS_RATIO
#define DEFAULT_SILK_TEXT_SIZE
#define MAXIMUM_CLEARANCE
#define DEFAULT_HOLETOHOLEMIN
#define DEFAULT_MINCONNECTION
#define DEFAULT_COPPER_LINE_WIDTH
#define DEFAULT_SILK_LINE_WIDTH
#define DEFAULT_SILKCLEARANCE
#define DEFAULT_MICROVIASMINSIZE
#define DEFAULT_SILK_TEXT_WIDTH
#define DEFAULT_MINGROOVEWIDTH
#define DEFAULT_TEXT_SIZE
#define DEFAULT_EDGE_WIDTH
#define DEFAULT_CUSTOMTRACKWIDTH
#define DEFAULT_CUSTOMDPAIRVIAGAP
#define DEFAULT_COPPER_TEXT_SIZE
#define DEFAULT_SOLDERMASK_TO_COPPER_CLEARANCE
#define DEFAULT_LINE_WIDTH
#define DEFAULT_MEANDER_SPACING
#define DEFAULT_COURTYARD_WIDTH
#define DEFAULT_BOARD_THICKNESS_MM
#define DEFAULT_MINRESOLVEDSPOKES
static const ADVANCED_CFG & GetCfg()
Get the singleton instance's config, which is shared by all consumers.
BASE_SET & set(size_t pos)
DIM_PRECISION m_DimensionPrecision
Number of digits after the decimal.
std::vector< TEXT_ITEM_INFO > m_DefaultFPTextItems
int GetHolePlatingThickness() const
Pad & via drills are finish size.
VIATYPE m_CurrentViaType
(VIA_BLIND_BURIED, VIA_THROUGH, VIA_MICROVIA)
void SetEnabledLayers(const LSET &aMask)
Change the bit-mask of enabled layers to aMask.
std::shared_ptr< NET_SETTINGS > m_NetSettings
bool operator==(const BOARD_DESIGN_SETTINGS &aOther) const
std::map< wxString, wxString > m_DrcExclusionComments
DIM_UNITS_FORMAT m_DimensionUnitsFormat
void initFromOther(const BOARD_DESIGN_SETTINGS &aOther)
int m_CopperEdgeClearance
bool GetTextUpright(PCB_LAYER_ID aLayer) const
std::map< int, SEVERITY > m_DRCSeverities
VECTOR2I m_gridOrigin
origin for grid offsets
int GetTextThickness(PCB_LAYER_ID aLayer) const
Return the default text thickness from the layer class for the given layer.
VECTOR2I m_auxOrigin
origin for plot exports
bool m_TextUpright[LAYER_CLASS_COUNT]
BOARD_DESIGN_SETTINGS(JSON_SETTINGS *aParent, const std::string &aPath)
bool GetTextItalic(PCB_LAYER_ID aLayer) const
int m_MinSilkTextThickness
int GetCurrentViaSize() const
wxString m_currentNetClassName
Current net class name used to display netclass info.
void SetViaSizeIndex(int aIndex)
Set the current via size list index to aIndex.
std::shared_ptr< DRC_ENGINE > m_DRCEngine
bool m_UseConnectedTrackWidth
virtual ~BOARD_DESIGN_SETTINGS()
std::vector< DIFF_PAIR_DIMENSION > m_DiffPairDimensionsList
VIA_DIMENSION m_customViaSize
std::set< wxString > m_DrcExclusions
bool Ignore(int aDRCErrorCode)
Return true if the DRC error code's severity is SEVERITY_IGNORE.
void SetDiffPairIndex(int aIndex)
int m_SolderMaskToCopperClearance
std::map< std::string, wxString > m_UserLayerNames
bool m_TempOverrideTrackWidth
int GetSmallestClearanceValue() const
bool m_AllowSoldermaskBridgesInFPs
std::unique_ptr< PAD > m_Pad_Master
bool m_DimensionSuppressZeroes
TEARDROP_PARAMETERS_LIST m_TeardropParamsList
The parameters of teardrops for the different teardrop targets (via/pad, track end).
void SetDefaultMasterPad()
int GetCurrentDiffPairWidth() const
void SetUserDefinedLayerCount(int aNewLayerCount)
Set the number of user defined layers to aNewLayerCount.
int GetCurrentDiffPairViaGap() const
int GetCurrentDiffPairGap() const
int m_SolderMaskExpansion
int GetDRCEpsilon() const
Return an epsilon which accounts for rounding errors, etc.
int GetBiggestClearanceValue() const
int GetLayerClass(PCB_LAYER_ID aLayer) const
PNS::MEANDER_SETTINGS m_DiffPairMeanderSettings
int GetCurrentTrackWidth() const
int m_boardThickness
Board thickness for 3D viewer.
int m_copperLayerCount
Number of copper layers for this design.
int m_userDefinedLayerCount
Number of user defined layers for this design.
bool LoadFromFile(const wxString &aDirectory="") override
Loads the backing file from disk and then calls Load()
PNS::MEANDER_SETTINGS m_SingleTrackMeanderSettings
void SetTrackWidthIndex(int aIndex)
Set the current track width list index to aIndex.
int m_TextThickness[LAYER_CLASS_COUNT]
ZONE_SETTINGS m_defaultZoneSettings
The default settings that will be used for new zones.
SEVERITY GetSeverity(int aDRCErrorCode)
std::vector< int > m_TrackWidthList
DIFF_PAIR_DIMENSION m_customDiffPair
int m_LineThickness[LAYER_CLASS_COUNT]
bool m_DimensionKeepTextAligned
VECTOR2I GetTextSize(PCB_LAYER_ID aLayer) const
Return the default text size from the layer class for the given layer.
double m_SolderPasteMarginRatio
int GetLineThickness(PCB_LAYER_ID aLayer) const
Return the default graphic segment thickness from the layer class for the given layer.
bool m_UseHeightForLengthCalcs
Enable inclusion of stackup height in track length measurements and length tuning.
int GetCurrentViaDrill() const
VECTOR2I m_TextSize[LAYER_CLASS_COUNT]
PNS::MEANDER_SETTINGS m_SkewMeanderSettings
LSET m_enabledLayers
Bit-mask for layer enabling.
bool m_TextItalic[LAYER_CLASS_COUNT]
void SetCopperLayerCount(int aNewLayerCount)
Set the copper layer count to aNewLayerCount.
DIM_TEXT_POSITION m_DimensionTextPosition
BOARD_STACKUP m_stackup
The description of layers stackup, for board fabrication only physical layers are in layers stackup.
bool m_ZoneKeepExternalFillets
DIM_UNITS_MODE m_DimensionUnitsMode
std::vector< VIA_DIMENSION > m_ViasDimensionsList
int m_ViasMinAnnularWidth
BOARD_DESIGN_SETTINGS & operator=(const BOARD_DESIGN_SETTINGS &aOther)
int m_DimensionExtensionOffset
int m_DimensionArrowLength
MINOPTMAX< int > & Value()
static std::vector< std::reference_wrapper< RC_ITEM > > GetItemsWithSeverities()
static std::shared_ptr< DRC_ITEM > Create(int aErrorCode)
Constructs a DRC_ITEM for the given error code.
void Set(const std::string &aPath, ValueType aVal)
Stores a value into the JSON document Will throw an exception if ValueType isn't something that the l...
bool Contains(const std::string &aPath) const
virtual void Load()
Updates the parameters of this object based on the current JSON document contents.
std::optional< ValueType > Get(const std::string &aPath) const
Fetches a value from within the JSON document.
std::vector< PARAM_BASE * > m_params
The list of parameters (owned by this object)
void registerMigration(int aOldSchemaVersion, int aNewSchemaVersion, std::function< bool(void)> aMigrator)
Registers a migration from one schema version to another.
nlohmann::json & At(const std::string &aPath)
Wrappers for the underlying JSON API so that most consumers don't need json.hpp All of these function...
JSON_SETTINGS(const wxString &aFilename, SETTINGS_LOC aLocation, int aSchemaVersion)
bool m_resetParamsIfMissing
Whether or not to set parameters to their default value if missing from JSON on Load()
LSET is a set of PCB_LAYER_IDs.
LSET & ClearNonCopperLayers()
Clear the non-copper layers in this set.
static LSET UserDefinedLayersMask(int aUserDefinedLayerCount=MAX_USER_DEFINED_LAYERS)
Return a mask with the requested number of user defined layers.
static LSET AllCuMask()
return AllCuMask( MAX_CU_LAYERS );
std::string m_path
The path (in pointer format) of where to store this document in the parent.
JSON_SETTINGS * GetParent()
JSON_SETTINGS * m_parent
A pointer to the parent object to load and store from.
NESTED_SETTINGS(const std::string &aName, int aSchemaVersion, JSON_SETTINGS *aParent, const std::string &aPath, bool aLoadFromFile=true)
bool LoadFromFile(const wxString &aDirectory="") override
Loads the JSON document from the parent and then calls Load()
static constexpr PCB_LAYER_ID ALL_LAYERS
! Temporary layer identifier to identify code that is not padstack-aware
Stores an enum as an integer.
Like a normal param, but with custom getter and setter functions.
Represents a parameter that has a scaling factor between the value in the file and the value used int...
Dimensions for the meandering algorithm.
int m_minAmplitude
Maximum meandering amplitude.
int m_cornerRadiusPercentage
Place meanders on one side.
bool m_singleSided
Initial side when placing meanders at segment.
MEANDER_STYLE m_cornerStyle
Rounding percentage (0 - 100).
int m_maxAmplitude
Meandering period/spacing (see dialog picture for explanation).
int m_spacing
Amplitude/spacing adjustment step.
The backing store for a PROJECT, in JSON format.
A holder for a rule check item, DRC in Pcbnew or ERC in Eeschema.
TEARDROP_PARAMETARS is a helper class to handle parameters needed to build teardrops for a board thes...
double m_BestWidthRatio
The height of a teardrop as ratio between height and size of pad/via.
int m_TdMaxLen
max allowed length for teardrops in IU. <= 0 to disable
bool m_AllowUseTwoTracks
True to create teardrops using 2 track segments if the first in too small.
int m_TdMaxWidth
max allowed height for teardrops in IU. <= 0 to disable
double m_BestLengthRatio
The length of a teardrop as ratio between length and size of pad/via.
double m_WidthtoSizeFilterRatio
The ratio (H/D) between the via/pad size and the track width max value to create a teardrop 1....
bool m_TdOnPadsInZones
A filter to exclude pads inside zone fills.
bool m_CurvedEdges
True if the teardrop should be curved.
@ DRCE_TUNING_PROFILE_IMPLICIT_RULES
@ DRCE_SILK_EDGE_CLEARANCE
@ DRCE_SILK_MASK_CLEARANCE
@ DRCE_MIRRORED_TEXT_ON_FRONT_LAYER
@ DRCE_LIB_FOOTPRINT_ISSUES
@ DRCE_OVERLAPPING_FOOTPRINTS
@ DRCE_SCHEMATIC_FIELDS_PARITY
@ DRCE_MISSING_TUNING_PROFILE
@ DRCE_DRILLED_HOLES_TOO_CLOSE
@ DRCE_FOOTPRINT_TYPE_MISMATCH
@ DRCE_NONMIRRORED_TEXT_ON_BACK_LAYER
@ DRCE_DUPLICATE_FOOTPRINT
@ DRCE_DRILLED_HOLES_COLOCATED
@ DRCE_LIB_FOOTPRINT_MISMATCH
@ EDGE_CLEARANCE_CONSTRAINT
@ HOLE_CLEARANCE_CONSTRAINT
@ PHYSICAL_CLEARANCE_CONSTRAINT
@ HOLE_TO_HOLE_CONSTRAINT
static constexpr EDA_ANGLE ANGLE_90
static constexpr EDA_ANGLE ANGLE_45
#define TEXT_MIN_SIZE_MM
Minimum text size (1 micron).
#define TEXT_MAX_SIZE_MM
Maximum text size in mm (~10 inches)
bool IsCopperLayer(int aLayerId)
Test whether a layer is a copper layer.
PCB_LAYER_ID
A quick note on layer IDs:
@ OUTSIDE
Text appears outside the dimension line (default)
@ INLINE
Text appears in line with the dimension line.
Container to handle a stock of specific differential pairs each with unique track width,...
Container to handle a stock of specific vias each with unique diameter and drill sizes in the BOARD c...
std::string GetTeardropTargetCanonicalName(TARGET_TD aTdType)
TARGET_TD GetTeardropTargetTypeFromCanonicalName(const std::string &aTargetName)
SEVERITY SeverityFromString(const wxString &aSeverity)
wxString SeverityToString(const SEVERITY &aSeverity)
VECTOR2< int32_t > VECTOR2I
#define ZONE_CLEARANCE_MM