[Artwork] / [QisMLib] / [Programmer's Corner]

ClipExtract

Command-line program to extract in parallel threads, lots of tiny clips of data from a GDSII/OASIS/DBLOAD design to GDSII/OASIS/TIFF/BMP/RAW files on disk

ClipExtractCommand-line referenceRequired+input:{input_file_path}+outdir:{output_directory}WINDOW-SPEC-window:LLUR:{name}:{llx},{lly},{urx},{ury}-window:LLWH:{name}:{llx},{lly},{width},{height}-window:CWH:{name}:{cx},{cy},{width},{height}@window:LLUR:{name}:{window_list_file}@window:LLWH:{name}:{window_list_file}@window:CWH:{name}:{window_list_file}-tile:RXY:{name}:{roi_llx},{roi_lly},{roi_urx},{roi_ury}:{nx},{ny}[:{i},{j}]*-tile:RWH:{name}:{roi_llx},{roi_lly},{roi_urx},{roi_ury}:{width},{height}[:{i},{j}]*-tile:CWH:{name}:{width},{height}:{cx},{cy}[:{cx},{cy}]*FORMAT+format:IMAGE +format:TIFF+format:BMP+format:VBMP+format:RAW+format:GDSII+format:OASIS+format:POLYSOptionalFILE-OPTIONS-layers:{layer_list}-layermap:{layer-mapping}-cell:{cell}-loadfromdiskFORMAT-OPTIONS for raster images-pixelsize:{size_x}[,{size_y}]-dither:{0.0-TO-1.0}-invert-right-to-left-bottom-to-topFORMAT-OPTIONS for extracting polygons-union-clip-maxvert:{max_vert_per_polygon}-butting:{overlap}-lsynth:{layer_synth_spec}MISC-OPTIONS-thrnum:{n_window_threads},{n_threads_per_window}-log:{log_path}] or -log+:{log_path}-silentLayer Synthesis Spec. Linear syntaxPostfix syntax

Command-line reference

Required


+input:{input_file_path}

+outdir:{output_directory}


WINDOW-SPEC

-window:LLUR:{name}:{llx},{lly},{urx},{ury}
-window:LLWH:{name}:{llx},{lly},{width},{height}
-window:CWH:{name}:{cx},{cy},{width},{height}
@window:LLUR:{name}:{window_list_file}
@window:LLWH:{name}:{window_list_file}
@window:CWH:{name}:{window_list_file}
-tile:RXY:{name}:{roi_llx},{roi_lly},{roi_urx},{roi_ury}:{nx},{ny}[:{i},{j}]*
-tile:RWH:{name}:{roi_llx},{roi_lly},{roi_urx},{roi_ury}:{width},{height}[:{i},{j}]*
-tile:CWH:{name}:{width},{height}:{cx},{cy}[:{cx},{cy}]*

FORMAT

+format:IMAGE
+format:TIFF
+format:BMP
+format:VBMP
+format:RAW
+format:GDSII
+format:OASIS
+format:POLYS

Optional

FILE-OPTIONS

-layers:{layer_list}
-layermap:{layer-mapping}
-cell:{cell}
-loadfromdisk

FORMAT-OPTIONS for raster images

-pixelsize:{size_x}[,{size_y}]
-dither:{0.0-TO-1.0}
-invert
-right-to-left
-bottom-to-top

FORMAT-OPTIONS for extracting polygons

-union
-clip
-maxvert:{max_vert_per_polygon}
-butting:{overlap}
-lsynth:{layer_synth_spec}

MISC-OPTIONS

-thrnum:{n_window_threads},{n_threads_per_window}
-log:{log_path}] or -log+:{log_path}
-silent

Layer Synthesis Spec.

Linear syntax

Examples: 100:0=2,5:0,7 (aggregate polygons on 2:* 5:0 and 7:* into a new layer 100:0) 100:0=2+5:0+7 (unionize polygons on 2:* 5:0 and 7:* into a new layer 100:0) 100:0=2+5:0-7 (unionize polygons on 2:* 5:0 and then subtract 7:* to create a new layer 100:0) 100:0=2,5:0-7 (aggregate polygons on 2:* 5:0 and then subtract 7:* to create a new layer 100:0) 100:0=2^5 (Compute XOR between 2:* and 5:* as 100:0) 100:0=2&5 (Compute INTERSECTION between 2:* and 5:* as 100:0) 100:0=2+5;200:0=100:0-5;300:0=200^5;400:0=300&5 (Create multiple synthesized layers from multiple operations between layers)


Postfix syntax

Example: "@1 2:2 - 3:3 4 | & 0:0 ~"

"@1 2 ^ 100:0 = 0:0 ~ 3 4 | 200:0 = 0:1 * 100:0 200:0 & 0:3 ~"


 


ARTWORK CONVERSION SOFTWARE, INC.
417 Ingalls St. Unit C, Santa Cruz, CA 95060 831.426.6163  email: info@artwork.com