KiCad PCB EDA Suite
Loading...
Searching...
No Matches
api_pcb_enums.cpp File Reference
#include <import_export.h>
#include <api/api_enums.h>
#include <api/board/board.pb.h>
#include <api/board/board_rules.pb.h>
#include <api/board/board_types.pb.h>
#include <api/board/board_commands.pb.h>
#include <api/board/board_jobs.pb.h>
#include <api/common/types/enums.pb.h>
#include <wx/wx.h>
#include <widgets/report_severity.h>
#include <board_stackup_manager/board_stackup.h>
#include <constraints/pcb_constraint.h>
#include <drc/drc_item.h>
#include <padstack.h>
#include <pcb_dimension.h>
#include <pcb_track.h>
#include <jobs/job_export_pcb_3d.h>
#include <jobs/job_export_pcb_dxf.h>
#include <jobs/job_export_pcb_drill.h>
#include <jobs/job_export_pcb_idf.h>
#include <jobs/job_export_pcb_ipc2581.h>
#include <jobs/job_export_pcb_odb.h>
#include <jobs/job_export_pcb_pdf.h>
#include <jobs/job_export_pcb_pos.h>
#include <jobs/job_export_pcb_ps.h>
#include <jobs/job_export_pcb_stats.h>
#include <jobs/job_export_pcb_svg.h>
#include <jobs/job_export_pcb_png.h>
#include <jobs/job_pcb_render.h>
#include <drc/drc_rule.h>
#include <plotprint_opts.h>
#include <zones.h>
#include <zone_settings.h>
#include <project/board_project_settings.h>
#include <generators/pcb_tuning_pattern.h>
#include <generators/pcb_via_stack.h>
#include <generators/pcb_via_stitch.h>

Go to the source code of this file.

Functions

template<>
types::PadType ToProtoEnum (PAD_ATTRIB aValue)
 
template<>
PAD_ATTRIB FromProtoEnum (types::PadType aValue)
 
template<>
types::DrillShape ToProtoEnum (PAD_DRILL_SHAPE aValue)
 
template<>
PAD_DRILL_SHAPE FromProtoEnum (types::DrillShape aValue)
 
template<>
types::PadStackShape ToProtoEnum (PAD_SHAPE aValue)
 
template<>
PAD_SHAPE FromProtoEnum (types::PadStackShape aValue)
 
template<>
types::PadStackType ToProtoEnum (PADSTACK::MODE aValue)
 
template<>
PADSTACK::MODE FromProtoEnum (types::PadStackType aValue)
 
template<>
PAD_PROP FromProtoEnum (types::PadFabricationProperty aValue)
 
template<>
types::PadFabricationProperty ToProtoEnum (PAD_PROP aValue)
 
template<>
types::ViaType ToProtoEnum (VIATYPE aValue)
 
template<>
VIATYPE FromProtoEnum (types::ViaType aValue)
 
template<>
types::ZoneConnectionStyle ToProtoEnum (ZONE_CONNECTION aValue)
 
template<>
ZONE_CONNECTION FromProtoEnum (types::ZoneConnectionStyle aValue)
 
template<>
CustomRuleConstraintType ToProtoEnum (DRC_CONSTRAINT_T aValue)
 
template<>
DRC_CONSTRAINT_T FromProtoEnum (CustomRuleConstraintType aValue)
 
template<>
CustomRuleConstraintOption ToProtoEnum (DRC_CONSTRAINT::OPTIONS aValue)
 
template<>
DRC_CONSTRAINT::OPTIONS FromProtoEnum (CustomRuleConstraintOption aValue)
 
template<>
CustomRuleDisallowType ToProtoEnum (DRC_DISALLOW_T aValue)
 
template<>
DRC_DISALLOW_T FromProtoEnum (CustomRuleDisallowType aValue)
 
template<>
types::UnconnectedLayerRemoval ToProtoEnum (UNCONNECTED_LAYER_MODE aValue)
 
template<>
UNCONNECTED_LAYER_MODE FromProtoEnum (types::UnconnectedLayerRemoval aValue)
 
template<>
types::IslandRemovalMode ToProtoEnum (ISLAND_REMOVAL_MODE aValue)
 
template<>
ISLAND_REMOVAL_MODE FromProtoEnum (types::IslandRemovalMode aValue)
 
template<>
types::ZoneFillMode ToProtoEnum (ZONE_FILL_MODE aValue)
 
template<>
ZONE_FILL_MODE FromProtoEnum (types::ZoneFillMode aValue)
 
template<>
types::ZoneCornerSmoothingMode ToProtoEnum (ZONE_SETTINGS::CORNER_SMOOTHING aValue)
 
template<>
ZONE_SETTINGS::CORNER_SMOOTHING FromProtoEnum (types::ZoneCornerSmoothingMode aValue)
 
template<>
types::ThievingPattern ToProtoEnum (THIEVING_PATTERN aValue)
 
template<>
THIEVING_PATTERN FromProtoEnum (types::ThievingPattern aValue)
 
template<>
types::ZoneBorderStyle ToProtoEnum (ZONE_BORDER_DISPLAY_STYLE aValue)
 
template<>
ZONE_BORDER_DISPLAY_STYLE FromProtoEnum (types::ZoneBorderStyle aValue)
 
template<>
types::PlacementRuleSourceType ToProtoEnum (PLACEMENT_SOURCE_T aValue)
 
template<>
PLACEMENT_SOURCE_T FromProtoEnum (types::PlacementRuleSourceType aValue)
 
template<>
types::ZoneTeardropType ToProtoEnum (TEARDROP_TYPE aValue)
 
template<>
TEARDROP_TYPE FromProtoEnum (types::ZoneTeardropType aValue)
 
template<>
kiapi::board::TeardropTarget ToProtoEnum (TARGET_TD aValue)
 
template<>
TARGET_TD FromProtoEnum (kiapi::board::TeardropTarget aValue)
 
template<>
types::DimensionTextBorderStyle ToProtoEnum (DIM_TEXT_BORDER aValue)
 
template<>
DIM_TEXT_BORDER FromProtoEnum (types::DimensionTextBorderStyle aValue)
 
template<>
types::DimensionUnitFormat ToProtoEnum (DIM_UNITS_FORMAT aValue)
 
template<>
DIM_UNITS_FORMAT FromProtoEnum (types::DimensionUnitFormat aValue)
 
template<>
types::DimensionArrowDirection ToProtoEnum (DIM_ARROW_DIRECTION aValue)
 
template<>
DIM_ARROW_DIRECTION FromProtoEnum (types::DimensionArrowDirection aValue)
 
template<>
types::DimensionPrecision ToProtoEnum (DIM_PRECISION aValue)
 
template<>
DIM_PRECISION FromProtoEnum (types::DimensionPrecision aValue)
 
template<>
types::DimensionTextPosition ToProtoEnum (DIM_TEXT_POSITION aValue)
 
template<>
DIM_TEXT_POSITION FromProtoEnum (types::DimensionTextPosition aValue)
 
template<>
types::DimensionUnit ToProtoEnum (DIM_UNITS_MODE aValue)
 
template<>
DIM_UNITS_MODE FromProtoEnum (types::DimensionUnit aValue)
 
template<>
commands::InactiveLayerDisplayMode ToProtoEnum (HIGH_CONTRAST_MODE aValue)
 
template<>
HIGH_CONTRAST_MODE FromProtoEnum (commands::InactiveLayerDisplayMode aValue)
 
template<>
commands::NetColorDisplayMode ToProtoEnum (NET_COLOR_MODE aValue)
 
template<>
NET_COLOR_MODE FromProtoEnum (commands::NetColorDisplayMode aValue)
 
template<>
commands::RatsnestDisplayMode ToProtoEnum (RATSNEST_MODE aValue)
 
template<>
RATSNEST_MODE FromProtoEnum (commands::RatsnestDisplayMode aValue)
 
template<>
BoardStackupLayerType ToProtoEnum (BOARD_STACKUP_ITEM_TYPE aValue)
 
template<>
BOARD_STACKUP_ITEM_TYPE FromProtoEnum (BoardStackupLayerType aValue)
 
template<>
DielectricModel ToProtoEnum (DIELECTRIC_MODEL aValue)
 
template<>
DIELECTRIC_MODEL FromProtoEnum (DielectricModel aValue)
 
template<>
BoardEdgeConnectorType ToProtoEnum (BS_EDGE_CONNECTOR_CONSTRAINTS aValue)
 
template<>
BS_EDGE_CONNECTOR_CONSTRAINTS FromProtoEnum (BoardEdgeConnectorType aValue)
 
template<>
DrcSeverity ToProtoEnum (SEVERITY aValue)
 
template<>
SEVERITY FromProtoEnum (DrcSeverity aValue)
 
template<>
PlotDrillMarks ToProtoEnum (DRILL_MARKS aValue)
 
template<>
DRILL_MARKS FromProtoEnum (PlotDrillMarks aValue)
 
template<>
Board3DFormat ToProtoEnum (JOB_EXPORT_PCB_3D::FORMAT aValue)
 
template<>
JOB_EXPORT_PCB_3D::FORMAT FromProtoEnum (Board3DFormat aValue)
 
template<>
kiapi::common::types::Units ToProtoEnum (JOB_EXPORT_PCB_3D::VRML_UNITS aValue)
 
template<>
JOB_EXPORT_PCB_3D::VRML_UNITS FromProtoEnum (kiapi::common::types::Units aValue)
 
template<>
RenderFormat ToProtoEnum (JOB_PCB_RENDER::FORMAT aValue)
 
template<>
JOB_PCB_RENDER::FORMAT FromProtoEnum (RenderFormat aValue)
 
template<>
RenderQuality ToProtoEnum (JOB_PCB_RENDER::QUALITY aValue)
 
template<>
JOB_PCB_RENDER::QUALITY FromProtoEnum (RenderQuality aValue)
 
template<>
RenderBackgroundStyle ToProtoEnum (JOB_PCB_RENDER::BG_STYLE aValue)
 
template<>
JOB_PCB_RENDER::BG_STYLE FromProtoEnum (RenderBackgroundStyle aValue)
 
template<>
RenderSide ToProtoEnum (JOB_PCB_RENDER::SIDE aValue)
 
template<>
JOB_PCB_RENDER::SIDE FromProtoEnum (RenderSide aValue)
 
template<>
BoardJobPaginationMode ToProtoEnum (JOB_EXPORT_PCB_SVG::GEN_MODE aValue)
 
template<>
JOB_EXPORT_PCB_SVG::GEN_MODE FromProtoEnum (BoardJobPaginationMode aValue)
 
template<>
BoardJobPaginationMode ToProtoEnum (JOB_EXPORT_PCB_DXF::GEN_MODE aValue)
 
template<>
JOB_EXPORT_PCB_DXF::GEN_MODE FromProtoEnum (BoardJobPaginationMode aValue)
 
template<>
BoardJobPaginationMode ToProtoEnum (JOB_EXPORT_PCB_PDF::GEN_MODE aValue)
 
template<>
JOB_EXPORT_PCB_PDF::GEN_MODE FromProtoEnum (BoardJobPaginationMode aValue)
 
template<>
BoardJobPaginationMode ToProtoEnum (JOB_EXPORT_PCB_PS::GEN_MODE aValue)
 
template<>
JOB_EXPORT_PCB_PS::GEN_MODE FromProtoEnum (BoardJobPaginationMode aValue)
 
template<>
BoardJobPaginationMode ToProtoEnum (JOB_EXPORT_PCB_PNG::GEN_MODE aValue)
 
template<>
JOB_EXPORT_PCB_PNG::GEN_MODE FromProtoEnum (BoardJobPaginationMode aValue)
 
template<>
DrillFormat ToProtoEnum (JOB_EXPORT_PCB_DRILL::DRILL_FORMAT aValue)
 
template<>
JOB_EXPORT_PCB_DRILL::DRILL_FORMAT FromProtoEnum (DrillFormat aValue)
 
template<>
DrillOrigin ToProtoEnum (JOB_EXPORT_PCB_DRILL::DRILL_ORIGIN aValue)
 
template<>
JOB_EXPORT_PCB_DRILL::DRILL_ORIGIN FromProtoEnum (DrillOrigin aValue)
 
template<>
DrillZerosFormat ToProtoEnum (JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT aValue)
 
template<>
JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT FromProtoEnum (DrillZerosFormat aValue)
 
template<>
DrillMapFormat ToProtoEnum (JOB_EXPORT_PCB_DRILL::MAP_FORMAT aValue)
 
template<>
JOB_EXPORT_PCB_DRILL::MAP_FORMAT FromProtoEnum (DrillMapFormat aValue)
 
template<>
kiapi::common::types::Units ToProtoEnum (JOB_EXPORT_PCB_DRILL::DRILL_UNITS aValue)
 
template<>
JOB_EXPORT_PCB_DRILL::DRILL_UNITS FromProtoEnum (kiapi::common::types::Units aValue)
 
template<>
PositionSide ToProtoEnum (JOB_EXPORT_PCB_POS::SIDE aValue)
 
template<>
JOB_EXPORT_PCB_POS::SIDE FromProtoEnum (PositionSide aValue)
 
template<>
PositionFormat ToProtoEnum (JOB_EXPORT_PCB_POS::FORMAT aValue)
 
template<>
JOB_EXPORT_PCB_POS::FORMAT FromProtoEnum (PositionFormat aValue)
 
template<>
Ipc2581Version ToProtoEnum (JOB_EXPORT_PCB_IPC2581::IPC2581_VERSION aValue)
 
template<>
JOB_EXPORT_PCB_IPC2581::IPC2581_VERSION FromProtoEnum (Ipc2581Version aValue)
 
template<>
OdbCompression ToProtoEnum (JOB_EXPORT_PCB_ODB::ODB_COMPRESSION aValue)
 
template<>
JOB_EXPORT_PCB_ODB::ODB_COMPRESSION FromProtoEnum (OdbCompression aValue)
 
template<>
OdbVariantPackaging ToProtoEnum (JOB_EXPORT_PCB_ODB::VARIANT_PACKAGING aValue)
 
template<>
OdbOrigin ToProtoEnum (JOB_EXPORT_PCB_ODB::ORIGIN aValue)
 
template<>
JOB_EXPORT_PCB_ODB::ORIGIN FromProtoEnum (OdbOrigin aValue)
 
template<>
FabDataSet ToProtoEnum (JOB_EXPORT_PCB_FAB::DATA_SET aValue)
 
template<>
JOB_EXPORT_PCB_FAB::DATA_SET FromProtoEnum (FabDataSet aValue)
 
template<>
FabNetNamePolicy ToProtoEnum (JOB_EXPORT_PCB_FAB::NET_NAMES aValue)
 
template<>
JOB_EXPORT_PCB_FAB::NET_NAMES FromProtoEnum (FabNetNamePolicy aValue)
 
template<>
Ipc2581RefDes ToProtoEnum (JOB_EXPORT_PCB_IPC2581::REF_DES aValue)
 
template<>
JOB_EXPORT_PCB_IPC2581::REF_DES FromProtoEnum (Ipc2581RefDes aValue)
 
template<>
JOB_EXPORT_PCB_ODB::VARIANT_PACKAGING FromProtoEnum (OdbVariantPackaging aValue)
 
template<>
StatsOutputFormat ToProtoEnum (JOB_EXPORT_PCB_STATS::OUTPUT_FORMAT aValue)
 
template<>
JOB_EXPORT_PCB_STATS::OUTPUT_FORMAT FromProtoEnum (StatsOutputFormat aValue)
 
template<>
kiapi::common::types::Units ToProtoEnum (JOB_EXPORT_PCB_DXF::DXF_UNITS aValue)
 
template<>
JOB_EXPORT_PCB_DXF::DXF_UNITS FromProtoEnum (kiapi::common::types::Units aValue)
 
template<>
kiapi::common::types::Units ToProtoEnum (JOB_EXPORT_PCB_POS::UNITS aValue)
 
template<>
JOB_EXPORT_PCB_POS::UNITS FromProtoEnum (kiapi::common::types::Units aValue)
 
template<>
kiapi::common::types::Units ToProtoEnum (JOB_EXPORT_PCB_FAB::UNITS aValue)
 
template<>
JOB_EXPORT_PCB_FAB::UNITS FromProtoEnum (kiapi::common::types::Units aValue)
 
template<>
kiapi::common::types::Units ToProtoEnum (IDF_SETTINGS::UNITS aValue)
 
template<>
IDF_SETTINGS::UNITS FromProtoEnum (kiapi::common::types::Units aValue)
 
template<>
IdfOriginMode ToProtoEnum (IDF_SETTINGS::COORD_ORIGIN aValue)
 
template<>
IDF_SETTINGS::COORD_ORIGIN FromProtoEnum (IdfOriginMode aValue)
 
template<>
kiapi::common::types::Units ToProtoEnum (JOB_EXPORT_PCB_STATS::UNITS aValue)
 
template<>
JOB_EXPORT_PCB_STATS::UNITS FromProtoEnum (kiapi::common::types::Units aValue)
 
template<>
DrcErrorType ToProtoEnum (PCB_DRC_CODE aValue)
 
template<>
PCB_DRC_CODE FromProtoEnum (DrcErrorType aValue)
 
template<>
types::ConstraintType ToProtoEnum (PCB_CONSTRAINT_TYPE aValue)
 
template<>
PCB_CONSTRAINT_TYPE FromProtoEnum (types::ConstraintType aValue)
 
template<>
types::ConstraintAnchor ToProtoEnum (CONSTRAINT_ANCHOR aValue)
 
template<>
CONSTRAINT_ANCHOR FromProtoEnum (types::ConstraintAnchor aValue)
 
template<>
types::TuningPatternMode ToProtoEnum (LENGTH_TUNING_MODE aValue)
 
template<>
LENGTH_TUNING_MODE FromProtoEnum (types::TuningPatternMode aValue)
 
template<>
types::TuningPatternMeanderSide ToProtoEnum (PNS::MEANDER_SIDE aValue)
 
template<>
PNS::MEANDER_SIDE FromProtoEnum (types::TuningPatternMeanderSide aValue)
 
template<>
types::TuningPatternCornerStyle ToProtoEnum (PNS::MEANDER_STYLE aValue)
 
template<>
PNS::MEANDER_STYLE FromProtoEnum (types::TuningPatternCornerStyle aValue)
 
template<>
types::TuningPatternStatus ToProtoEnum (PNS::MEANDER_PLACER_BASE::TUNING_STATUS aValue)
 
template<>
PNS::MEANDER_PLACER_BASE::TUNING_STATUS FromProtoEnum (types::TuningPatternStatus aValue)
 
template<>
types::ViaStitchLayout ToProtoEnum (PCB_VIA_STITCH_LAYOUT aValue)
 
template<>
PCB_VIA_STITCH_LAYOUT FromProtoEnum (types::ViaStitchLayout aValue)
 
template<>
types::ViaStitchMode ToProtoEnum (PCB_VIA_STITCH_MODE aValue)
 
template<>
PCB_VIA_STITCH_MODE FromProtoEnum (types::ViaStitchMode aValue)
 
template<>
types::ViaStackStyle ToProtoEnum (VIA_STACK_STYLE aValue)
 
template<>
VIA_STACK_STYLE FromProtoEnum (types::ViaStackStyle aValue)
 

Function Documentation

◆ FromProtoEnum() [1/75]

◆ FromProtoEnum() [2/75]

template<>
BS_EDGE_CONNECTOR_CONSTRAINTS FromProtoEnum ( BoardEdgeConnectorType aValue)

◆ FromProtoEnum() [3/75]

template<>
JOB_EXPORT_PCB_SVG::GEN_MODE FromProtoEnum ( BoardJobPaginationMode aValue)

Definition at line 1549 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_SVG::MULTI, and JOB_EXPORT_PCB_SVG::SINGLE.

◆ FromProtoEnum() [4/75]

template<>
JOB_EXPORT_PCB_DXF::GEN_MODE FromProtoEnum ( BoardJobPaginationMode aValue)

Definition at line 1580 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_DXF::MULTI, and JOB_EXPORT_PCB_DXF::SINGLE.

◆ FromProtoEnum() [5/75]

◆ FromProtoEnum() [6/75]

template<>
JOB_EXPORT_PCB_PS::GEN_MODE FromProtoEnum ( BoardJobPaginationMode aValue)

Definition at line 1647 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_PS::MULTI, and JOB_EXPORT_PCB_PS::SINGLE.

◆ FromProtoEnum() [7/75]

template<>
JOB_EXPORT_PCB_PNG::GEN_MODE FromProtoEnum ( BoardJobPaginationMode aValue)

Definition at line 1678 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_PNG::MULTI, and JOB_EXPORT_PCB_PNG::SINGLE.

◆ FromProtoEnum() [8/75]

◆ FromProtoEnum() [9/75]

template<>
HIGH_CONTRAST_MODE FromProtoEnum ( commands::InactiveLayerDisplayMode aValue)

Definition at line 1083 of file api_pcb_enums.cpp.

References DIMMED, HIDDEN, and NORMAL.

◆ FromProtoEnum() [10/75]

template<>
NET_COLOR_MODE FromProtoEnum ( commands::NetColorDisplayMode aValue)

Definition at line 1116 of file api_pcb_enums.cpp.

References ALL, OFF, and RATSNEST.

◆ FromProtoEnum() [11/75]

template<>
RATSNEST_MODE FromProtoEnum ( commands::RatsnestDisplayMode aValue)

Definition at line 1148 of file api_pcb_enums.cpp.

References ALL, and VISIBLE.

◆ FromProtoEnum() [12/75]

template<>
DRC_CONSTRAINT::OPTIONS FromProtoEnum ( CustomRuleConstraintOption aValue)

◆ FromProtoEnum() [13/75]

◆ FromProtoEnum() [14/75]

◆ FromProtoEnum() [15/75]

template<>
DIELECTRIC_MODEL FromProtoEnum ( DielectricModel aValue)

Definition at line 1217 of file api_pcb_enums.cpp.

References CONSTANT, and DJORDJEVIC_SARKAR.

◆ FromProtoEnum() [16/75]

template<>
PCB_DRC_CODE FromProtoEnum ( DrcErrorType aValue)

Definition at line 2425 of file api_pcb_enums.cpp.

References DRCE_ALLOWED_ITEMS, DRCE_ANNULAR_WIDTH, DRCE_ASSERTION_FAILURE, DRCE_CLEARANCE, DRCE_CONNECTION_WIDTH, DRCE_COPPER_SLIVER, DRCE_CREEPAGE, DRCE_DANGLING_TRACK, DRCE_DANGLING_VIA, DRCE_DISABLED_LAYER_ITEM, DRCE_DP_GAP_OUT_OF_RANGE, DRCE_DP_UNCOUPLED_LENGTH_TOO_LONG, DRCE_DRILL_OUT_OF_RANGE, DRCE_DRILLED_HOLES_COLOCATED, DRCE_DRILLED_HOLES_TOO_CLOSE, DRCE_DUPLICATE_FOOTPRINT, DRCE_EDGE_CLEARANCE, DRCE_EXTRA_FOOTPRINT, DRCE_FOOTPRINT, DRCE_FOOTPRINT_FILTERS, DRCE_FOOTPRINT_SCALED_WITH_PADS, DRCE_FOOTPRINT_TYPE_MISMATCH, DRCE_GENERIC_ERROR, DRCE_GENERIC_WARNING, DRCE_HOLE_CLEARANCE, DRCE_INVALID_OUTLINE, DRCE_ISOLATED_COPPER, DRCE_LENGTH_OUT_OF_RANGE, DRCE_LIB_FOOTPRINT_ISSUES, DRCE_LIB_FOOTPRINT_MISMATCH, DRCE_MALFORMED_COURTYARD, DRCE_MALFORMED_MICROVIA_STACK_SPAN, DRCE_MICROVIA_ASPECT_RATIO, DRCE_MICROVIA_CROSSES_CORE, DRCE_MICROVIA_DRILL_OUT_OF_RANGE, DRCE_MICROVIA_STACK_DEPTH, DRCE_MICROVIA_STACK_NOT_FILLED, DRCE_MIRRORED_TEXT_ON_FRONT_LAYER, DRCE_MISSING_COURTYARD, DRCE_MISSING_FOOTPRINT, DRCE_MISSING_TUNING_PROFILE, DRCE_NET_CHAIN_RETURN_PATH_BREAK, DRCE_NET_CHAIN_STUB_TOO_LONG, DRCE_NET_CHAIN_TUNING_PROFILES, DRCE_NET_CONFLICT, DRCE_NPTH_IN_COURTYARD, DRCE_OVERLAPPING_FOOTPRINTS, DRCE_PAD_TH_WITH_NO_HOLE, DRCE_PADSTACK, DRCE_PADSTACK_INVALID, DRCE_PTH_IN_COURTYARD, DRCE_SCHEMATIC_FIELDS_PARITY, DRCE_SCHEMATIC_PARITY, DRCE_SHORTING_ITEMS, DRCE_SILK_CLEARANCE, DRCE_SILK_EDGE_CLEARANCE, DRCE_SILK_MASK_CLEARANCE, DRCE_SKEW_OUT_OF_RANGE, DRCE_SOLDERMASK_BRIDGE, DRCE_STARVED_THERMAL, DRCE_TEXT_HEIGHT, DRCE_TEXT_ON_EDGECUTS, DRCE_TEXT_THICKNESS, DRCE_TRACK_ANGLE, DRCE_TRACK_NOT_CENTERED_ON_VIA, DRCE_TRACK_ON_POST_MACHINED_LAYER, DRCE_TRACK_SEGMENT_LENGTH, DRCE_TRACK_WIDTH, DRCE_TRACKS_CROSSING, DRCE_TUNING_PROFILE_IMPLICIT_RULES, DRCE_UNCONNECTED_ITEMS, DRCE_UNMIRRORED_TEXT_ON_BACK_LAYER, DRCE_UNRESOLVED_VARIABLE, DRCE_VIA_COUNT_OUT_OF_RANGE, DRCE_VIA_DIAMETER, and DRCE_ZONES_INTERSECT.

◆ FromProtoEnum() [17/75]

◆ FromProtoEnum() [18/75]

template<>
JOB_EXPORT_PCB_DRILL::DRILL_FORMAT FromProtoEnum ( DrillFormat aValue)

◆ FromProtoEnum() [19/75]

◆ FromProtoEnum() [20/75]

template<>
JOB_EXPORT_PCB_DRILL::DRILL_ORIGIN FromProtoEnum ( DrillOrigin aValue)

Definition at line 1737 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_DRILL::ABS, and JOB_EXPORT_PCB_DRILL::PLOT.

◆ FromProtoEnum() [21/75]

◆ FromProtoEnum() [22/75]

◆ FromProtoEnum() [23/75]

template<>
JOB_EXPORT_PCB_FAB::NET_NAMES FromProtoEnum ( FabNetNamePolicy aValue)

◆ FromProtoEnum() [24/75]

template<>
IDF_SETTINGS::COORD_ORIGIN FromProtoEnum ( IdfOriginMode aValue)

◆ FromProtoEnum() [25/75]

template<>
JOB_EXPORT_PCB_IPC2581::REF_DES FromProtoEnum ( Ipc2581RefDes aValue)

◆ FromProtoEnum() [26/75]

template<>
JOB_EXPORT_PCB_IPC2581::IPC2581_VERSION FromProtoEnum ( Ipc2581Version aValue)

Definition at line 1939 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_IPC2581::B, and JOB_EXPORT_PCB_IPC2581::C.

◆ FromProtoEnum() [27/75]

template<>
TARGET_TD FromProtoEnum ( kiapi::board::TeardropTarget aValue)

Definition at line 837 of file api_pcb_enums.cpp.

References TARGET_RECT, TARGET_ROUND, TARGET_TRACK, and TARGET_UNKNOWN.

◆ FromProtoEnum() [28/75]

template<>
JOB_EXPORT_PCB_3D::VRML_UNITS FromProtoEnum ( kiapi::common::types::Units aValue)

◆ FromProtoEnum() [29/75]

template<>
JOB_EXPORT_PCB_DRILL::DRILL_UNITS FromProtoEnum ( kiapi::common::types::Units aValue)

Definition at line 1849 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_DRILL::INCH, and JOB_EXPORT_PCB_DRILL::MM.

◆ FromProtoEnum() [30/75]

template<>
JOB_EXPORT_PCB_DXF::DXF_UNITS FromProtoEnum ( kiapi::common::types::Units aValue)

Definition at line 2169 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_DXF::INCH, and JOB_EXPORT_PCB_DXF::MM.

◆ FromProtoEnum() [31/75]

template<>
JOB_EXPORT_PCB_POS::UNITS FromProtoEnum ( kiapi::common::types::Units aValue)

Definition at line 2199 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_POS::INCH, and JOB_EXPORT_PCB_POS::MM.

◆ FromProtoEnum() [32/75]

template<>
JOB_EXPORT_PCB_FAB::UNITS FromProtoEnum ( kiapi::common::types::Units aValue)

Definition at line 2229 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_FAB::INCH, and JOB_EXPORT_PCB_FAB::MM.

◆ FromProtoEnum() [33/75]

template<>
IDF_SETTINGS::UNITS FromProtoEnum ( kiapi::common::types::Units aValue)

Definition at line 2259 of file api_pcb_enums.cpp.

References IDF_SETTINGS::MILS, and IDF_SETTINGS::MM.

◆ FromProtoEnum() [34/75]

template<>
JOB_EXPORT_PCB_STATS::UNITS FromProtoEnum ( kiapi::common::types::Units aValue)

Definition at line 2322 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_STATS::INCH, and JOB_EXPORT_PCB_STATS::MM.

◆ FromProtoEnum() [35/75]

template<>
JOB_EXPORT_PCB_ODB::ODB_COMPRESSION FromProtoEnum ( OdbCompression aValue)

◆ FromProtoEnum() [36/75]

template<>
JOB_EXPORT_PCB_ODB::ORIGIN FromProtoEnum ( OdbOrigin aValue)

◆ FromProtoEnum() [37/75]

template<>
JOB_EXPORT_PCB_ODB::VARIANT_PACKAGING FromProtoEnum ( OdbVariantPackaging aValue)

◆ FromProtoEnum() [38/75]

template<>
DRILL_MARKS FromProtoEnum ( PlotDrillMarks aValue)

Definition at line 1318 of file api_pcb_enums.cpp.

References FULL_DRILL_SHAPE, NO_DRILL_SHAPE, and SMALL_DRILL_SHAPE.

◆ FromProtoEnum() [39/75]

template<>
JOB_EXPORT_PCB_POS::FORMAT FromProtoEnum ( PositionFormat aValue)

◆ FromProtoEnum() [40/75]

template<>
JOB_EXPORT_PCB_POS::SIDE FromProtoEnum ( PositionSide aValue)

◆ FromProtoEnum() [41/75]

template<>
JOB_PCB_RENDER::BG_STYLE FromProtoEnum ( RenderBackgroundStyle aValue)

◆ FromProtoEnum() [42/75]

template<>
JOB_PCB_RENDER::FORMAT FromProtoEnum ( RenderFormat aValue)

Definition at line 1423 of file api_pcb_enums.cpp.

References JOB_PCB_RENDER::JPEG, and JOB_PCB_RENDER::PNG.

◆ FromProtoEnum() [43/75]

template<>
JOB_PCB_RENDER::QUALITY FromProtoEnum ( RenderQuality aValue)

◆ FromProtoEnum() [44/75]

◆ FromProtoEnum() [45/75]

template<>
JOB_EXPORT_PCB_STATS::OUTPUT_FORMAT FromProtoEnum ( StatsOutputFormat aValue)

Definition at line 2141 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_STATS::JSON, and JOB_EXPORT_PCB_STATS::REPORT.

◆ FromProtoEnum() [46/75]

template<>
CONSTRAINT_ANCHOR FromProtoEnum ( types::ConstraintAnchor aValue)

Definition at line 2598 of file api_pcb_enums.cpp.

References CENTER, END, MID, RADIUS, START, VERTEX, and WHOLE.

◆ FromProtoEnum() [47/75]

◆ FromProtoEnum() [48/75]

template<>
DIM_ARROW_DIRECTION FromProtoEnum ( types::DimensionArrowDirection aValue)

Definition at line 936 of file api_pcb_enums.cpp.

References INWARD, and OUTWARD.

◆ FromProtoEnum() [49/75]

template<>
DIM_PRECISION FromProtoEnum ( types::DimensionPrecision aValue)

Definition at line 975 of file api_pcb_enums.cpp.

References V_VV, V_VVV, V_VVVV, V_VVVVV, X, X_X, X_XX, X_XXX, X_XXXX, and X_XXXXX.

◆ FromProtoEnum() [50/75]

template<>
DIM_TEXT_BORDER FromProtoEnum ( types::DimensionTextBorderStyle aValue)

Definition at line 870 of file api_pcb_enums.cpp.

References CIRCLE, NONE, RECTANGLE, and ROUNDRECT.

◆ FromProtoEnum() [51/75]

template<>
DIM_TEXT_POSITION FromProtoEnum ( types::DimensionTextPosition aValue)

Definition at line 1015 of file api_pcb_enums.cpp.

References INLINE, MANUAL, and OUTSIDE.

◆ FromProtoEnum() [52/75]

template<>
DIM_UNITS_MODE FromProtoEnum ( types::DimensionUnit aValue)

Definition at line 1049 of file api_pcb_enums.cpp.

References AUTOMATIC, INCH, MILS, and MM.

◆ FromProtoEnum() [53/75]

template<>
DIM_UNITS_FORMAT FromProtoEnum ( types::DimensionUnitFormat aValue)

Definition at line 904 of file api_pcb_enums.cpp.

References BARE_SUFFIX, NO_SUFFIX, and PAREN_SUFFIX.

◆ FromProtoEnum() [54/75]

template<>
PAD_DRILL_SHAPE FromProtoEnum ( types::DrillShape aValue)

Definition at line 115 of file api_pcb_enums.cpp.

References CIRCLE, OBLONG, and UNDEFINED.

◆ FromProtoEnum() [55/75]

template<>
ISLAND_REMOVAL_MODE FromProtoEnum ( types::IslandRemovalMode aValue)

Definition at line 586 of file api_pcb_enums.cpp.

References ALWAYS, AREA, and NEVER.

◆ FromProtoEnum() [56/75]

template<>
PAD_PROP FromProtoEnum ( types::PadFabricationProperty aValue)

◆ FromProtoEnum() [57/75]

template<>
PAD_SHAPE FromProtoEnum ( types::PadStackShape aValue)

Definition at line 150 of file api_pcb_enums.cpp.

References CHAMFERED_RECT, CIRCLE, CUSTOM, OVAL, RECTANGLE, ROUNDRECT, and TRAPEZOID.

◆ FromProtoEnum() [58/75]

template<>
PADSTACK::MODE FromProtoEnum ( types::PadStackType aValue)

Definition at line 187 of file api_pcb_enums.cpp.

References PADSTACK::CUSTOM, PADSTACK::FRONT_INNER_BACK, and PADSTACK::NORMAL.

◆ FromProtoEnum() [59/75]

template<>
PAD_ATTRIB FromProtoEnum ( types::PadType aValue)

Definition at line 84 of file api_pcb_enums.cpp.

References CONN, NPTH, PTH, and SMD.

◆ FromProtoEnum() [60/75]

template<>
PLACEMENT_SOURCE_T FromProtoEnum ( types::PlacementRuleSourceType aValue)

Definition at line 761 of file api_pcb_enums.cpp.

References COMPONENT_CLASS, DESIGN_BLOCK, GROUP_PLACEMENT, and SHEETNAME.

◆ FromProtoEnum() [61/75]

template<>
THIEVING_PATTERN FromProtoEnum ( types::ThievingPattern aValue)

Definition at line 685 of file api_pcb_enums.cpp.

References DOTS, HATCH, and SQUARES.

◆ FromProtoEnum() [62/75]

template<>
PNS::MEANDER_STYLE FromProtoEnum ( types::TuningPatternCornerStyle aValue)

Definition at line 2702 of file api_pcb_enums.cpp.

References PNS::MEANDER_STYLE_CHAMFER, and PNS::MEANDER_STYLE_ROUND.

◆ FromProtoEnum() [63/75]

template<>
PNS::MEANDER_SIDE FromProtoEnum ( types::TuningPatternMeanderSide aValue)

◆ FromProtoEnum() [64/75]

template<>
LENGTH_TUNING_MODE FromProtoEnum ( types::TuningPatternMode aValue)

Definition at line 2635 of file api_pcb_enums.cpp.

References DIFF_PAIR, DIFF_PAIR_SKEW, and SINGLE.

◆ FromProtoEnum() [65/75]

template<>
PNS::MEANDER_PLACER_BASE::TUNING_STATUS FromProtoEnum ( types::TuningPatternStatus aValue)

◆ FromProtoEnum() [66/75]

template<>
UNCONNECTED_LAYER_MODE FromProtoEnum ( types::UnconnectedLayerRemoval aValue)

Definition at line 545 of file api_pcb_enums.cpp.

References KEEP_ALL, REMOVE_ALL, REMOVE_EXCEPT_START_AND_END, and START_END_ONLY.

◆ FromProtoEnum() [67/75]

template<>
VIA_STACK_STYLE FromProtoEnum ( types::ViaStackStyle aValue)

Definition at line 2833 of file api_pcb_enums.cpp.

References STACKED, and STAGGERED.

◆ FromProtoEnum() [68/75]

template<>
PCB_VIA_STITCH_LAYOUT FromProtoEnum ( types::ViaStitchLayout aValue)

Definition at line 2768 of file api_pcb_enums.cpp.

References PLAIN, POISSON, and STAGGERED.

◆ FromProtoEnum() [69/75]

template<>
PCB_VIA_STITCH_MODE FromProtoEnum ( types::ViaStitchMode aValue)

Definition at line 2801 of file api_pcb_enums.cpp.

References GUARD, and STITCH.

◆ FromProtoEnum() [70/75]

template<>
VIATYPE FromProtoEnum ( types::ViaType aValue)

Definition at line 266 of file api_pcb_enums.cpp.

References BLIND, BURIED, MICROVIA, and THROUGH.

◆ FromProtoEnum() [71/75]

template<>
ZONE_BORDER_DISPLAY_STYLE FromProtoEnum ( types::ZoneBorderStyle aValue)

Definition at line 719 of file api_pcb_enums.cpp.

References DIAGONAL_EDGE, DIAGONAL_FULL, INVISIBLE_BORDER, and NO_HATCH.

◆ FromProtoEnum() [72/75]

template<>
ZONE_CONNECTION FromProtoEnum ( types::ZoneConnectionStyle aValue)

Definition at line 303 of file api_pcb_enums.cpp.

References FULL, INHERITED, NONE, THERMAL, and THT_THERMAL.

◆ FromProtoEnum() [73/75]

template<>
ZONE_SETTINGS::CORNER_SMOOTHING FromProtoEnum ( types::ZoneCornerSmoothingMode aValue)

◆ FromProtoEnum() [74/75]

template<>
ZONE_FILL_MODE FromProtoEnum ( types::ZoneFillMode aValue)

Definition at line 619 of file api_pcb_enums.cpp.

References COPPER_THIEVING, HATCH_PATTERN, and POLYGONS.

◆ FromProtoEnum() [75/75]

template<>
TEARDROP_TYPE FromProtoEnum ( types::ZoneTeardropType aValue)

Definition at line 803 of file api_pcb_enums.cpp.

References TD_NONE, TD_TRACKEND, TD_UNSPECIFIED, and TD_VIAPAD.

◆ ToProtoEnum() [1/75]

◆ ToProtoEnum() [2/75]

template<>
BoardEdgeConnectorType ToProtoEnum ( BS_EDGE_CONNECTOR_CONSTRAINTS aValue)

◆ ToProtoEnum() [3/75]

template<>
types::ConstraintAnchor ToProtoEnum ( CONSTRAINT_ANCHOR aValue)

Definition at line 2578 of file api_pcb_enums.cpp.

References CENTER, END, MID, RADIUS, START, VERTEX, and WHOLE.

◆ ToProtoEnum() [4/75]

template<>
DielectricModel ToProtoEnum ( DIELECTRIC_MODEL aValue)

Definition at line 1202 of file api_pcb_enums.cpp.

References CONSTANT, and DJORDJEVIC_SARKAR.

◆ ToProtoEnum() [5/75]

template<>
types::DimensionArrowDirection ToProtoEnum ( DIM_ARROW_DIRECTION aValue)

Definition at line 921 of file api_pcb_enums.cpp.

References INWARD, and OUTWARD.

◆ ToProtoEnum() [6/75]

template<>
types::DimensionPrecision ToProtoEnum ( DIM_PRECISION aValue)

Definition at line 952 of file api_pcb_enums.cpp.

References V_VV, V_VVV, V_VVVV, V_VVVVV, X, X_X, X_XX, X_XXX, X_XXXX, and X_XXXXX.

◆ ToProtoEnum() [7/75]

template<>
types::DimensionTextBorderStyle ToProtoEnum ( DIM_TEXT_BORDER aValue)

Definition at line 853 of file api_pcb_enums.cpp.

References CIRCLE, NONE, RECTANGLE, and ROUNDRECT.

◆ ToProtoEnum() [8/75]

template<>
types::DimensionTextPosition ToProtoEnum ( DIM_TEXT_POSITION aValue)

Definition at line 999 of file api_pcb_enums.cpp.

References INLINE, MANUAL, and OUTSIDE.

◆ ToProtoEnum() [9/75]

template<>
types::DimensionUnitFormat ToProtoEnum ( DIM_UNITS_FORMAT aValue)

Definition at line 888 of file api_pcb_enums.cpp.

References BARE_SUFFIX, NO_SUFFIX, and PAREN_SUFFIX.

◆ ToProtoEnum() [10/75]

template<>
types::DimensionUnit ToProtoEnum ( DIM_UNITS_MODE aValue)

Definition at line 1032 of file api_pcb_enums.cpp.

References AUTOMATIC, INCH, MILS, and MM.

◆ ToProtoEnum() [11/75]

template<>
CustomRuleConstraintOption ToProtoEnum ( DRC_CONSTRAINT::OPTIONS aValue)

◆ ToProtoEnum() [12/75]

◆ ToProtoEnum() [13/75]

◆ ToProtoEnum() [14/75]

template<>
PlotDrillMarks ToProtoEnum ( DRILL_MARKS aValue)

Definition at line 1303 of file api_pcb_enums.cpp.

References FULL_DRILL_SHAPE, NO_DRILL_SHAPE, and SMALL_DRILL_SHAPE.

◆ ToProtoEnum() [15/75]

template<>
commands::InactiveLayerDisplayMode ToProtoEnum ( HIGH_CONTRAST_MODE aValue)

Definition at line 1067 of file api_pcb_enums.cpp.

References DIMMED, HIDDEN, and NORMAL.

◆ ToProtoEnum() [16/75]

template<>
IdfOriginMode ToProtoEnum ( IDF_SETTINGS::COORD_ORIGIN aValue)

◆ ToProtoEnum() [17/75]

template<>
kiapi::common::types::Units ToProtoEnum ( IDF_SETTINGS::UNITS aValue)

Definition at line 2245 of file api_pcb_enums.cpp.

References IDF_SETTINGS::MILS, and IDF_SETTINGS::MM.

◆ ToProtoEnum() [18/75]

template<>
types::IslandRemovalMode ToProtoEnum ( ISLAND_REMOVAL_MODE aValue)

Definition at line 570 of file api_pcb_enums.cpp.

References ALWAYS, AREA, and NEVER.

◆ ToProtoEnum() [19/75]

◆ ToProtoEnum() [20/75]

template<>
kiapi::common::types::Units ToProtoEnum ( JOB_EXPORT_PCB_3D::VRML_UNITS aValue)

◆ ToProtoEnum() [21/75]

template<>
DrillFormat ToProtoEnum ( JOB_EXPORT_PCB_DRILL::DRILL_FORMAT aValue)

◆ ToProtoEnum() [22/75]

template<>
DrillOrigin ToProtoEnum ( JOB_EXPORT_PCB_DRILL::DRILL_ORIGIN aValue)

Definition at line 1723 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_DRILL::ABS, and JOB_EXPORT_PCB_DRILL::PLOT.

◆ ToProtoEnum() [23/75]

template<>
kiapi::common::types::Units ToProtoEnum ( JOB_EXPORT_PCB_DRILL::DRILL_UNITS aValue)

Definition at line 1835 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_DRILL::INCH, and JOB_EXPORT_PCB_DRILL::MM.

◆ ToProtoEnum() [24/75]

◆ ToProtoEnum() [25/75]

◆ ToProtoEnum() [26/75]

template<>
kiapi::common::types::Units ToProtoEnum ( JOB_EXPORT_PCB_DXF::DXF_UNITS aValue)

Definition at line 2155 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_DXF::INCH, and JOB_EXPORT_PCB_DXF::MM.

◆ ToProtoEnum() [27/75]

template<>
BoardJobPaginationMode ToProtoEnum ( JOB_EXPORT_PCB_DXF::GEN_MODE aValue)

Definition at line 1566 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_DXF::MULTI, and JOB_EXPORT_PCB_DXF::SINGLE.

◆ ToProtoEnum() [28/75]

◆ ToProtoEnum() [29/75]

template<>
FabNetNamePolicy ToProtoEnum ( JOB_EXPORT_PCB_FAB::NET_NAMES aValue)

◆ ToProtoEnum() [30/75]

template<>
kiapi::common::types::Units ToProtoEnum ( JOB_EXPORT_PCB_FAB::UNITS aValue)

Definition at line 2215 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_FAB::INCH, and JOB_EXPORT_PCB_FAB::MM.

◆ ToProtoEnum() [31/75]

template<>
Ipc2581Version ToProtoEnum ( JOB_EXPORT_PCB_IPC2581::IPC2581_VERSION aValue)

Definition at line 1925 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_IPC2581::B, and JOB_EXPORT_PCB_IPC2581::C.

◆ ToProtoEnum() [32/75]

template<>
Ipc2581RefDes ToProtoEnum ( JOB_EXPORT_PCB_IPC2581::REF_DES aValue)

◆ ToProtoEnum() [33/75]

template<>
OdbCompression ToProtoEnum ( JOB_EXPORT_PCB_ODB::ODB_COMPRESSION aValue)

◆ ToProtoEnum() [34/75]

template<>
OdbOrigin ToProtoEnum ( JOB_EXPORT_PCB_ODB::ORIGIN aValue)

◆ ToProtoEnum() [35/75]

template<>
OdbVariantPackaging ToProtoEnum ( JOB_EXPORT_PCB_ODB::VARIANT_PACKAGING aValue)

◆ ToProtoEnum() [36/75]

◆ ToProtoEnum() [37/75]

template<>
BoardJobPaginationMode ToProtoEnum ( JOB_EXPORT_PCB_PNG::GEN_MODE aValue)

Definition at line 1664 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_PNG::MULTI, and JOB_EXPORT_PCB_PNG::SINGLE.

◆ ToProtoEnum() [38/75]

template<>
PositionFormat ToProtoEnum ( JOB_EXPORT_PCB_POS::FORMAT aValue)

◆ ToProtoEnum() [39/75]

template<>
PositionSide ToProtoEnum ( JOB_EXPORT_PCB_POS::SIDE aValue)

◆ ToProtoEnum() [40/75]

template<>
kiapi::common::types::Units ToProtoEnum ( JOB_EXPORT_PCB_POS::UNITS aValue)

Definition at line 2185 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_POS::INCH, and JOB_EXPORT_PCB_POS::MM.

◆ ToProtoEnum() [41/75]

template<>
BoardJobPaginationMode ToProtoEnum ( JOB_EXPORT_PCB_PS::GEN_MODE aValue)

Definition at line 1633 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_PS::MULTI, and JOB_EXPORT_PCB_PS::SINGLE.

◆ ToProtoEnum() [42/75]

template<>
StatsOutputFormat ToProtoEnum ( JOB_EXPORT_PCB_STATS::OUTPUT_FORMAT aValue)

Definition at line 2127 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_STATS::JSON, and JOB_EXPORT_PCB_STATS::REPORT.

◆ ToProtoEnum() [43/75]

template<>
kiapi::common::types::Units ToProtoEnum ( JOB_EXPORT_PCB_STATS::UNITS aValue)

Definition at line 2308 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_STATS::INCH, and JOB_EXPORT_PCB_STATS::MM.

◆ ToProtoEnum() [44/75]

template<>
BoardJobPaginationMode ToProtoEnum ( JOB_EXPORT_PCB_SVG::GEN_MODE aValue)

Definition at line 1535 of file api_pcb_enums.cpp.

References JOB_EXPORT_PCB_SVG::MULTI, and JOB_EXPORT_PCB_SVG::SINGLE.

◆ ToProtoEnum() [45/75]

template<>
RenderBackgroundStyle ToProtoEnum ( JOB_PCB_RENDER::BG_STYLE aValue)

◆ ToProtoEnum() [46/75]

template<>
RenderFormat ToProtoEnum ( JOB_PCB_RENDER::FORMAT aValue)

Definition at line 1409 of file api_pcb_enums.cpp.

References JOB_PCB_RENDER::JPEG, and JOB_PCB_RENDER::PNG.

◆ ToProtoEnum() [47/75]

template<>
RenderQuality ToProtoEnum ( JOB_PCB_RENDER::QUALITY aValue)

◆ ToProtoEnum() [48/75]

◆ ToProtoEnum() [49/75]

template<>
types::TuningPatternMode ToProtoEnum ( LENGTH_TUNING_MODE aValue)

Definition at line 2619 of file api_pcb_enums.cpp.

References DIFF_PAIR, DIFF_PAIR_SKEW, and SINGLE.

◆ ToProtoEnum() [50/75]

template<>
commands::NetColorDisplayMode ToProtoEnum ( NET_COLOR_MODE aValue)

Definition at line 1100 of file api_pcb_enums.cpp.

References ALL, OFF, and RATSNEST.

◆ ToProtoEnum() [51/75]

template<>
types::PadType ToProtoEnum ( PAD_ATTRIB aValue)

Definition at line 67 of file api_pcb_enums.cpp.

References CONN, NPTH, PTH, and SMD.

◆ ToProtoEnum() [52/75]

template<>
types::DrillShape ToProtoEnum ( PAD_DRILL_SHAPE aValue)

Definition at line 101 of file api_pcb_enums.cpp.

References CIRCLE, OBLONG, and UNDEFINED.

◆ ToProtoEnum() [53/75]

template<>
types::PadFabricationProperty ToProtoEnum ( PAD_PROP aValue)

◆ ToProtoEnum() [54/75]

template<>
types::PadStackShape ToProtoEnum ( PAD_SHAPE aValue)

Definition at line 130 of file api_pcb_enums.cpp.

References CHAMFERED_RECT, CIRCLE, CUSTOM, OVAL, RECTANGLE, ROUNDRECT, and TRAPEZOID.

◆ ToProtoEnum() [55/75]

template<>
types::PadStackType ToProtoEnum ( PADSTACK::MODE aValue)

Definition at line 171 of file api_pcb_enums.cpp.

References PADSTACK::CUSTOM, PADSTACK::FRONT_INNER_BACK, and PADSTACK::NORMAL.

◆ ToProtoEnum() [56/75]

◆ ToProtoEnum() [57/75]

template<>
DrcErrorType ToProtoEnum ( PCB_DRC_CODE aValue)

Definition at line 2338 of file api_pcb_enums.cpp.

References DRCE_ALLOWED_ITEMS, DRCE_ANNULAR_WIDTH, DRCE_ASSERTION_FAILURE, DRCE_CLEARANCE, DRCE_CONNECTION_WIDTH, DRCE_COPPER_SLIVER, DRCE_CREEPAGE, DRCE_DANGLING_TRACK, DRCE_DANGLING_VIA, DRCE_DISABLED_LAYER_ITEM, DRCE_DP_GAP_OUT_OF_RANGE, DRCE_DP_UNCOUPLED_LENGTH_TOO_LONG, DRCE_DRILL_OUT_OF_RANGE, DRCE_DRILLED_HOLES_COLOCATED, DRCE_DRILLED_HOLES_TOO_CLOSE, DRCE_DUPLICATE_FOOTPRINT, DRCE_EDGE_CLEARANCE, DRCE_EXTRA_FOOTPRINT, DRCE_FOOTPRINT, DRCE_FOOTPRINT_FILTERS, DRCE_FOOTPRINT_SCALED_WITH_PADS, DRCE_FOOTPRINT_TYPE_MISMATCH, DRCE_GENERIC_ERROR, DRCE_GENERIC_WARNING, DRCE_HOLE_CLEARANCE, DRCE_INVALID_OUTLINE, DRCE_ISOLATED_COPPER, DRCE_LENGTH_OUT_OF_RANGE, DRCE_LIB_FOOTPRINT_ISSUES, DRCE_LIB_FOOTPRINT_MISMATCH, DRCE_MALFORMED_COURTYARD, DRCE_MALFORMED_MICROVIA_STACK_SPAN, DRCE_MICROVIA_ASPECT_RATIO, DRCE_MICROVIA_CROSSES_CORE, DRCE_MICROVIA_DRILL_OUT_OF_RANGE, DRCE_MICROVIA_STACK_DEPTH, DRCE_MICROVIA_STACK_NOT_FILLED, DRCE_MIRRORED_TEXT_ON_FRONT_LAYER, DRCE_MISSING_COURTYARD, DRCE_MISSING_FOOTPRINT, DRCE_MISSING_TUNING_PROFILE, DRCE_NET_CHAIN_RETURN_PATH_BREAK, DRCE_NET_CHAIN_STUB_TOO_LONG, DRCE_NET_CHAIN_TUNING_PROFILES, DRCE_NET_CONFLICT, DRCE_NPTH_IN_COURTYARD, DRCE_OVERLAPPING_FOOTPRINTS, DRCE_PAD_TH_WITH_NO_HOLE, DRCE_PADSTACK, DRCE_PADSTACK_INVALID, DRCE_PTH_IN_COURTYARD, DRCE_SCHEMATIC_FIELDS_PARITY, DRCE_SCHEMATIC_PARITY, DRCE_SHORTING_ITEMS, DRCE_SILK_CLEARANCE, DRCE_SILK_EDGE_CLEARANCE, DRCE_SILK_MASK_CLEARANCE, DRCE_SKEW_OUT_OF_RANGE, DRCE_SOLDERMASK_BRIDGE, DRCE_STARVED_THERMAL, DRCE_TEXT_HEIGHT, DRCE_TEXT_ON_EDGECUTS, DRCE_TEXT_THICKNESS, DRCE_TRACK_ANGLE, DRCE_TRACK_NOT_CENTERED_ON_VIA, DRCE_TRACK_ON_POST_MACHINED_LAYER, DRCE_TRACK_SEGMENT_LENGTH, DRCE_TRACK_WIDTH, DRCE_TRACKS_CROSSING, DRCE_TUNING_PROFILE_IMPLICIT_RULES, DRCE_UNCONNECTED_ITEMS, DRCE_UNMIRRORED_TEXT_ON_BACK_LAYER, DRCE_UNRESOLVED_VARIABLE, DRCE_VIA_COUNT_OUT_OF_RANGE, DRCE_VIA_DIAMETER, and DRCE_ZONES_INTERSECT.

◆ ToProtoEnum() [58/75]

template<>
types::ViaStitchLayout ToProtoEnum ( PCB_VIA_STITCH_LAYOUT aValue)

Definition at line 2752 of file api_pcb_enums.cpp.

References PLAIN, POISSON, and STAGGERED.

◆ ToProtoEnum() [59/75]

template<>
types::ViaStitchMode ToProtoEnum ( PCB_VIA_STITCH_MODE aValue)

Definition at line 2786 of file api_pcb_enums.cpp.

References GUARD, and STITCH.

◆ ToProtoEnum() [60/75]

template<>
types::PlacementRuleSourceType ToProtoEnum ( PLACEMENT_SOURCE_T aValue)

Definition at line 737 of file api_pcb_enums.cpp.

References COMPONENT_CLASS, DESIGN_BLOCK, GROUP_PLACEMENT, and SHEETNAME.

◆ ToProtoEnum() [61/75]

template<>
types::TuningPatternStatus ToProtoEnum ( PNS::MEANDER_PLACER_BASE::TUNING_STATUS aValue)

◆ ToProtoEnum() [62/75]

template<>
types::TuningPatternMeanderSide ToProtoEnum ( PNS::MEANDER_SIDE aValue)

◆ ToProtoEnum() [63/75]

template<>
types::TuningPatternCornerStyle ToProtoEnum ( PNS::MEANDER_STYLE aValue)

Definition at line 2687 of file api_pcb_enums.cpp.

References PNS::MEANDER_STYLE_CHAMFER, and PNS::MEANDER_STYLE_ROUND.

◆ ToProtoEnum() [64/75]

template<>
commands::RatsnestDisplayMode ToProtoEnum ( RATSNEST_MODE aValue)

Definition at line 1133 of file api_pcb_enums.cpp.

References ALL, and VISIBLE.

◆ ToProtoEnum() [65/75]

◆ ToProtoEnum() [66/75]

template<>
kiapi::board::TeardropTarget ToProtoEnum ( TARGET_TD aValue)

Definition at line 821 of file api_pcb_enums.cpp.

References TARGET_RECT, TARGET_ROUND, and TARGET_TRACK.

◆ ToProtoEnum() [67/75]

template<>
types::ZoneTeardropType ToProtoEnum ( TEARDROP_TYPE aValue)

Definition at line 786 of file api_pcb_enums.cpp.

References TD_NONE, TD_TRACKEND, TD_UNSPECIFIED, and TD_VIAPAD.

◆ ToProtoEnum() [68/75]

template<>
types::ThievingPattern ToProtoEnum ( THIEVING_PATTERN aValue)

Definition at line 669 of file api_pcb_enums.cpp.

References DOTS, HATCH, and SQUARES.

◆ ToProtoEnum() [69/75]

template<>
types::UnconnectedLayerRemoval ToProtoEnum ( UNCONNECTED_LAYER_MODE aValue)

Definition at line 521 of file api_pcb_enums.cpp.

References KEEP_ALL, REMOVE_ALL, REMOVE_EXCEPT_START_AND_END, and START_END_ONLY.

◆ ToProtoEnum() [70/75]

template<>
types::ViaStackStyle ToProtoEnum ( VIA_STACK_STYLE aValue)

Definition at line 2818 of file api_pcb_enums.cpp.

References STACKED, and STAGGERED.

◆ ToProtoEnum() [71/75]

template<>
types::ViaType ToProtoEnum ( VIATYPE aValue)

Definition at line 249 of file api_pcb_enums.cpp.

References BLIND, BURIED, MICROVIA, and THROUGH.

◆ ToProtoEnum() [72/75]

template<>
types::ZoneBorderStyle ToProtoEnum ( ZONE_BORDER_DISPLAY_STYLE aValue)

Definition at line 702 of file api_pcb_enums.cpp.

References DIAGONAL_EDGE, DIAGONAL_FULL, INVISIBLE_BORDER, and NO_HATCH.

◆ ToProtoEnum() [73/75]

template<>
types::ZoneConnectionStyle ToProtoEnum ( ZONE_CONNECTION aValue)

Definition at line 285 of file api_pcb_enums.cpp.

References FULL, INHERITED, NONE, THERMAL, and THT_THERMAL.

◆ ToProtoEnum() [74/75]

template<>
types::ZoneFillMode ToProtoEnum ( ZONE_FILL_MODE aValue)

Definition at line 603 of file api_pcb_enums.cpp.

References COPPER_THIEVING, HATCH_PATTERN, and POLYGONS.

◆ ToProtoEnum() [75/75]

template<>
types::ZoneCornerSmoothingMode ToProtoEnum ( ZONE_SETTINGS::CORNER_SMOOTHING aValue)