80 bool show_dlg_modal =
true;
88 show_dlg_modal =
false;
140 bool aReportAllTrackErrors,
bool aTestFootprints )
151 bool netlistFetched =
false;
156 std::unique_ptr<wxWindowDisabler> disabler;
159 disabler = std::make_unique<wxWindowDisabler>(
m_drcDialog );
167 aProgressReporter->
AdvancePhase(
_(
"Refilling all zones..." ) );
174 if( aTestFootprints && !
Kiface().IsSingle() )
177 _(
"Schematic parity tests require a "
178 "fully annotated schematic." ) ) )
180 netlistFetched =
true;
190 m_drcEngine->SetProgressReporter( aProgressReporter );
193 [&](
const std::shared_ptr<DRC_ITEM>& aItem,
const VECTOR2I& aPos,
int aLayer,
194 const std::function<
void(
PCB_MARKER* )>& aPathGenerator )
197 aPathGenerator( marker );
198 commit.Add( marker );
211 if( aTestFootprints && netlistFetched )
231 m_editFrame->ResolveDRCExclusions( aDRCWasCancelled );
330 return _(
"Edit Footprint Properties..." );
335 return _(
"Edit Pad Properties..." );
345 return _(
"Edit Dimension Properties..." );
347 return _(
"Edit Field Properties..." );
349 return _(
"Edit Text Properties..." );
357 return wxEmptyString;
411 bool show_dlg_modal =
true;
419 show_dlg_modal =
false;
KIFACE_BASE & Kiface()
Global KIFACE_BASE "get" accessor.
static TOOL_ACTION updatePcbFromSchematic
static TOOL_ACTION excludeMarker
static TOOL_ACTION nextMarker
static TOOL_ACTION showFootprintLibTable
static TOOL_ACTION prevMarker
static TOOL_ACTION selectionClear
Clear the current selection.
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
KICAD_T Type() const
Returns the type of object.
static const TOOL_EVENT SelectedEvent
static const TOOL_EVENT PointSelectedEvent
Store information read from a netlist along with the flags used to update the NETLIST in the BOARD.
static TOOL_ACTION updateFootprint
static TOOL_ACTION cleanupTracksAndVias
static TOOL_ACTION runDRC
static TOOL_ACTION changeFootprint
A progress reporter interface for use in multi-threaded environments.
virtual bool IsCancelled() const =0
virtual void AdvancePhase()=0
Use the next available virtual zone of the dialog progress bar.
@ DRCE_MIRRORED_TEXT_ON_FRONT_LAYER
@ DRCE_LIB_FOOTPRINT_ISSUES
@ DRCE_SCHEMATIC_FIELDS_PARITY
@ DRCE_FOOTPRINT_TYPE_MISMATCH
@ DRCE_NONMIRRORED_TEXT_ON_BACK_LAYER
@ DRCE_DUPLICATE_FOOTPRINT
@ DRCE_LIB_FOOTPRINT_MISMATCH
This file contains miscellaneous commonly used macros and functions.
constexpr KICAD_T BaseType(const KICAD_T aType)
Return the underlying type of the given type.
@ PCB_FIELD_T
class PCB_FIELD, text associated with a footprint property
@ PCB_MARKER_T
class PCB_MARKER, a marker used to show something
@ PCB_DIMENSION_T
class PCB_DIMENSION_BASE: abstract dimension meta-type
VECTOR2< int32_t > VECTOR2I