KiCad PCB EDA Suite
wizard_3DShape_Libs_downloader.cpp File Reference
#include <wx/wx.h>
#include <wx/uri.h>
#include <wx/dir.h>
#include <wx/progdlg.h>
#include <wx/config.h>
#include <pgm_base.h>
#include <project.h>
#include <wizard_3DShape_Libs_downloader.h>
#include <confirm.h>
#include <3d_viewer.h>
#include <bitmaps.h>
#include <../github/github_getliblist.h>

Go to the source code of this file.

Macros

#define KICAD_3DLIBS_URL_KEY   wxT( "kicad_3Dlib_url" )
 Wizard for selecting and dowloading D shapes libraries of footprints consisting of 3 steps: More...
 
#define KICAD_3DLIBS_LAST_DOWNLOAD_DIR   wxT( "kicad_3Dlib_last_download_dir" )
 
#define DEFAULT_GITHUB_3DSHAPES_LIBS_URL   "https://github.com/KiCad/kicad-packages3d"
 
#define FORCE_GITHUB_RAW_URL
 

Functions

void Invoke3DShapeLibsDownloaderWizard (wxTopLevelWindow *aCaller)
 Function Invoke3DShapeLibsDownloaderWizard Runs the downloader wizard for easy 3D shape libraries download from the official Kicad Github repository of *.3Dshape libraries. More...
 

Macro Definition Documentation

#define DEFAULT_GITHUB_3DSHAPES_LIBS_URL   "https://github.com/KiCad/kicad-packages3d"
#define FORCE_GITHUB_RAW_URL
#define KICAD_3DLIBS_LAST_DOWNLOAD_DIR   wxT( "kicad_3Dlib_last_download_dir" )
#define KICAD_3DLIBS_URL_KEY   wxT( "kicad_3Dlib_url" )

Wizard for selecting and dowloading D shapes libraries of footprints consisting of 3 steps:

  • select source and destination (Github URL and local folder)
  • pick and select libraries
  • download files

Definition at line 51 of file wizard_3DShape_Libs_downloader.cpp.

Referenced by WIZARD_3DSHAPE_LIBS_DOWNLOADER::WIZARD_3DSHAPE_LIBS_DOWNLOADER(), and WIZARD_3DSHAPE_LIBS_DOWNLOADER::~WIZARD_3DSHAPE_LIBS_DOWNLOADER().

Function Documentation

void Invoke3DShapeLibsDownloaderWizard ( wxTopLevelWindow *  aCaller)

Function Invoke3DShapeLibsDownloaderWizard Runs the downloader wizard for easy 3D shape libraries download from the official Kicad Github repository of *.3Dshape libraries.

Parameters
aCalleris the wxTopLevelWindow which is invoking the dialog.

Definition at line 58 of file wizard_3DShape_Libs_downloader.cpp.

References WIZARD_3DSHAPE_LIBS_DOWNLOADER::GetFirstPage().

Referenced by PCB_EDIT_FRAME::Process_Config().

59 {
60  WIZARD_3DSHAPE_LIBS_DOWNLOADER wizard( aCaller );
61  wizard.RunWizard( wizard.GetFirstPage() );
62 }