64 if( wxMessageBox(
_(
"Are you sure you want to overwrite the existing file?" ),
_(
"Warning" ),
65 wxYES_NO | wxCENTER | wxICON_QUESTION,
this )
85 wxFileName brdFile =
board->GetFileName();
86 brdFile.SetExt( wxT(
"wrl" ) );
87 path = brdFile.GetFullPath();
107 BOX2I bbox =
board->ComputeBoundingBox(
true );
114 wxFileName modelPath =
path;
122 if( !modelPath.Mkdir() )
125 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