61 if( wxMessageBox(
_(
"Are you sure you want to overwrite the existing file?" ),
_(
"Warning" ),
62 wxYES_NO | wxCENTER | wxICON_QUESTION,
this )
82 wxFileName brdFile =
board->GetFileName();
83 brdFile.SetExt( wxT(
"wrl" ) );
84 path = brdFile.GetFullPath();
104 BOX2I bbox =
board->ComputeBoundingBox(
true );
111 wxFileName modelPath =
path;
119 if( !modelPath.Mkdir() )
122 modelPath.GetPath() ) );
constexpr EDA_IU_SCALE pcbIUScale
int ExportVRML(const TOOL_EVENT &aEvent)
Information pertinent to a Pcbnew printed circuit board.
constexpr const Vec GetCenter() const
DIALOG_EXPORT_VRML_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("VRML Export Options"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxFilePickerCtrl * m_filePicker
bool GetUseRelativePathsOption()
wxFilePickerCtrl * FilePicker()
int GetSetUserDefinedOrigin()
DIALOG_EXPORT_VRML(PCB_EDIT_FRAME *aEditFrame)
wxString GetSubdir3Dshapes()
bool GetCopyFilesOption()
bool TransferDataFromWindow() override
bool GetNoUnspecifiedOption()
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
The main frame for Pcbnew.
void DisplayErrorMessage(wxWindow *aParent, const wxString &aText, const wxString &aExtraInfo)
Display an error message with aMessage.
This file is part of the common library.
std::vector< FAB_LAYER_COLOR > dummy