57 bool WriteFile(
const wxString& aFullFileName );
Information pertinent to a Pcbnew printed circuit board.
void createRoutesSection()
Create the $ROUTES section.
void UseIndividualShapes(bool aUnique)
Make pad shapes unique.
GENCAD_EXPORTER(BOARD *aBoard)
void createTracksInfoData()
Create the "$TRACKS" section.
void createShapesSection()
Create the footprint shape list.
const wxString getShapeName(FOOTPRINT *aFootprint)
void createDevicesSection()
Create the $DEVICES section.
bool createHeaderInfoData()
Creates the header section.
double mapXTo(int aX)
Helper functions to calculate coordinates of footprints in GenCAD values.
void createArtworksSection()
void createBoardSection()
void UsePinNamesUnique(bool aUnique)
Make pin names unique.
void StoreOriginCoordsInFile(bool aStore)
Store origin coordinate in GenCAD file.
void FlipBottomPads(bool aFlip)
Flip pad shapes on the bottom side.
void footprintWriteShape(FOOTPRINT *aFootprint, const wxString &aShapeName)
Create the shape of a footprint (SHAPE section)
void writePadShape(const std::string &aName, PAD *aPad, PCB_LAYER_ID aPadLayer)
Write one "PAD" entry for the copper aPad carries on aPadLayer, named aName as referenced from a PADS...
void createPadsShapesSection()
bool m_useIndividualShapes
void SetPlotOffet(VECTOR2I aOffset)
Set the coordinates offset when exporting items.
void createSignalsSection()
bool WriteFile(const wxString &aFullFileName)
Export a GenCAD file.
void createComponentsSection()
Create the $COMPONENTS GenCAD section.
PCB_LAYER_ID
A quick note on layer IDs:
VECTOR2< int32_t > VECTOR2I