Using The Post Postprocessor

This section pertains to:

 

Post Postprocessor Required System Variables

To activate Post the environment variable UGII_CAM_POST_CONFIG_FILE has to be defined and has to point a configuration file. The configuration file must have an extension of .dat. The configuration file is used to map a machine name to an event handler file name and a definition file name. This format of the configuration file will be as follows:

FANUC-15m,fanuc.tcl,fanuc.def

HITACHI SEIKI VK-55,seiki.tcl,seiki.def

CINCINATI/MILACRON,cinci.tcl,cinci.def

Note that we have three new file extensions: 1) .tcl which is used for the event handler, 2) .def which is used for the defintion (or format) file, and 3) .dat which is used for the configuration file.

The environment variable UGII_CAM_POST_DIR defines the directory path to where the following Post related files are located.

mom_debug.tcl (the debugger)

mom_review.tcl (the review tool)

ugpost_base.tcl (the base file)

You can also place your event handler and definition files in this directory and reference them using the environment variable instead of specifying the directory path.

Post Postprocessing From NX

With the UGII_CAM_POST_CONFIG_FILE defined, selecting Tools->Operation Navigator->Output->Post Postprocess in the menu bar or selecting the Post Postrocess icon in the tool bar, will bring up the dialog shown below.

NX will read the information in the Configuration File and display a list of all available machine names in the dialog's list window.

Select the machine that you want the toolpath data postprocessed for. Enter the name of the Output File that you want Post to write to in the Specify an Output File text field. Select the Apply button to start the processing.

NX will then use the information in the Configuration File to determine the the appropriate Definition File and Event Handler to use and then call Post to postprocess the toolpath data.

Post Postprocessing From The Operating System

Runugpost is an interactive menu utility which allows you to execute the Post postprocessor outside of a NX session.

Starting the Postprocessor

Windows

Start->All Programs->NX x.x->Manufacturing Tools->ugpost

Command prompt

Enter the following:

run ${UGII_BASE_DIR}\MACH\auxilliary\runugpost.exe

To start a command prompt from NX:

Start->All Programs->NX x.x->NX Tools->Command Prompt