maptolayer - Utility to generate layers.config files
maptolayer < gdctocds.map > layers.config
This program produces reads a Cadence kit gdstocds.map file on standard input and produces a simple layers.config file suitable for use with the gdsreader program. The layers.config file will have all the layers hidden and will have a unique color and depth generated for each. The user must unhide layers, (hidden no), and set desired thickness and depth info if POVRAY output is desired.
NONE
NONE
NONE No special Environment variables
To run this program the standard way type:
maptolayer < gdctocds.map > layers.config
(This would produce a layers.config file ready for editing.)
In the install directory, under doc/gdsreader-VERSION, there should be a sample test.gds and layers.config file. Read the documentation there for details about the gdsreader program. The layers.config file should contains layer descriptions of the form:
[...]
newlayer
gdsno 15
hidden no
name Ndiff
red 0.9
green 0.1
blue 0.9
fill no
hatch no
thickness 0.1
depth -0.02
endlayer
[...]
The depth and thickness parameters are only used for povray output.
Peter F. Curran (povray mods) <curran@rpi.edu>
gdsreader(1), povray(1)