Skip to content

Latest commit

 

History

History
98 lines (65 loc) · 2.89 KB

README.md

File metadata and controls

98 lines (65 loc) · 2.89 KB

Octave / MATLAB Toolbox for GDSII Stream Format

Ulf Griesmann, NIST, 2008 - 2016 [email protected], [email protected]

Most functions in this toolbox are in the Public Domain (see Notice_and_Disclaimer.pdf), with the following exceptions:

New releases of the toolbox can be downloaded from:

https://sites.google.com/site/ulfgri/numerical/gdsii-toolbox

Documentation

Additional documentation is available on:

https://sites.google.com/site/ulfgri/numerical/gdsii-toolbox

in a tutorial: GDSII_for_the_Rest_of_Us-.pdf The file gdsii_docs-.zip contains definitions of the GDSII file format and example scripts for the toolbox.

Functions

Toolbox functions are grouped into the following directories:

Basic: Contains the low level functions for reading and writing of files in GDSII stream format and defines objects and methods for working with GDSII layouts.

Elements: Contains functions that return gds_element objects.

Structures: Contains functions that return gds_structure objects

Boolean: The GDSII toolbox contains a method that performs boolean set operations on boundary elements. This is described in more detail in the file: README-Boolean / README-Boolean.pdf

Misc: Functions that don't return gds_* objects.

Scripts: Command line scripts for Octave that can be run directly from the shell prompt in a Linux / Unix environment.

Compiling

This software contains several MEX functions, which must be compiled with a C compiler (and a C++ compiler for the Clipper library), before the library can be used. The C compiler must be sufficiently C99 conformant; the LCC compiler that is included with earlier versions of MATLAB will not compile many of the mex functions (see the MATLAB documentation for compiling external functions).

For Octave on Linux, the mex functions are compiled by executing

$ ./makemex-octave

at the shell prompt. In MATLAB or Octave on Windows the mex functions are compiled by changing to the ./gds2-toolbox directory and running

makemex

at the MATLAB/Octave command prompt.

Useful Stuff

Very good viewer and editor for GDSII files: http://www.klayout.de

Help

If you find a bug in the software, please send a message to [email protected] or [email protected] and I will try to fix it.