KiCad PCB EDA Suite
|
#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) |
PROJECT_CONTEXT loadKicadProject | ( | const wxString & | filename, |
std::optional< wxString > | rulesFilePath | ||
) |
Definition at line 59 of file drc_proto.cpp.
References PROJECT_CONTEXT::board, FILEEXT::DesignRulesFileExtension, PGM_BASE::GetSettingsManager(), FILEEXT::KiCadPcbFileExtension, FILEEXT::KiCadSchematicFileExtension, Pgm(), PROJECT_CONTEXT::project, FILEEXT::ProjectFileExtension, KI_TEST::ReadBoardFromFileOrStream(), and PROJECT_CONTEXT::rulesFilePath.
Referenced by main().
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().