NETEX-G Topics

Overview
• Introduction
• Applications
• User Interface
 
Inputs
• Gerber File Requirements
• Vias from Drill Data
• Layer Stackup
• Wire Bond Data
 
Assigning Nets and Nodes
• From ASCII Table
• From AIF
• From IPC356
• From GBRVU

Outputs
• ASCII Output
• Ansoft ANF
• Geometry Options
• GDSII
• DXF
 
Proximity Effect
• What is a Proximity Net?
• What is a Neighbor Net?
 
 
Extractions
• Extracting Nets
 
 
Netex Engine
• Program Flow
• Job File Syntax
• Command Line Syntax
• drl2gbr engine
• generating wire coords  

 

The netexgmgr Command Line

For an application to run NETEX-G without the GUI, it must first create the njb file, and then generate a command line with the correct arguments. This page documents the netexgmgr command line and arguments.



netexgmgr <job_file> <output_file> [options]

where:

job_file                 path/name to an .njb job file. This ascii resource file contains stackup, 
                         component, net, path, output and settings for the netexgmr engine. [required]

output_file              full path and name of the output to be produced.


options:


======== Input and Output Controls =======================================================

-outtype:<type>                     gds_cshape    ASCII
                                    gds_stream    GDSII Stream   
                                    dxf           AutoCAD's DXF format
                                    3di           Artwork's 3Di format (via ASCII)
                                    ansoft        Ansoft's ANF file format
                                    idf           Intermediate Data Format (for PCB)
                                    
                                    default is gds_cshape

-wdir:<dirpath>                     working directory where temporary files and logs are written.


======== Output Geometry Controls ========================================================



  -loutput                          use Leonov polygons when needed for "islands"

  -cutlines                         use re-entrant polygons when needed for "islands"

  -nocutlines                       break polygons that would form islands into two or more 
                                    butting polygons.

  -convex                           Output polygons will be broken into convex.

  -circularize                      Activates circularize mode.


-arcres:<resolution>                number of degrees that a chord spans when converting an arc 
                                    to segments. Details

-arcsag:<sag>                       the max error between the chord used to approximate the arc 
                                    and the arc itself. Details

-maxpts:<num_points>                maximum number of vertices per polygon in the output. Note that
                                    input data often contains arcs which must be fractured to a large
                                    number of segments. Typical value here is 2048.


======== Text Display Controls ============================================================

Applies to formats such as DXF and GDSII where text can be generated and is used to label
nets and nodes.

-textheight:<value>[<unit>]         Set the text height. If a unit descriptor is present the
                                    program will use those units. If no units descriptor is present then
                                    units default to the Gerber input units.
                                    <unit> can be: INCH, MIL, CM, MM, or UM

-textoffsetlayer:<number>           moves the text from its nominal layer by a value equal to <number>.


======== String Matching Controls =========================================================

-regexp                             Interpret regular expressions as specified (i.e. Not like DOS).
                                    String matching is used when a user wants to extract geometries
                                    associated with nets and wants to use a wildcard or regular 
                                    expression to extract more than one net.


======== Conversion Setting and Parameter Controls ========================================

-outscale:<value>                   Scale the output data by <value>. Default=1.


-outunit:<um|mm|cm|inch|mil>        units of the output file. If this is not on the command line
                                    output units will default to input units (i.e. either inch or
                                    mm since Gerber input only is defined for those two units.)
			

-outgrid:<value>                    Sets output grid to <value>. If not specified output
                                    grid defaults to the following values based on the output units.
                                         um   ==>  1.0e-03
                                         mm   ==>  1.0e-05
                                         cm   ==>  1.0e-06
                                         inch ==>  1.0e-06
                                         mil  ==>  1.0e-03


======== Data Smoothing Controls =========================================================

-sliver:<value>[<unit>]             Set Sliver Filter to <value>. The sliver filter 
                                    deletes tiny polygons based on a ratio of perimeter to area. 
                                    If a unit descriptor is present the program will use those units. 
                                    If no units descriptor is present then the units default to the 
                                    Gerber input units.
                                    <unit> can be: INCH, MIL, CM, MM, or UM                                   


-smoothing:<value>[<unit>]          Set smoothing filter to be <value>. The smoothing 
                                    filter checks the distance between adjacent vertices 
                                    of a polygon. Vertices that are spaced closer than <value> are removed.


-proxsmoothing:<value>[<unit>]      Apply smoothing of <value> in Gerber input units 
                                    or <unit> specified to proximity results.
                                    <unit> can be: INCH, MIL, CM, MM, or UM.



======== Routing, Drill and Mounting Hole Controls ========================================

-useroutinglayers                   Use routing layers as scratch data for metal and dielectrics.

-backdrill                          Remove back drills.

-drillsnap:<value>[<unit>]          Specify <value> to be drill snap in Gerber input units or <unit> 
                                    specified (Used with -backdrill). Default is 0.0 input units.
                                    <unit> can be: INCH, MIL, CM, MM, or UM.

-drillarcres:<value>                Specify <value> to be drill arc resolution. Default is 9.0 degrees.

-drillarcsag:<value>[<unit>]        Specify <value> to be drill chord error in Gerber input units or <unit> 
                                    specified. Default is 0.0 input units.
                                    <unit> can be: INCH, MIL, CM, MM, or UM.

-dropviasinoutput                   Remove vias in output.

-detectmounthole                    Consider a hole to be a mounting hole if its diameter exceeds the 
                                    value set for mountholesize.

-mountholesize:<value>[<unit>]      Specify <value> to be mount hole size in Gerber input units or <unit> 
                                    specified. Default is 0.0 input units.
                                    <unit> can be: INCH, MIL, CM, MM, or UM.

-mountholearcres:<value>            Specify <value> to be mount hole arc resolution.
                                    Default is 9.0 degrees.

-mountholearcsag:<value>[<unit>]    Specify <value> to be mount hole chord error in Gerber input units 
                                    or <unit> specified. Default is 0.0 input units.
                                    <unit> can be: INCH, MIL, CM, MM, or UM.


============ Extraction Controls =========================================================

-omit_extracts                      Omit extractions in output.

-incrsave:<file_name>               Specify <file_name> for storing incremental information.

-incremental:<stage_name>           Specify <stage_name>  for running incrementally from.
                                    <stage_name> is currently only valid for gds_ascii_extractions.



======== ROI and Profile Controls ========================================================
These settings determine the region of interest (ROI) or the board profile (outline) or a window.


-genprofile                         directive to netexmgr that a "profile" needs to be created. This
                                    is followed by several additional command line options which
                                    define how the profile is created. Details

  -prfselwin:<type>                profile selection window. Types are: dataexts (compute data extents)
                                    window (a rectangular window) poly (a polygonal boundary) Details

  -roi_window:<xmin>[<unit>],<ymin>[<unit>],<xmax>[<unit>],<ymax>[<unit>]       

                                    Defines a rectangular window by its lower left and upper right 
                                    coordinates. Default units are in Gerber input file units unless 
                                    the unit descriptor is used.
                                    This parameter is required if -prfselwin: is set to window.


 -roi_polywin:<filename>            points to an ascii file that contains the coordinates of a polygon used
                                    to define a region of interest. This parameter is required if
                                    -prfselwin: is set to poly. For a syntax example see the page:
                                    Profile Generation
 

  -roi_margin:<value>         an additional "margin" to be used when -prfselwin:dataexts is in 
                                    effect. This is normally a small positive value that insures that 
                                    any data reversals do not generate slivers or illegal polygons at
                                    the boundary of the reversal window. If -prfselwin:window or poly
                                    then this margin value is ignored. Details


======== General Output Controls =========================================================

-retainvias                         Retain vias in output formats that support vias.

-outputpaths[:<max width>[<unit>]]  Convert boundaries to paths where edges are parallel.
                                    If max width is not specified, 12.7mm or 0.5 inches is used.
                                    If max width is specified, <max_width> is in Gerber input units 
                                    or <unit> specified.
                                    <unit> can be: INCH, MIL, CM, MM, or UM.

-outputwiremodel                    Force output of wire model information.



======= DXF and GDSII Specific Output Controls ===========================================

-complibmodel                       Applies component library model to DXF or GDSII output.

-flatten                            Flattens hierarchy of DXF or GDSII output.

-padmetalfilter                     if present, suppresses generation of metal pads which are
                                    derived from "building" padstacks. Details



======= GDSII Output Controls =============================================================

-disablenamefix                     Disables name filtering applied to GDSII output.

-layermap:<file_name>              Specify <file_name> to store layer map information.
                                   Each line entry consist of:
                                   <number> "<name>" "<description>"
                                   <number> is the <layer>[:datatype] that a Gerber layer is mapped to.
                                   <name> is the base name representation of the Gerber file 
                                   (e.g. sig1_art represents sig1.art).
                                   <description> describes the layer being mapped but could be 
                                   empty (i.e. empty is "").

-cadnav:<cadnav_args>              Specify <cadnav_args> to create CADNAV output.
                                   <cadnav_args> is composed of:
                                   <<pin_pad_size>[<unit>],<pin_pad_base_layer>,
                                   <min_component_pin_count>,<njb_file>>
                                   <unit> can be: INCH, MIL, CM, MM, or UM.

-cadnavtbl:<file_name>             Specify <file_name> to store CADNAV table entries.

-stepht:<value>[<unit>]	           Specify step height for CADNAV output in Gerber input units 
                                   or <unit> specified.
                                   <unit> can be: INCH, MIL, CM, MM, or UM.


======== DXF Output Controls ==============================================================

-apply3d                           Applies 3d extrusions to DXF output.



======== ANF Output Controls ==============================================================

-ipc356:<file_name>                Specify IPC356 <file_name> as only source 
                                   for ANF component output(.cmp file) along with BOM 
                                   (Bill of material) file.
                                   Default is to use component information in COMP section
                                   of the Netex-G job fie.

-bom:<file_name>                   Specify <filename> to define XY placement of
                                   components in conjunction with specified IPC356 file.


-ipc356_off:<xoff[<unit>],yoff[<unit>]>      Specify XY offset for any locations.
                                             <unit> can be: INCH, MIL, CM, MM, or UM.



======== 3Di Output Controls ==============================================================

-dielectric_profile                Create dielectric bodies.

-topdown:<1:0>                     Stackup order for 3Di output.

-group:<bylayer|bynet>             Grouping for 3Di output.

-extractionsonly                   Format extraction files only.

-ace                               Use 0.25 line to width ratio instead of 0.4 
                                   (for -outputpaths and AWR OEM).


======== Flow Controls ====================================================================

-force32bit                        Force use of 32 bit executables instead of 64 bit.
                                   Default is to use 64 bit in 64 bit OS and 32 bit in 32 bit OS
 
-thrnum:<number>                   Specify the number of threads to be used with <number>.
                                   Default is to use number of processors detected.

-silent                            Suppresses individual program displays.

-singledlg                         Display Netex-G's progress through a single dialog box. 
                                   Default is off.
				


======== Diagnostic Controls ==============================================================

-nocleanup                         Keeps intermediate work files.



Example

In the example below on the left are all of the arguments of the command line. Normally they would be on one line but are shown separately for clarity. On the right is a short comment. It is good practice to enclose in quotes all arguments that have spaces in the file names or paths.


netexgmgr.exe                 program name - use the full path

art2_job.njb                  name of netex job file - use the full path 

art2.gds                      name of output file - use the full path 

-outtype:gds_stream           type of output file requested is GDSII stream

"-wdir:E:\My Files\output"    location of temp files

-maxpts:2048                  max points per polygon

-arcres:15.0                  arc resolution

-arcsag:0.05                  chord error (input data is in mm)

-smoothing:0.02               smoothing value

-cutlines                     output polygons with cut lines

-sliver:0.01                  remove any polygons whose sliver factor is < 0.01





Download

Benchmark Files

Revision History

Price




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