Kavli Nanolab LDM To TeXtLib Conversion
Kavli Nanolab LDM To TeXtLib Conversion
Kavli Nanolab LDM To TeXtLib Conversion
Originally, the NELSIS design platform was developed for HP-UX at the
Department
of Electrical Engineering at the Delft University of Technology by S. de
Graaf
and others.
In the course of years more and more advanced pattern design and drawing
packages have become available for creating pattern designs in various
formats,
like GDSII and DXF.
The big disadvantage of these is, that these are graphically-oriented
programs
generating lots of data and requiring difficult grid snapping and such on to
create just 'simple, straightforward' patterns.
Alternatively, the LDM language from the NELSIS package can be used to simply
define in ASCII format what you want to get into your design.
In the DIMES time of the Kavli Nanolab, especially J. Romijn put effort into
extending the LDM language with elements for text, curved structures,
non-rectangular arraying and images.
For Linux now we don't have NELSIS available anymore, but still want to use
the
LDM ASCII description and all extensions to it.
We are lucky that LayoutBEAMER supports the TeXtLib (also an ASCII pattern
data
description) format.
The LDM format only knows about integer coordinates, with a user-specified
CADunit as design unit.
To convert LDM files to TeXtLib files, there are two nearly identical
programs,
ldm2txl and ldm2ctxt (which combine the HP-UX programs 'cldm' and
'ldmtext') that can be used. An intermediate CLDM file, with
extension .cldm is used in the conversion, and the output file extensions are
.txl (default for LayoutBeamer) resp. .ctxt (default for CATS).
Usage:
ldm2txl [<file>] [options]
or
ldm2ctxt [<file>] [options]
This program converts LDM file <file> (default extension .ldm) to TeXtLib
files
(extension .txl or .ctxt), also allowing the Kavli Nanolab LDM extensions
FONT, TEXT,
CURVE, ARRAY and IMAGE.
File name and CAD unit are prompted for if they aren't specified.
To finish the program press Ctrl-d, or press <return> when prompted for an
LDM file.
Defaults are shown in angular brackets [], and selected by pressing <return>.