23#include <api/board/board.pb.h>
24#include <api/board/board_types.pb.h>
25#include <api/board/board_commands.pb.h>
26#include <api/board/board_jobs.pb.h>
27#include <api/common/types/enums.pb.h>
57using namespace kiapi::board::commands;
58using namespace kiapi::board::jobs;
71 wxCHECK_MSG(
false, types::PadType::PT_UNKNOWN,
72 "Unhandled case in ToProtoEnum<PAD_ATTRIB>");
82 case types::PadType::PT_UNKNOWN:
90 "Unhandled case in FromProtoEnum<types::PadType>" );
103 wxCHECK_MSG(
false, types::DrillShape::DS_UNKNOWN,
104 "Unhandled case in ToProtoEnum<PAD_DRILL_SHAPE>");
115 case types::DrillShape::DS_UNKNOWN:
119 "Unhandled case in FromProtoEnum<types::DrillShape>" );
137 wxCHECK_MSG(
false, types::PadStackShape::PSS_UNKNOWN,
138 "Unhandled case in ToProtoEnum<PAD_SHAPE>");
148 case types::PadStackShape::PSS_UNKNOWN:
159 "Unhandled case in FromProtoEnum<types::PadStackShape>" );
174 wxCHECK_MSG(
false, types::PadStackType::PST_UNKNOWN,
175 "Unhandled case in ToProtoEnum<PADSTACK::MODE>");
185 case types::PadStackType::PST_UNKNOWN:
192 "Unhandled case in FromProtoEnum<types::PadStackType>" );
208 wxCHECK_MSG(
false, types::ViaType::VT_UNKNOWN,
209 "Unhandled case in ToProtoEnum<VIATYPE>");
219 case types::ViaType::VT_UNKNOWN:
228 "Unhandled case in FromProtoEnum<types::ViaType>" );
245 wxCHECK_MSG(
false, types::ZoneConnectionStyle::ZCS_UNKNOWN,
246 "Unhandled case in ToProtoEnum<ZONE_CONNECTION>");
265 "Unhandled case in FromProtoEnum<types::ZoneConnectionStyle>" );
314 return CustomRuleConstraintType::CRCT_NET_CHAIN_STUB_LENGTH;
316 return CustomRuleConstraintType::CRCT_NET_CHAIN_RETURN_PATH;
319 wxCHECK_MSG(
false, CustomRuleConstraintType::CRCT_UNKNOWN,
320 "Unhandled case in ToProtoEnum<DRC_CONSTRAINT_T>" );
373 "Unhandled case in FromProtoEnum<CustomRuleConstraintType>" );
388 wxCHECK_MSG(
false, CustomRuleConstraintOption::CRCO_UNKNOWN,
389 "Unhandled case in ToProtoEnum<DRC_CONSTRAINT::OPTIONS>" );
399 case CustomRuleConstraintOption::CRCO_SKEW_WITHIN_DIFF_PAIRS:
402 case CustomRuleConstraintOption::CRCO_SPACE_DOMAIN:
405 case CustomRuleConstraintOption::CRCO_TIME_DOMAIN:
408 case CustomRuleConstraintOption::CRCO_UNKNOWN:
411 "Unhandled case in FromProtoEnum<CustomRuleConstraintOption>" );
434 wxCHECK_MSG(
false, CustomRuleDisallowType::CRDT_UNKNOWN,
435 "Unhandled case in ToProtoEnum<DRC_DISALLOW_T>" );
457 case CustomRuleDisallowType::CRDT_UNKNOWN:
460 "Unhandled case in FromProtoEnum<CustomRuleDisallowType>" );
471 return types::UnconnectedLayerRemoval::ULR_KEEP;
474 return types::UnconnectedLayerRemoval::ULR_REMOVE;
477 return types::UnconnectedLayerRemoval::ULR_REMOVE_EXCEPT_START_AND_END;
480 return types::UnconnectedLayerRemoval::ULR_START_END_ONLY;
483 wxCHECK_MSG(
false, types::UnconnectedLayerRemoval::ULR_UNKNOWN,
484 "Unhandled case in ToProtoEnum<PADSTACK::UNCONNECTED_LAYER_MODE>");
494 case types::UnconnectedLayerRemoval::ULR_UNKNOWN:
495 case types::UnconnectedLayerRemoval::ULR_KEEP:
498 case types::UnconnectedLayerRemoval::ULR_REMOVE:
501 case types::UnconnectedLayerRemoval::ULR_REMOVE_EXCEPT_START_AND_END:
504 case types::UnconnectedLayerRemoval::ULR_START_END_ONLY:
509 "Unhandled case in FromProtoEnum<types::UnconnectedLayerRemoval>");
524 wxCHECK_MSG(
false, types::IslandRemovalMode::IRM_UNKNOWN,
525 "Unhandled case in ToProtoEnum<ISLAND_REMOVAL_MODE>");
535 case types::IslandRemovalMode::IRM_UNKNOWN:
542 "Unhandled case in FromProtoEnum<types::IslandRemovalMode>" );
557 wxCHECK_MSG(
false, types::ZoneFillMode::ZFM_UNKNOWN,
558 "Unhandled case in ToProtoEnum<ZONE_FILL_MODE>");
568 case types::ZoneFillMode::ZFM_UNKNOWN:
575 "Unhandled case in FromProtoEnum<types::ZoneFillMode>" );
590 wxCHECK_MSG(
false, types::ThievingPattern::TP_UNKNOWN,
591 "Unhandled case in ToProtoEnum<THIEVING_PATTERN>" );
601 case types::ThievingPattern::TP_UNKNOWN:
608 "Unhandled case in FromProtoEnum<types::ThievingPattern>" );
624 wxCHECK_MSG(
false, types::ZoneBorderStyle::ZBS_UNKNOWN,
625 "Unhandled case in ToProtoEnum<ZONE_BORDER_DISPLAY_STYLE>");
637 case types::ZoneBorderStyle::ZBS_UNKNOWN:
643 "Unhandled case in FromProtoEnum<types::ZoneHatchBorderMode>" );
654 return types::PlacementRuleSourceType::PRST_SHEET_NAME;
657 return types::PlacementRuleSourceType::PRST_COMPONENT_CLASS;
660 return types::PlacementRuleSourceType::PRST_GROUP;
663 return types::PlacementRuleSourceType::PRST_DESIGN_BLOCK;
666 wxCHECK_MSG(
false, types::PlacementRuleSourceType::PRST_UNKNOWN,
667 "Unhandled case in ToProtoEnum<PLACEMENT_SOURCE_T>");
677 case types::PlacementRuleSourceType::PRST_UNKNOWN:
678 case types::PlacementRuleSourceType::PRST_SHEET_NAME:
681 case types::PlacementRuleSourceType::PRST_COMPONENT_CLASS:
684 case types::PlacementRuleSourceType::PRST_GROUP:
687 case types::PlacementRuleSourceType::PRST_DESIGN_BLOCK:
692 "Unhandled case in FromProtoEnum<types::PlacementRuleSourceType>" );
708 wxCHECK_MSG(
false, types::TeardropType::TDT_UNKNOWN,
709 "Unhandled case in ToProtoEnum<TEARDROP_TYPE>");
719 case types::TeardropType::TDT_UNKNOWN:
727 "Unhandled case in FromProtoEnum<types::ZoneHatchBorderMode>" );
737 case TARGET_ROUND:
return kiapi::board::TeardropTarget::TDT_ROUND;
738 case TARGET_RECT:
return kiapi::board::TeardropTarget::TDT_RECT;
739 case TARGET_TRACK:
return kiapi::board::TeardropTarget::TDT_TRACK;
742 wxCHECK_MSG(
false, kiapi::board::TeardropTarget::TDT_UNKNOWN,
743 "Unhandled case in ToProtoEnum<TARGET_TD>" );
753 case kiapi::board::TeardropTarget::TDT_ROUND:
return TARGET_ROUND;
754 case kiapi::board::TeardropTarget::TDT_RECT:
return TARGET_RECT;
755 case kiapi::board::TeardropTarget::TDT_TRACK:
return TARGET_TRACK;
757 case kiapi::board::TeardropTarget::TDT_UNKNOWN:
775 wxCHECK_MSG(
false, types::DimensionTextBorderStyle::DTBS_UNKNOWN,
776 "Unhandled case in ToProtoEnum<DIM_TEXT_BORDER>");
786 case types::DimensionTextBorderStyle::DTBS_UNKNOWN:
794 "Unhandled case in FromProtoEnum<types::DimensionTextBorderStyle>" );
809 wxCHECK_MSG(
false, types::DimensionUnitFormat::DUF_UNKNOWN,
810 "Unhandled case in ToProtoEnum<DIM_UNITS_FORMAT>");
820 case types::DimensionUnitFormat::DUF_UNKNOWN:
827 "Unhandled case in FromProtoEnum<types::DimensionUnitFormat>" );
841 wxCHECK_MSG(
false, types::DimensionArrowDirection::DAD_UNKNOWN,
842 "Unhandled case in ToProtoEnum<DIM_ARROW_DIRECTION>");
853 case types::DimensionArrowDirection::DAD_UNKNOWN:
858 "Unhandled case in FromProtoEnum<types::DimensionArrowDirection>" );
880 wxCHECK_MSG(
false, types::DimensionPrecision::DP_UNKNOWN,
881 "Unhandled case in ToProtoEnum<DIM_PRECISION>");
897 case types::DimensionPrecision::DP_UNKNOWN:
905 "Unhandled case in FromProtoEnum<types::DimensionPrecision>" );
920 wxCHECK_MSG(
false, types::DimensionTextPosition::DTP_UNKNOWN,
921 "Unhandled case in ToProtoEnum<DIM_TEXT_POSITION>");
931 case types::DimensionTextPosition::DTP_UNKNOWN:
938 "Unhandled case in FromProtoEnum<types::DimensionTextPosition>" );
954 wxCHECK_MSG(
false, types::DimensionUnit::DU_UNKNOWN,
955 "Unhandled case in ToProtoEnum<DIM_UNITS_MODE>");
968 case types::DimensionUnit::DU_UNKNOWN:
973 "Unhandled case in FromProtoEnum<types::DimensionUnit>" );
988 wxCHECK_MSG(
false, commands::InactiveLayerDisplayMode::ILDM_NORMAL,
989 "Unhandled case in ToProtoEnum<HIGH_CONTRAST_MODE>");
1001 case commands::InactiveLayerDisplayMode::ILDM_UNKNOWN:
1006 "Unhandled case in FromProtoEnum<commands::InactiveLayerDisplayMode>" );
1021 wxCHECK_MSG(
false, commands::NetColorDisplayMode::NCDM_UNKNOWN,
1022 "Unhandled case in ToProtoEnum<NET_COLOR_MODE>");
1034 case commands::NetColorDisplayMode::NCDM_UNKNOWN:
1039 "Unhandled case in FromProtoEnum<commands::NetColorDisplayMode>" );
1053 wxCHECK_MSG(
false, commands::RatsnestDisplayMode::RDM_UNKNOWN,
1054 "Unhandled case in ToProtoEnum<RATSNEST_MODE>");
1065 case commands::RatsnestDisplayMode::RDM_UNKNOWN:
1070 "Unhandled case in FromProtoEnum<commands::RatsnestDisplayMode>" );
1088 wxCHECK_MSG(
false, BoardStackupLayerType::BSLT_UNKNOWN,
1089 "Unhandled case in ToProtoEnum<BOARD_STACKUP_ITEM_TYPE>");
1108 "Unhandled case in FromProtoEnum<BoardStackupLayerType>" );
1127 wxCHECK_MSG(
false, DrcSeverity::DRS_UNDEFINED,
1128 "Unhandled case in ToProtoEnum<SEVERITY>");
1145 case DrcSeverity::DRS_UNKNOWN:
1161 wxCHECK_MSG(
false, PlotDrillMarks::PDM_UNKNOWN,
1162 "Unhandled case in ToProtoEnum<DRILL_MARKS>" );
1175 case PlotDrillMarks::PDM_UNKNOWN:
1198 wxCHECK_MSG(
false, Board3DFormat::B3D_UNKNOWN,
1199 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_3D::FORMAT>" );
1219 case Board3DFormat::B3D_UNKNOWN:
1236 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1237 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_3D::VRML_UNITS>" );
1251 case kiapi::common::types::Units::U_UNKNOWN:
1266 wxCHECK_MSG(
false, RenderFormat::RF_UNKNOWN,
1267 "Unhandled case in ToProtoEnum<JOB_PCB_RENDER::FORMAT>" );
1279 case RenderFormat::RF_UNKNOWN:
1296 wxCHECK_MSG(
false, RenderQuality::RQ_UNKNOWN,
1297 "Unhandled case in ToProtoEnum<JOB_PCB_RENDER::QUALITY>" );
1311 case RenderQuality::RQ_UNKNOWN:
1327 wxCHECK_MSG(
false, RenderBackgroundStyle::RBS_UNKNOWN,
1328 "Unhandled case in ToProtoEnum<JOB_PCB_RENDER::BG_STYLE>" );
1341 case RenderBackgroundStyle::RBS_UNKNOWN:
1360 wxCHECK_MSG(
false, RenderSide::RS_UNKNOWN,
1361 "Unhandled case in ToProtoEnum<JOB_PCB_RENDER::SIDE>" );
1377 case RenderSide::RS_UNKNOWN:
1392 wxCHECK_MSG(
false, BoardJobPaginationMode::BJPM_UNKNOWN,
1393 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_SVG::GEN_MODE>" );
1403 case BoardJobPaginationMode::BJPM_ALL_LAYERS_ONE_PAGE:
1405 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_FILE:
1407 case BoardJobPaginationMode::BJPM_UNKNOWN:
1408 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_PAGE:
1423 wxCHECK_MSG(
false, BoardJobPaginationMode::BJPM_UNKNOWN,
1424 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DXF::GEN_MODE>" );
1434 case BoardJobPaginationMode::BJPM_ALL_LAYERS_ONE_PAGE:
1436 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_FILE:
1438 case BoardJobPaginationMode::BJPM_UNKNOWN:
1439 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_PAGE:
1452 return BoardJobPaginationMode::BJPM_ALL_LAYERS_ONE_PAGE;
1454 return BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_PAGE;
1456 return BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_FILE;
1458 wxCHECK_MSG(
false, BoardJobPaginationMode::BJPM_UNKNOWN,
1459 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_PDF::GEN_MODE>" );
1469 case BoardJobPaginationMode::BJPM_ALL_LAYERS_ONE_PAGE:
1471 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_PAGE:
1473 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_FILE:
1475 case BoardJobPaginationMode::BJPM_UNKNOWN:
1490 wxCHECK_MSG(
false, BoardJobPaginationMode::BJPM_UNKNOWN,
1491 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_PS::GEN_MODE>" );
1501 case BoardJobPaginationMode::BJPM_ALL_LAYERS_ONE_PAGE:
1503 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_FILE:
1505 case BoardJobPaginationMode::BJPM_UNKNOWN:
1506 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_PAGE:
1521 wxCHECK_MSG(
false, DrillFormat::DF_UNKNOWN,
1522 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DRILL::DRILL_FORMAT>" );
1534 case DrillFormat::DF_UNKNOWN:
1549 wxCHECK_MSG(
false, DrillOrigin::DO_UNKNOWN,
1550 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DRILL::DRILL_ORIGIN>" );
1562 case DrillOrigin::DO_UNKNOWN:
1575 return DrillZerosFormat::DZF_DECIMAL;
1577 return DrillZerosFormat::DZF_SUPPRESS_LEADING;
1579 return DrillZerosFormat::DZF_SUPPRESS_TRAILING;
1581 return DrillZerosFormat::DZF_KEEP_ZEROS;
1583 wxCHECK_MSG(
false, DrillZerosFormat::DZF_UNKNOWN,
1584 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT>" );
1594 case DrillZerosFormat::DZF_DECIMAL:
1596 case DrillZerosFormat::DZF_SUPPRESS_LEADING:
1598 case DrillZerosFormat::DZF_SUPPRESS_TRAILING:
1600 case DrillZerosFormat::DZF_KEEP_ZEROS:
1602 case DrillZerosFormat::DZF_UNKNOWN:
1615 return DrillMapFormat::DMF_POSTSCRIPT;
1617 return DrillMapFormat::DMF_GERBER_X2;
1619 return DrillMapFormat::DMF_DXF;
1621 return DrillMapFormat::DMF_SVG;
1623 return DrillMapFormat::DMF_PDF;
1625 wxCHECK_MSG(
false, DrillMapFormat::DMF_UNKNOWN,
1626 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DRILL::MAP_FORMAT>" );
1636 case DrillMapFormat::DMF_POSTSCRIPT:
1638 case DrillMapFormat::DMF_GERBER_X2:
1640 case DrillMapFormat::DMF_DXF:
1642 case DrillMapFormat::DMF_SVG:
1644 case DrillMapFormat::DMF_PDF:
1646 case DrillMapFormat::DMF_UNKNOWN:
1661 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1662 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DRILL::DRILL_UNITS>" );
1674 case kiapi::common::types::Units::U_UNKNOWN:
1675 case kiapi::common::types::Units::U_METERS:
1676 case kiapi::common::types::Units::U_TENTHS:
1692 wxCHECK_MSG(
false, PositionSide::PS_UNKNOWN,
1693 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_POS::SIDE>" );
1706 case PositionSide::PS_UNKNOWN:
1722 wxCHECK_MSG(
false, PositionFormat::PF_UNKNOWN,
1723 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_POS::FORMAT>" );
1736 case PositionFormat::PF_UNKNOWN:
1751 wxCHECK_MSG(
false, Ipc2581Version::IPC2581V_UNKNOWN,
1752 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_IPC2581::IPC2581_VERSION>" );
1764 case Ipc2581Version::IPC2581V_UNKNOWN:
1780 wxCHECK_MSG(
false, OdbCompression::ODBC_UNKNOWN,
1781 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_ODB::ODB_COMPRESSION>" );
1794 case OdbCompression::ODBC_UNKNOWN:
1809 wxCHECK_MSG(
false, StatsOutputFormat::SOF_UNKNOWN,
1810 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_STATS::OUTPUT_FORMAT>" );
1822 case StatsOutputFormat::SOF_UNKNOWN:
1837 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1838 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DXF::DXF_UNITS>" );
1850 case kiapi::common::types::Units::U_UNKNOWN:
1851 case kiapi::common::types::Units::U_METERS:
1852 case kiapi::common::types::Units::U_TENTHS:
1867 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1868 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_POS::UNITS>" );
1880 case kiapi::common::types::Units::U_UNKNOWN:
1881 case kiapi::common::types::Units::U_METERS:
1882 case kiapi::common::types::Units::U_TENTHS:
1897 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1898 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_IPC2581::IPC2581_UNITS>" );
1910 case kiapi::common::types::Units::U_UNKNOWN:
1911 case kiapi::common::types::Units::U_METERS:
1912 case kiapi::common::types::Units::U_TENTHS:
1927 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1928 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_ODB::ODB_UNITS>" );
1940 case kiapi::common::types::Units::U_UNKNOWN:
1941 case kiapi::common::types::Units::U_METERS:
1942 case kiapi::common::types::Units::U_TENTHS:
1957 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1958 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_STATS::UNITS>" );
1970 case kiapi::common::types::Units::U_UNKNOWN:
1971 case kiapi::common::types::Units::U_METERS:
1972 case kiapi::common::types::Units::U_TENTHS:
2051 wxCHECK_MSG(
false, DrcErrorType::DRCET_UNKNOWN,
"Unhandled case in ToProtoEnum<PCB_DRC_CODE>" );
2128 case DrcErrorType::DRCET_UNKNOWN:
2161 wxCHECK_MSG(
false, types::ConstraintType::CT_UNKNOWN,
2162 "Unhandled case in ToProtoEnum<PCB_CONSTRAINT_TYPE>" );
2194 "Unhandled case in FromProtoEnum<types::ConstraintType>" );
2213 wxCHECK_MSG(
false, types::ConstraintAnchor::CA_UNKNOWN,
2214 "Unhandled case in ToProtoEnum<CONSTRAINT_ANCHOR>" );
2224 case types::ConstraintAnchor::CA_UNKNOWN:
2235 "Unhandled case in FromProtoEnum<types::ConstraintAnchor>" );
types::PadType ToProtoEnum(PAD_ATTRIB aValue)
PAD_ATTRIB FromProtoEnum(types::PadType aValue)
HIGH_CONTRAST_MODE
Determine how inactive layers should be displayed.
@ NORMAL
Inactive layers are shown normally (no high-contrast mode)
@ HIDDEN
Inactive layers are hidden.
@ DIMMED
Inactive layers are dimmed (old high-contrast mode)
@ RATSNEST
Net/netclass colors are shown on ratsnest lines only.
@ ALL
Net/netclass colors are shown on all net copper.
@ OFF
Net (and netclass) colors are not shown.
@ VISIBLE
Ratsnest lines are drawn to items on visible layers only.
@ ALL
Ratsnest lines are drawn to items on all layers (default)
@ BS_ITEM_TYPE_SILKSCREEN
@ BS_ITEM_TYPE_DIELECTRIC
@ BS_ITEM_TYPE_SOLDERPASTE
@ BS_ITEM_TYPE_SOLDERMASK
@ ALL_LAYERS_SEPARATE_FILE
@ ALL_LAYERS_ONE_FILE
DEPRECATED MODE.
@ ONE_PAGE_PER_LAYER_ONE_FILE
The most traditional output mode KiCad has had.
MODE
! Copper geometry mode: controls how many unique copper layer shapes this padstack has
@ NORMAL
Shape is the same on all layers.
@ CUSTOM
Shapes can be defined on arbitrary layers.
@ FRONT_INNER_BACK
Up to three shapes can be defined (F_Cu, inner copper layers, B_Cu)
@ DRCE_DISABLED_LAYER_ITEM
@ DRCE_DP_UNCOUPLED_LENGTH_TOO_LONG
@ DRCE_TUNING_PROFILE_IMPLICIT_RULES
@ DRCE_SILK_EDGE_CLEARANCE
@ DRCE_SILK_MASK_CLEARANCE
@ DRCE_DP_GAP_OUT_OF_RANGE
@ DRCE_MIRRORED_TEXT_ON_FRONT_LAYER
@ DRCE_LIB_FOOTPRINT_ISSUES
@ DRCE_OVERLAPPING_FOOTPRINTS
@ DRCE_TRACK_ON_POST_MACHINED_LAYER
@ DRCE_DRILL_OUT_OF_RANGE
@ DRCE_TRACK_SEGMENT_LENGTH
@ DRCE_SCHEMATIC_FIELDS_PARITY
@ DRCE_TRACK_NOT_CENTERED_ON_VIA
@ DRCE_MISSING_TUNING_PROFILE
@ DRCE_DRILLED_HOLES_TOO_CLOSE
@ DRCE_MICROVIA_DRILL_OUT_OF_RANGE
@ DRCE_MALFORMED_COURTYARD
@ DRCE_UNRESOLVED_VARIABLE
@ DRCE_FOOTPRINT_TYPE_MISMATCH
@ DRCE_DUPLICATE_FOOTPRINT
@ DRCE_DRILLED_HOLES_COLOCATED
@ DRCE_LENGTH_OUT_OF_RANGE
@ DRCE_LIB_FOOTPRINT_MISMATCH
@ DRCE_PAD_TH_WITH_NO_HOLE
@ DRCE_UNMIRRORED_TEXT_ON_BACK_LAYER
@ DRCE_VIA_COUNT_OUT_OF_RANGE
@ DRC_DISALLOW_BURIED_VIAS
@ DRC_DISALLOW_BLIND_VIAS
@ DRC_DISALLOW_THROUGH_VIAS
@ DRC_DISALLOW_FOOTPRINTS
@ DRC_DISALLOW_MICRO_VIAS
@ ANNULAR_WIDTH_CONSTRAINT
@ BRIDGED_MASK_CONSTRAINT
@ COURTYARD_CLEARANCE_CONSTRAINT
@ VIA_DIAMETER_CONSTRAINT
@ ZONE_CONNECTION_CONSTRAINT
@ DIFF_PAIR_GAP_CONSTRAINT
@ NET_CHAIN_LENGTH_CONSTRAINT
@ VIA_DANGLING_CONSTRAINT
@ SOLDER_MASK_SLIVER_CONSTRAINT
@ NET_CHAIN_STUB_LENGTH_CONSTRAINT
@ SILK_CLEARANCE_CONSTRAINT
@ EDGE_CLEARANCE_CONSTRAINT
@ MIN_RESOLVED_SPOKES_CONSTRAINT
@ TRACK_SEGMENT_LENGTH_CONSTRAINT
@ TEXT_THICKNESS_CONSTRAINT
@ NET_CHAIN_RETURN_PATH_CONSTRAINT
@ PHYSICAL_HOLE_CLEARANCE_CONSTRAINT
@ THERMAL_SPOKE_WIDTH_CONSTRAINT
@ CONNECTION_WIDTH_CONSTRAINT
@ THERMAL_RELIEF_GAP_CONSTRAINT
@ MAX_UNCOUPLED_CONSTRAINT
@ HOLE_CLEARANCE_CONSTRAINT
@ SOLDER_PASTE_ABS_MARGIN_CONSTRAINT
@ SOLDER_MASK_EXPANSION_CONSTRAINT
@ DIFF_PAIR_INTRA_SKEW_CONSTRAINT
@ PHYSICAL_CLEARANCE_CONSTRAINT
@ SOLDER_PASTE_REL_MARGIN_CONSTRAINT
@ HOLE_TO_HOLE_CONSTRAINT
PAD_DRILL_SHAPE
The set of pad drill shapes, used with PAD::{Set,Get}DrillShape()
PAD_ATTRIB
The set of pad shapes, used with PAD::{Set,Get}Attribute().
@ NPTH
like PAD_PTH, but not plated mechanical use only, no connection allowed
@ SMD
Smd pad, appears on the solder paste layer (default)
@ PTH
Plated through hole pad.
@ CONN
Like smd, does not appear on the solder paste layer (default) Note: also has a special attribute in G...
PAD_SHAPE
The set of pad shapes, used with PAD::{Set,Get}Shape()
@ REMOVE_EXCEPT_START_AND_END
CONSTRAINT_ANCHOR
Which feature of a referenced board item participates in a constraint.
@ VERTEX
An indexed rectangle corner or polygon outline vertex; pairs with CONSTRAINT_MEMBER::m_index.
@ MID
Midpoint of a segment or arc.
@ RADIUS
The radius (scalar feature) of an arc or circle.
@ WHOLE
The item as a whole (a segment as a line, a circle).
@ START
First endpoint of a segment or arc.
@ END
Second endpoint of a segment or arc.
@ CENTER
Center of an arc or circle.
PCB_CONSTRAINT_TYPE
The geometric relationship a PCB_CONSTRAINT enforces between its members.
@ CONCENTRIC
Two arcs/circles share a center.
@ SYMMETRIC
Two points are mirror images about an axis.
@ FIXED_POSITION
A point is locked at its current location.
@ VERTICAL
A segment (or two points) is vertical.
@ TANGENT
A line and a curve, or two curves, touch tangentially.
@ COINCIDENT
Two points are made to coincide.
@ PERPENDICULAR
Two segments are perpendicular.
@ FIXED_RADIUS
An arc/circle has a driving radius value.
@ HORIZONTAL
A segment (or two points) is horizontal.
@ EQUAL_RADIUS
Two arcs/circles have equal radius.
@ MIDPOINT
A point is the midpoint of a segment.
@ POINT_ON_LINE
A point lies on a segment's supporting line.
@ FIXED_LENGTH
A segment has a driving length value.
@ ANGULAR_DIMENSION
An angle between members (driving or reference).
@ COLLINEAR
Two segments lie on the same line.
@ ARC_ANGLE
An arc has a driving or reference swept-angle value.
@ PARALLEL
Two segments are parallel.
@ EQUAL_LENGTH
Two segments have equal length.
DIM_TEXT_POSITION
Where to place the text on a dimension.
@ OUTSIDE
Text appears outside the dimension line (default)
@ MANUAL
Text placement is manually set by the user.
@ INLINE
Text appears in line with the dimension line.
DIM_UNITS_FORMAT
How to display the units in a dimension's text.
DIM_UNITS_MODE
Used for storing the units selection in the file because EDA_UNITS alone doesn't cut it.
DIM_ARROW_DIRECTION
Used for dimension's arrow.
DIM_TEXT_BORDER
Frame to show around dimension text.
DRILL_MARKS
Plots and prints can show holes in pads and vias 3 options are available:
TEARDROP_TYPE
define the type of a teardrop: on a via or pad, or a track end
Class ZONE_SETTINGS used to handle zones parameters in dialogs.
THIEVING_PATTERN
Shape stamped onto the grid for a copper-thieving fill.
ISLAND_REMOVAL_MODE
Whether or not to remove isolated islands from a zone.
ZONE_BORDER_DISPLAY_STYLE
Zone border styles.
ZONE_CONNECTION
How pads are covered by copper in zone.
@ THERMAL
Use thermal relief for pads.
@ THT_THERMAL
Thermal relief only for THT pads.
@ NONE
Pads are not covered.
@ FULL
pads are covered by copper