50 brdFile.SetExt( wxT(
"cad" ) );
51 path = brdFile.GetFullPath();
56 if( optionsDialog.
ShowModal() == wxID_CANCEL )
89 DisplayError(
this, wxString::Format(
_(
"Failed to create file '%s'." ),
path ) );
const VECTOR2I & GetAuxOrigin()
const wxString & GetFileName() const
BOARD_DESIGN_SETTINGS & GetDesignSettings() const
bool GetOption(GENCAD_EXPORT_OPT aOption) const
Return all export settings.
wxString GetFileName() const
void UseIndividualShapes(bool aUnique)
Make pad shapes unique.
void UsePinNamesUnique(bool aUnique)
Make pin names unique.
void StoreOriginCoordsInFile(bool aStore)
Store coord origin in genCAD file.
void FlipBottomPads(bool aFlip)
Flip pad shapes on the bottom side.
void SetPlotOffet(VECTOR2I aOffset)
Set the coordinates offet when exporting items.
bool WriteFile(const wxString &aFullFileName)
Export a genCAD file.
void Compile_Ratsnest(bool aDisplayStatus)
Create the entire board ratsnest.
void SetLastPath(LAST_PATH_TYPE aType, const wxString &aLastPath)
Set the path of the last file successfully read.
wxString GetLastPath(LAST_PATH_TYPE aType)
Get the last path for a particular type.
void ExportToGenCAD(wxCommandEvent &event)
Create a file in GenCAD 1.4 format from the current board.
void DisplayError(wxWindow *aParent, const wxString &aText, int aDisplayTime)
Display an error or warning message box with aMessage.
This file is part of the common library.