Navigation:  C/C++ Scripting Engine > Classes >

dbExportGerber

Previous pageReturn to chapter overviewNext page

Contains all information required for Gerber (RS-274X) export.

bar_dot

 

Member Functions:

==============

 

void        setExportFolder( char *value )

THIS FUNCTION IS REQUIRED

Sets the export folder name to output files.

 

void        setJobName( char *value )

OPTIONAL

Sets the job name to use when outputing files.  Note:  If this function is not assigned, the active job name will be used.

 

void        setUnits( int value )

OPTIONAL: DEFAULT VALUE = dbcInch

Sets the gerber data units. Choose from either: dbcMillimeter or dbcInch

 

void        setInteger( int value )

OPTIONAL: DEFAULT VALUE = 3

Sets the integer value to use during gerber export.

 

void        setDecimal( int value )

OPTIONAL: DEFAULT VALUE = 4

Sets the decimal value to use during gerber export.  The default is "4".

Note: This controls the decimal accuracy of the outputted drill files. A value of 4,5, or 6 is recommended.

 

void        setType( int value )

OPTIONAL: DEFAULT VALUE = dbcDataTypeNormal

Sets the output data type to use during gerber export.  Choose from either: dbcDataTypeNormal or dbcDataTypeIncremental.

 

void        setSuppression( int value )

OPTIONAL: DEFAULT VALUE = dbcSuppressLeading

Sets the Zero Suppression to use during gerber export.  Choose from: dbcSuppressLeading, dbcSuppressTrailing or dbcSuppressNone.

 

void        setArcG75( int value )

OPTIONAL: DEFAULT VALUE = 0

Export using 360 degree arcs.

 

void        setStepRepeat( int value )

OPTIONAL: DEFAULT VALUE = 0   (Off)

Determine whether to use Step & Repeat during the gerber export.

Note: This option is only useful if you have gerber data panelized in an arrayed insert.

 

void        setExtension( char *value )

OPTIONAL: DEFAULT VALUE = "gbr"

Assign the file extension for the gerber files.

 

void        addExportLayer( char *layer, int mirror, int negative )

Assign layer to export as gerber data.  Note:  If this function is not assigned, all layers from the active job will be exported.

 

void        clearAll()

Clear All Layers assigned for gerber export.