Operation Codes

boolean

The operation codes determine which Boolean operation (or sizing) the program performs on the input file. As part of the operation code, the source layer or layers are also specified.

Op Code Syntax

+

 

The plus sign "+" indicates the UNION operation also known as OR and also known as adding two layers together. This operation can be performed on a single source layer in which case any touching or overlapping polygons are combined.

It is also possible to unionize multiple input layers. In this case all polygons are combined and the results are output on a single target layer.

Example 1

boolw64f in.gds out.gds TOP 3 +5

This command line reads the file in.gds and unionizes layer 5. The results are written to out.gds on layer 3.


Example 2

boolw64f in.gds out.gds TOP 3 +5,9,22

This reads the in.gds file and unionizes layers 5, 9 and 22. The results are written to out.gds on layer 3.



x

 

The small "x" indicates an XOR operation. XOR is constantly used in mask operations. It always requires two source layer arguments. As part of the XOR operation the two input layers must first be unionized -- otherwise we cannot proceed with the XOR calculations. XOR operation results do not depend on order of the layers.

Example

boolw64f in.gds out.gds TOP 5 +7x9

This command line XOR's layers 7 and 9 from in.gds and puts them in the file called out.gds on layer 5.



a

 

The small "a" indicates an AND operation. This operation always requires two source layers; layer order does not matter.

Example

boolw64f in.gds out.gds TOP 5 +7a9

This command AND's layers 7 and 9 from in.gds and puts them in the file called out.gds on layer 5.



-

 

The minus sign or dash, "-" indicates a MINUS operation. Two input layers must be specified; the order does matter. Minus is not quite the same operation as XOR.

Example

boolw64f in.gds out.gds TOP 5 +7-9

This command line subtracts layer 9 from layer 7 and puts the results in the file called out.gds on layer 5.





Page     1  |   2  |   3  |   4  |   5  |   6  


ARTWORK CONVERSION SOFTWARE, INC.                  Company Profile
417 Ingalls St.,     Santa Cruz, CA 95060         Tel (831) 426-6163     Fax 426-2824               email: info@artwork.com