cif2gds_title.gif

The CIF.CFG Configuration File

If you do not wish to interact with the program each time you run a translation, you can define a file called CIF.CFG which contains the translation options. This is an ASCII text file which can be created by any text editor or even by shell scripts. The file consists of a keyword terminated by a colon, any number of spaces or tabs followed by a parameters. Keywords and parameters are not case sensitive. Any data after the parameter is ignored. You can also insert comments by use of the # sign.

Scale_factor: 1 Any real value greater than 0 is acceptable. Default is 1.000
Wire: Outline Tells CIF2GDS to convert wires to boundaries. Other possibilities are Wires to Paths, Default is Path.
Endtype: Round Tells CIF2GDS how to handle the ends of the wire. Options are flush | Extended | Round. Default is flush.
Box: Boundary Boundary uses a zero width closed pline. Path uses a Path of the appropriate width. Default is boundary.
Miter: Off Miter ON tells CIF2GDS to miter acute angles. Miter OFF suppressses mitering. Only applies in outline mode. Default is OFF

Example CIF.CFG

scale_factor: 1
wire:path
endtype:flush
box:boundary
miter:off

Location of CIF.CFG

CIF2GDS searches for CIF.CFG first in the current working directory, and then in the directory where the CIF2GDS program is located. If you are constantly changing CIF.CFG, you should store your current copy in the current working directory. If you rarely or never change CIF.CFG, locate it with the .exe files so it will not be accidentally deleted or modified.