74 bool show_dlg_modal =
true;
82 show_dlg_modal =
false;
134 bool aReportAllTrackErrors,
bool aTestFootprints )
145 bool netlistFetched =
false;
152 aProgressReporter->
AdvancePhase(
_(
"Refilling all zones..." ) );
159 if( aTestFootprints && !
Kiface().IsSingle() )
161 if(
m_editFrame->FetchNetlistFromSchematic(
netlist,
_(
"Schematic parity tests require a "
162 "fully annotated schematic." ) ) )
164 netlistFetched =
true;
173 m_drcEngine->SetProgressReporter( aProgressReporter );
176 [&](
const std::shared_ptr<DRC_ITEM>& aItem,
const VECTOR2I& aPos,
int aLayer,
177 const std::function<
void(
PCB_MARKER* )>& aPathGenerator )
180 aPathGenerator( marker );
181 commit.Add( marker );
194 if( aTestFootprints && netlistFetched )
214 m_editFrame->ResolveDRCExclusions( aDRCWasCancelled );
312 return _(
"Edit Footprint Properties..." );
317 return _(
"Edit Pad Properties..." );
327 return _(
"Edit Dimension Properties..." );
329 return _(
"Edit Field Properties..." );
331 return _(
"Edit Text Properties..." );
339 return wxEmptyString;
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_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