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>
56using namespace kiapi::board::commands;
57using namespace kiapi::board::jobs;
70 wxCHECK_MSG(
false, types::PadType::PT_UNKNOWN,
71 "Unhandled case in ToProtoEnum<PAD_ATTRIB>");
81 case types::PadType::PT_UNKNOWN:
89 "Unhandled case in FromProtoEnum<types::PadType>" );
102 wxCHECK_MSG(
false, types::DrillShape::DS_UNKNOWN,
103 "Unhandled case in ToProtoEnum<PAD_DRILL_SHAPE>");
114 case types::DrillShape::DS_UNKNOWN:
118 "Unhandled case in FromProtoEnum<types::DrillShape>" );
136 wxCHECK_MSG(
false, types::PadStackShape::PSS_UNKNOWN,
137 "Unhandled case in ToProtoEnum<PAD_SHAPE>");
147 case types::PadStackShape::PSS_UNKNOWN:
158 "Unhandled case in FromProtoEnum<types::PadStackShape>" );
173 wxCHECK_MSG(
false, types::PadStackType::PST_UNKNOWN,
174 "Unhandled case in ToProtoEnum<PADSTACK::MODE>");
184 case types::PadStackType::PST_UNKNOWN:
191 "Unhandled case in FromProtoEnum<types::PadStackType>" );
207 wxCHECK_MSG(
false, types::ViaType::VT_UNKNOWN,
208 "Unhandled case in ToProtoEnum<VIATYPE>");
218 case types::ViaType::VT_UNKNOWN:
227 "Unhandled case in FromProtoEnum<types::ViaType>" );
244 wxCHECK_MSG(
false, types::ZoneConnectionStyle::ZCS_UNKNOWN,
245 "Unhandled case in ToProtoEnum<ZONE_CONNECTION>");
264 "Unhandled case in FromProtoEnum<types::ZoneConnectionStyle>" );
313 return CustomRuleConstraintType::CRCT_NET_CHAIN_STUB_LENGTH;
315 return CustomRuleConstraintType::CRCT_NET_CHAIN_RETURN_PATH;
318 wxCHECK_MSG(
false, CustomRuleConstraintType::CRCT_UNKNOWN,
319 "Unhandled case in ToProtoEnum<DRC_CONSTRAINT_T>" );
372 "Unhandled case in FromProtoEnum<CustomRuleConstraintType>" );
387 wxCHECK_MSG(
false, CustomRuleConstraintOption::CRCO_UNKNOWN,
388 "Unhandled case in ToProtoEnum<DRC_CONSTRAINT::OPTIONS>" );
398 case CustomRuleConstraintOption::CRCO_SKEW_WITHIN_DIFF_PAIRS:
401 case CustomRuleConstraintOption::CRCO_SPACE_DOMAIN:
404 case CustomRuleConstraintOption::CRCO_TIME_DOMAIN:
407 case CustomRuleConstraintOption::CRCO_UNKNOWN:
410 "Unhandled case in FromProtoEnum<CustomRuleConstraintOption>" );
433 wxCHECK_MSG(
false, CustomRuleDisallowType::CRDT_UNKNOWN,
434 "Unhandled case in ToProtoEnum<DRC_DISALLOW_T>" );
456 case CustomRuleDisallowType::CRDT_UNKNOWN:
459 "Unhandled case in FromProtoEnum<CustomRuleDisallowType>" );
470 return types::UnconnectedLayerRemoval::ULR_KEEP;
473 return types::UnconnectedLayerRemoval::ULR_REMOVE;
476 return types::UnconnectedLayerRemoval::ULR_REMOVE_EXCEPT_START_AND_END;
479 return types::UnconnectedLayerRemoval::ULR_START_END_ONLY;
482 wxCHECK_MSG(
false, types::UnconnectedLayerRemoval::ULR_UNKNOWN,
483 "Unhandled case in ToProtoEnum<PADSTACK::UNCONNECTED_LAYER_MODE>");
493 case types::UnconnectedLayerRemoval::ULR_UNKNOWN:
494 case types::UnconnectedLayerRemoval::ULR_KEEP:
497 case types::UnconnectedLayerRemoval::ULR_REMOVE:
500 case types::UnconnectedLayerRemoval::ULR_REMOVE_EXCEPT_START_AND_END:
503 case types::UnconnectedLayerRemoval::ULR_START_END_ONLY:
508 "Unhandled case in FromProtoEnum<types::UnconnectedLayerRemoval>");
523 wxCHECK_MSG(
false, types::IslandRemovalMode::IRM_UNKNOWN,
524 "Unhandled case in ToProtoEnum<ISLAND_REMOVAL_MODE>");
534 case types::IslandRemovalMode::IRM_UNKNOWN:
541 "Unhandled case in FromProtoEnum<types::IslandRemovalMode>" );
556 wxCHECK_MSG(
false, types::ZoneFillMode::ZFM_UNKNOWN,
557 "Unhandled case in ToProtoEnum<ZONE_FILL_MODE>");
567 case types::ZoneFillMode::ZFM_UNKNOWN:
574 "Unhandled case in FromProtoEnum<types::ZoneFillMode>" );
589 wxCHECK_MSG(
false, types::ThievingPattern::TP_UNKNOWN,
590 "Unhandled case in ToProtoEnum<THIEVING_PATTERN>" );
600 case types::ThievingPattern::TP_UNKNOWN:
607 "Unhandled case in FromProtoEnum<types::ThievingPattern>" );
623 wxCHECK_MSG(
false, types::ZoneBorderStyle::ZBS_UNKNOWN,
624 "Unhandled case in ToProtoEnum<ZONE_BORDER_DISPLAY_STYLE>");
636 case types::ZoneBorderStyle::ZBS_UNKNOWN:
642 "Unhandled case in FromProtoEnum<types::ZoneHatchBorderMode>" );
653 return types::PlacementRuleSourceType::PRST_SHEET_NAME;
656 return types::PlacementRuleSourceType::PRST_COMPONENT_CLASS;
659 return types::PlacementRuleSourceType::PRST_GROUP;
662 return types::PlacementRuleSourceType::PRST_DESIGN_BLOCK;
665 wxCHECK_MSG(
false, types::PlacementRuleSourceType::PRST_UNKNOWN,
666 "Unhandled case in ToProtoEnum<PLACEMENT_SOURCE_T>");
676 case types::PlacementRuleSourceType::PRST_UNKNOWN:
677 case types::PlacementRuleSourceType::PRST_SHEET_NAME:
680 case types::PlacementRuleSourceType::PRST_COMPONENT_CLASS:
683 case types::PlacementRuleSourceType::PRST_GROUP:
686 case types::PlacementRuleSourceType::PRST_DESIGN_BLOCK:
691 "Unhandled case in FromProtoEnum<types::PlacementRuleSourceType>" );
707 wxCHECK_MSG(
false, types::TeardropType::TDT_UNKNOWN,
708 "Unhandled case in ToProtoEnum<TEARDROP_TYPE>");
718 case types::TeardropType::TDT_UNKNOWN:
726 "Unhandled case in FromProtoEnum<types::ZoneHatchBorderMode>" );
736 case TARGET_ROUND:
return kiapi::board::TeardropTarget::TDT_ROUND;
737 case TARGET_RECT:
return kiapi::board::TeardropTarget::TDT_RECT;
738 case TARGET_TRACK:
return kiapi::board::TeardropTarget::TDT_TRACK;
741 wxCHECK_MSG(
false, kiapi::board::TeardropTarget::TDT_UNKNOWN,
742 "Unhandled case in ToProtoEnum<TARGET_TD>" );
752 case kiapi::board::TeardropTarget::TDT_ROUND:
return TARGET_ROUND;
753 case kiapi::board::TeardropTarget::TDT_RECT:
return TARGET_RECT;
754 case kiapi::board::TeardropTarget::TDT_TRACK:
return TARGET_TRACK;
756 case kiapi::board::TeardropTarget::TDT_UNKNOWN:
774 wxCHECK_MSG(
false, types::DimensionTextBorderStyle::DTBS_UNKNOWN,
775 "Unhandled case in ToProtoEnum<DIM_TEXT_BORDER>");
785 case types::DimensionTextBorderStyle::DTBS_UNKNOWN:
793 "Unhandled case in FromProtoEnum<types::DimensionTextBorderStyle>" );
808 wxCHECK_MSG(
false, types::DimensionUnitFormat::DUF_UNKNOWN,
809 "Unhandled case in ToProtoEnum<DIM_UNITS_FORMAT>");
819 case types::DimensionUnitFormat::DUF_UNKNOWN:
826 "Unhandled case in FromProtoEnum<types::DimensionUnitFormat>" );
840 wxCHECK_MSG(
false, types::DimensionArrowDirection::DAD_UNKNOWN,
841 "Unhandled case in ToProtoEnum<DIM_ARROW_DIRECTION>");
852 case types::DimensionArrowDirection::DAD_UNKNOWN:
857 "Unhandled case in FromProtoEnum<types::DimensionArrowDirection>" );
879 wxCHECK_MSG(
false, types::DimensionPrecision::DP_UNKNOWN,
880 "Unhandled case in ToProtoEnum<DIM_PRECISION>");
896 case types::DimensionPrecision::DP_UNKNOWN:
904 "Unhandled case in FromProtoEnum<types::DimensionPrecision>" );
919 wxCHECK_MSG(
false, types::DimensionTextPosition::DTP_UNKNOWN,
920 "Unhandled case in ToProtoEnum<DIM_TEXT_POSITION>");
930 case types::DimensionTextPosition::DTP_UNKNOWN:
937 "Unhandled case in FromProtoEnum<types::DimensionTextPosition>" );
953 wxCHECK_MSG(
false, types::DimensionUnit::DU_UNKNOWN,
954 "Unhandled case in ToProtoEnum<DIM_UNITS_MODE>");
967 case types::DimensionUnit::DU_UNKNOWN:
972 "Unhandled case in FromProtoEnum<types::DimensionUnit>" );
987 wxCHECK_MSG(
false, commands::InactiveLayerDisplayMode::ILDM_NORMAL,
988 "Unhandled case in ToProtoEnum<HIGH_CONTRAST_MODE>");
1000 case commands::InactiveLayerDisplayMode::ILDM_UNKNOWN:
1005 "Unhandled case in FromProtoEnum<commands::InactiveLayerDisplayMode>" );
1020 wxCHECK_MSG(
false, commands::NetColorDisplayMode::NCDM_UNKNOWN,
1021 "Unhandled case in ToProtoEnum<NET_COLOR_MODE>");
1033 case commands::NetColorDisplayMode::NCDM_UNKNOWN:
1038 "Unhandled case in FromProtoEnum<commands::NetColorDisplayMode>" );
1052 wxCHECK_MSG(
false, commands::RatsnestDisplayMode::RDM_UNKNOWN,
1053 "Unhandled case in ToProtoEnum<RATSNEST_MODE>");
1064 case commands::RatsnestDisplayMode::RDM_UNKNOWN:
1069 "Unhandled case in FromProtoEnum<commands::RatsnestDisplayMode>" );
1087 wxCHECK_MSG(
false, BoardStackupLayerType::BSLT_UNKNOWN,
1088 "Unhandled case in ToProtoEnum<BOARD_STACKUP_ITEM_TYPE>");
1107 "Unhandled case in FromProtoEnum<BoardStackupLayerType>" );
1126 wxCHECK_MSG(
false, DrcSeverity::DRS_UNDEFINED,
1127 "Unhandled case in ToProtoEnum<SEVERITY>");
1144 case DrcSeverity::DRS_UNKNOWN:
1160 wxCHECK_MSG(
false, PlotDrillMarks::PDM_UNKNOWN,
1161 "Unhandled case in ToProtoEnum<DRILL_MARKS>" );
1174 case PlotDrillMarks::PDM_UNKNOWN:
1197 wxCHECK_MSG(
false, Board3DFormat::B3D_UNKNOWN,
1198 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_3D::FORMAT>" );
1218 case Board3DFormat::B3D_UNKNOWN:
1235 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1236 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_3D::VRML_UNITS>" );
1250 case kiapi::common::types::Units::U_UNKNOWN:
1265 wxCHECK_MSG(
false, RenderFormat::RF_UNKNOWN,
1266 "Unhandled case in ToProtoEnum<JOB_PCB_RENDER::FORMAT>" );
1278 case RenderFormat::RF_UNKNOWN:
1295 wxCHECK_MSG(
false, RenderQuality::RQ_UNKNOWN,
1296 "Unhandled case in ToProtoEnum<JOB_PCB_RENDER::QUALITY>" );
1310 case RenderQuality::RQ_UNKNOWN:
1326 wxCHECK_MSG(
false, RenderBackgroundStyle::RBS_UNKNOWN,
1327 "Unhandled case in ToProtoEnum<JOB_PCB_RENDER::BG_STYLE>" );
1340 case RenderBackgroundStyle::RBS_UNKNOWN:
1359 wxCHECK_MSG(
false, RenderSide::RS_UNKNOWN,
1360 "Unhandled case in ToProtoEnum<JOB_PCB_RENDER::SIDE>" );
1376 case RenderSide::RS_UNKNOWN:
1391 wxCHECK_MSG(
false, BoardJobPaginationMode::BJPM_UNKNOWN,
1392 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_SVG::GEN_MODE>" );
1402 case BoardJobPaginationMode::BJPM_ALL_LAYERS_ONE_PAGE:
1404 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_FILE:
1406 case BoardJobPaginationMode::BJPM_UNKNOWN:
1407 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_PAGE:
1422 wxCHECK_MSG(
false, BoardJobPaginationMode::BJPM_UNKNOWN,
1423 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DXF::GEN_MODE>" );
1433 case BoardJobPaginationMode::BJPM_ALL_LAYERS_ONE_PAGE:
1435 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_FILE:
1437 case BoardJobPaginationMode::BJPM_UNKNOWN:
1438 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_PAGE:
1451 return BoardJobPaginationMode::BJPM_ALL_LAYERS_ONE_PAGE;
1453 return BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_PAGE;
1455 return BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_FILE;
1457 wxCHECK_MSG(
false, BoardJobPaginationMode::BJPM_UNKNOWN,
1458 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_PDF::GEN_MODE>" );
1468 case BoardJobPaginationMode::BJPM_ALL_LAYERS_ONE_PAGE:
1470 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_PAGE:
1472 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_FILE:
1474 case BoardJobPaginationMode::BJPM_UNKNOWN:
1489 wxCHECK_MSG(
false, BoardJobPaginationMode::BJPM_UNKNOWN,
1490 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_PS::GEN_MODE>" );
1500 case BoardJobPaginationMode::BJPM_ALL_LAYERS_ONE_PAGE:
1502 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_FILE:
1504 case BoardJobPaginationMode::BJPM_UNKNOWN:
1505 case BoardJobPaginationMode::BJPM_EACH_LAYER_OWN_PAGE:
1520 wxCHECK_MSG(
false, DrillFormat::DF_UNKNOWN,
1521 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DRILL::DRILL_FORMAT>" );
1533 case DrillFormat::DF_UNKNOWN:
1548 wxCHECK_MSG(
false, DrillOrigin::DO_UNKNOWN,
1549 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DRILL::DRILL_ORIGIN>" );
1561 case DrillOrigin::DO_UNKNOWN:
1574 return DrillZerosFormat::DZF_DECIMAL;
1576 return DrillZerosFormat::DZF_SUPPRESS_LEADING;
1578 return DrillZerosFormat::DZF_SUPPRESS_TRAILING;
1580 return DrillZerosFormat::DZF_KEEP_ZEROS;
1582 wxCHECK_MSG(
false, DrillZerosFormat::DZF_UNKNOWN,
1583 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT>" );
1593 case DrillZerosFormat::DZF_DECIMAL:
1595 case DrillZerosFormat::DZF_SUPPRESS_LEADING:
1597 case DrillZerosFormat::DZF_SUPPRESS_TRAILING:
1599 case DrillZerosFormat::DZF_KEEP_ZEROS:
1601 case DrillZerosFormat::DZF_UNKNOWN:
1614 return DrillMapFormat::DMF_POSTSCRIPT;
1616 return DrillMapFormat::DMF_GERBER_X2;
1618 return DrillMapFormat::DMF_DXF;
1620 return DrillMapFormat::DMF_SVG;
1622 return DrillMapFormat::DMF_PDF;
1624 wxCHECK_MSG(
false, DrillMapFormat::DMF_UNKNOWN,
1625 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DRILL::MAP_FORMAT>" );
1635 case DrillMapFormat::DMF_POSTSCRIPT:
1637 case DrillMapFormat::DMF_GERBER_X2:
1639 case DrillMapFormat::DMF_DXF:
1641 case DrillMapFormat::DMF_SVG:
1643 case DrillMapFormat::DMF_PDF:
1645 case DrillMapFormat::DMF_UNKNOWN:
1660 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1661 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DRILL::DRILL_UNITS>" );
1673 case kiapi::common::types::Units::U_UNKNOWN:
1674 case kiapi::common::types::Units::U_METERS:
1675 case kiapi::common::types::Units::U_TENTHS:
1691 wxCHECK_MSG(
false, PositionSide::PS_UNKNOWN,
1692 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_POS::SIDE>" );
1705 case PositionSide::PS_UNKNOWN:
1721 wxCHECK_MSG(
false, PositionFormat::PF_UNKNOWN,
1722 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_POS::FORMAT>" );
1735 case PositionFormat::PF_UNKNOWN:
1750 wxCHECK_MSG(
false, Ipc2581Version::IPC2581V_UNKNOWN,
1751 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_IPC2581::IPC2581_VERSION>" );
1763 case Ipc2581Version::IPC2581V_UNKNOWN:
1779 wxCHECK_MSG(
false, OdbCompression::ODBC_UNKNOWN,
1780 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_ODB::ODB_COMPRESSION>" );
1793 case OdbCompression::ODBC_UNKNOWN:
1808 wxCHECK_MSG(
false, StatsOutputFormat::SOF_UNKNOWN,
1809 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_STATS::OUTPUT_FORMAT>" );
1821 case StatsOutputFormat::SOF_UNKNOWN:
1836 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1837 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_DXF::DXF_UNITS>" );
1849 case kiapi::common::types::Units::U_UNKNOWN:
1850 case kiapi::common::types::Units::U_METERS:
1851 case kiapi::common::types::Units::U_TENTHS:
1866 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1867 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_POS::UNITS>" );
1879 case kiapi::common::types::Units::U_UNKNOWN:
1880 case kiapi::common::types::Units::U_METERS:
1881 case kiapi::common::types::Units::U_TENTHS:
1896 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1897 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_IPC2581::IPC2581_UNITS>" );
1909 case kiapi::common::types::Units::U_UNKNOWN:
1910 case kiapi::common::types::Units::U_METERS:
1911 case kiapi::common::types::Units::U_TENTHS:
1926 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1927 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_ODB::ODB_UNITS>" );
1939 case kiapi::common::types::Units::U_UNKNOWN:
1940 case kiapi::common::types::Units::U_METERS:
1941 case kiapi::common::types::Units::U_TENTHS:
1956 wxCHECK_MSG(
false, kiapi::common::types::Units::U_UNKNOWN,
1957 "Unhandled case in ToProtoEnum<JOB_EXPORT_PCB_STATS::UNITS>" );
1969 case kiapi::common::types::Units::U_UNKNOWN:
1970 case kiapi::common::types::Units::U_METERS:
1971 case kiapi::common::types::Units::U_TENTHS:
2051 wxCHECK_MSG(
false, DrcErrorType::DRCET_UNKNOWN,
2052 "Unhandled case in ToProtoEnum<PCB_DRC_CODE>" );
2130 case DrcErrorType::DRCET_UNKNOWN:
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_DIFF_PAIR_GAP_OUT_OF_RANGE
@ 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_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_DIFF_PAIR_UNCOUPLED_LENGTH_TOO_LONG
@ DRCE_MICROVIA_DRILL_OUT_OF_RANGE
@ DRCE_MALFORMED_COURTYARD
@ DRCE_UNRESOLVED_VARIABLE
@ DRCE_FOOTPRINT_TYPE_MISMATCH
@ DRCE_NONMIRRORED_TEXT_ON_BACK_LAYER
@ DRCE_DUPLICATE_FOOTPRINT
@ DRCE_DRILLED_HOLES_COLOCATED
@ DRCE_LENGTH_OUT_OF_RANGE
@ DRCE_LIB_FOOTPRINT_MISMATCH
@ DRCE_PAD_TH_WITH_NO_HOLE
@ 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
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