<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>Using the Post Postprocessor</title>

<!--(Meta)==========================================================-->

<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=1502>
<meta name=layout-width content=655>
<meta name=date content="03 25, 2004 10:49:28 AM">


<!--(Links)=========================================================-->

<link rel="StyleSheet" href="../../css/main_styles.css">



<!--(Style Sheet)===================================================-->

<style>
<!--
body {background-color: #ffffff;}
-->
</style>


</head>

<!--(Body)==========================================================-->


<body class="bodydocs" onLoad="top.pageLoader()" bgcolor="#FFFFFF">


<h1 CLASS=ChapName>Using The Post Postprocessor</h1>

<p CLASS=Paragraph>This section pertains to:</p>

<ul>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet>Post system requirements</p></li>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet>Post postprocessing 
 from NX</p></li>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet>Post postprocessing 
 from the operating system</p></li>
</ul>

<p CLASS=Paragraph>&nbsp;</p>

<h1>Post Postprocessor Required System Variables</h1>

<p CLASS=Paragraph>To activate Post the environment variable <span style="font-weight: bold;">UGII_CAM_POST_CONFIG_FILE</span> 
 has to be defined and has to point a configuration file. The configuration 
 file must have an extension of <span style="font-style: italic;">.dat</span>. 
 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:</p>

<p CLASS=ListBulletTxt>FANUC-15m,fanuc.tcl,fanuc.def</p>

<p CLASS=ListBulletTxt>HITACHI SEIKI VK-55,seiki.tcl,seiki.def</p>

<p CLASS=ListBulletTxt>CINCINATI/MILACRON,cinci.tcl,cinci.def</p>

<p CLASS=Paragraph>Note that we have three new file extensions: 1) <span 
 style="font-style: italic;">.tcl</span> which is used for the event handler, 
 2) <span style="font-style: italic;">.def </span>which is used for the 
 defintion (or format) file, and 3) <span style="font-style: italic;">.dat</span> 
 which is used for the configuration file.</p>

<p style="text-align: left;"
	align=left>The environment variable <span style="font-weight: bold;">UGII_CAM_POST_DIR 
 </span><span style="font-weight: normal;">defines the directory path to 
 where the following Post related files are located.</span></p>

<p style="text-align: left; margin-left: 40px;"
	align=left><span style="font-weight: normal;">mom_debug.tcl (the debugger)</span></p>

<p style="text-align: left; margin-left: 40px;"
	align=left><span style="font-weight: normal;">mom_review.tcl (the review 
 tool)</span></p>

<p style="text-align: left; margin-left: 40px;"
	align=left><span style="font-weight: normal;">ugpost_base.tcl (the 
 base file)</span></p>

<p style="text-align: left;"
	align=left><span style="font-weight: normal;">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.</span></p>

<h1><a NAME=postprocessing></a>Post Postprocessing From NX</h1>

<p CLASS=Paragraph>With the <span style="font-weight: bold;">UGII_CAM_POST_CONFIG_FILE</span> 
 defined, selecting Tools-&gt;Operation Navigator-&gt;Output-&gt;Post Postprocess 
 in the menu bar or selecting the Post Postrocess icon in the tool bar, 
 will bring up the dialog shown below.</p>

<p CLASS=Image><img src="../graphics/ugpost_stuau03.gif"
					x-maintain-ratio=true
					style="border-style: none;
							margin-top: 0px;
							margin-bottom: 0px;
							margin-left: 0px;
							margin-right: 0px;
							width: 206px;
							height: 278px;
							float: none;"
					width=206
					height=278
					border=0></p>

<p CLASS=Paragraph>NX will read the information in the Configuration File 
 and display a list of all available machine names in the dialog's list 
 window.</p>

<p CLASS=Paragraph>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.</p>

<p CLASS=Paragraph>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.</p>

<h1><a NAME=operate_system></a>Post Postprocessing From The Operating System</h1>

<h2>Run UGPOST</h2>

<p CLASS=Paragraph>Runugpost is an interactive menu utility which allows 
 you to execute the Post postprocessor outside of a NX session.</p>

<p CLASS=Paragraph>The utility file name and its executable command are 
 as follows:</p>

<!--(Table)=========================================================-->
<!--begin!kadov{{--><div align=center><!--}}end!kadov-->
<table x-use-null-cells
		wrapperparagraphselector=P.CellDescrip
		style="x-border-left: 1px table-solid;
				x-border-top: 1px table-solid;
				x-border-right: 1px table-solid;
				x-border-bottom: 1px table-solid;
				border-collapse: separate;
				border-spacing: 0px;
				float: aligncenter;"
		cellspacing=0
		border=1>

<tr>
<td style="background-color: #000080;
			x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top
	bgcolor=#000080>
<p CLASS=CellTopic
	style="text-align: center; margin-bottom: 0;"
	align=center><span style="font-weight: bold;"><font style="color: #ffffff;"
														color=#FFFFFF>System</font></span></td>
<td style="background-color: #000080;
			x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top
	bgcolor=#000080>
<p CLASS=CellTopic
	style="text-align: center; margin-bottom: 0;"
	align=center><span style="font-weight: bold;"><font style="color: #ffffff;"
														color=#FFFFFF>Filename</font></span></td>
<td style="background-color: #000080;
			x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top
	bgcolor=#000080>
<p CLASS=CellTopic
	style="text-align: center; margin-bottom: 0;"
	align=center><span style="font-weight: bold;"><font style="color: #ffffff;"
														color=#FFFFFF>Execute 
 Command</font></span></td></tr>

<tr>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: center; margin-bottom: 0;"
	align=center>UNIX</td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: center; margin-bottom: 0;"
	align=center>ugpost</td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: center; margin-bottom: 0;"
	align=center><span style="font-weight: bold;">ugpost</span></td></tr>

<tr>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: center; margin-bottom: 0;"
	align=center>Windows NT</td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: center; margin-bottom: 0;"
	align=center>ugpost</td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: center; margin-bottom: 0;"
	align=center><span style="font-weight: bold;">ugpost</span></td></tr>
</table>
<!--begin!kadov{{--></div><!--}}end!kadov-->
<p CLASS=Paragraph>You can also access Runugpost from the Uniproducts Activity 
 Menu by selecting:</p>

<p CLASS=Paragraph
	style="margin-bottom: 0;">POST (Machine Post Processing) &gt; UGPOST 
 (NX Postprocessing) </p>

</body>

</html>
