KiCAD pcbnew scripting
Public Member Functions | Public Attributes | List of all members
pcbnew.GERBER_WRITER Class Reference
Inheritance diagram for pcbnew.GERBER_WRITER:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, aPcb)
 
def SetFormat
 
def SetOptions (self, aOffset)
 
def CreateDrillandMapFilesSet
 
- Public Member Functions inherited from pcbnew.GENDRILL_WRITER_BASE
def __init__ (self, args, kwargs)
 
def SetMergeOption (self, aMerge)
 
def GetOffset (self)
 
def SetPageInfo (self, aPageInfo)
 
def SetMapFileFormat (self, aMapFmt)
 
def CreateMapFilesSet
 
def GenDrillReportFile (self, aFullFileName)
 

Public Attributes

 this
 

Additional Inherited Members

- Static Public Attributes inherited from pcbnew.GENDRILL_WRITER_BASE
 DECIMAL_FORMAT = _pcbnew.GENDRILL_WRITER_BASE_DECIMAL_FORMAT
 
 SUPPRESS_LEADING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_LEADING
 
 SUPPRESS_TRAILING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_TRAILING
 
 KEEP_ZEROS = _pcbnew.GENDRILL_WRITER_BASE_KEEP_ZEROS
 

Detailed Description

GERBER_WRITER is a class mainly used to create Gerber drill files.

C++ includes: gendrill_gerber_writer.h 

Definition at line 14354 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.GERBER_WRITER.__init__ (   self,
  aPcb 
)
__init__(GERBER_WRITER self, BOARD aPcb) -> GERBER_WRITER

GERBER_WRITER::GERBER_WRITER(BOARD *aPcb) 

Definition at line 14372 of file pcbnew.py.

Member Function Documentation

def pcbnew.GERBER_WRITER.CreateDrillandMapFilesSet (   self,
  aPlotDirectory,
  aGenDrill,
  aGenMap,
  aReporter = None 
)
CreateDrillandMapFilesSet(GERBER_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None)
CreateDrillandMapFilesSet(GERBER_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap)

void
GERBER_WRITER::CreateDrillandMapFilesSet(const wxString
&aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER
*aReporter=NULL)

Function CreateDrillandMapFilesSet Creates the full set of Excellon
drill file for the board filenames are computed from the board name,
and layers id.

Parameters:
-----------

aPlotDirectory:  = the output folder

aGenDrill:  = true to generate the EXCELLON drill file

aGenMap:  = true to generate a drill map file

aReporter:  = a REPORTER to return activity or any message (can be
NULL) 

Definition at line 14424 of file pcbnew.py.

def pcbnew.GERBER_WRITER.SetFormat (   self,
  aRightDigits = 6 
)
SetFormat(GERBER_WRITER self, int aRightDigits=6)
SetFormat(GERBER_WRITER self)

void
GERBER_WRITER::SetFormat(int aRightDigits=6)

Function SetFormat Initialize internal parameters to match the given
format.

Parameters:
-----------

aRightDigits:  = number of digits for mantissa part of coordinates (5
or 6) 

Definition at line 14386 of file pcbnew.py.

def pcbnew.GERBER_WRITER.SetOptions (   self,
  aOffset 
)
SetOptions(GERBER_WRITER self, wxPoint aOffset)

void
GERBER_WRITER::SetOptions(wxPoint aOffset)

Function SetOptions Initialize internal parameters to match drill
options note: PTH and NPTH are always separate files in Gerber format.

Parameters:
-----------

aOffset:  = drill coordinates offset 

Definition at line 14406 of file pcbnew.py.

Member Data Documentation

pcbnew.GERBER_WRITER.this

Definition at line 14382 of file pcbnew.py.


The documentation for this class was generated from the following file: