KiCad PCB EDA Suite
Loading...
Searching...
No Matches
drc_proto.cpp File Reference
#include <string>
#include <common.h>
#include <core/profile.h>
#include <wx/cmdline.h>
#include <properties/property_mgr.h>
#include <pcbnew_utils/board_file_utils.h>
#include <pcbnew/drc/drc_engine.h>
#include <pcbnew/board.h>
#include <pcbnew/drc/drc_rule_parser.h>
#include <pcbnew/drc/drc_test_provider.h>
#include <pcbnew/pcbexpr_evaluator.h>
#include <board_design_settings.h>
#include <string_utils.h>
#include <connectivity/connectivity_data.h>
#include <connectivity/connectivity_algo.h>
#include <reporter.h>
#include <widgets/progress_reporter_base.h>
#include <project.h>
#include <settings/settings_manager.h>
#include <wildcards_and_files_ext.h>
#include <pgm_base.h>
#include <kiway.h>
#include <kiface_ids.h>
#include "drc_proto.h"

Go to the source code of this file.

Functions

PROJECT_CONTEXT loadKicadProject (const wxString &filename, std::optional< wxString > rulesFilePath)
 
int runDRCProto (PROJECT_CONTEXT project, std::shared_ptr< KIGFX::VIEW_OVERLAY > aDebugOverlay)
 

Function Documentation

◆ loadKicadProject()

PROJECT_CONTEXT loadKicadProject ( const wxString &  filename,
std::optional< wxString >  rulesFilePath 
)

◆ runDRCProto()

int runDRCProto ( PROJECT_CONTEXT  project,
std::shared_ptr< KIGFX::VIEW_OVERLAY aDebugOverlay 
)

Definition at line 103 of file drc_proto.cpp.

References MILLIMETRES, CONSOLE_LOG::Print(), and project.

Referenced by main().