<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Defining Cutting Tools</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic2" id="xps10_pagetitle">Defining Cutting Tools</div>
      <hr noshade="true">
      <p class="para_topic">Cutting tools are assembly part files that define the tool geometry. The system needs to know how to mount the tool to the turret or spindle and also needs additional information about the tool tracking point. You define this information by creating a small kinematics model in the tool assembly part file. This consists of at least one kinematics component which contains only a  <a class="links" href="javascript:void(0)" onclick="top.openFile('mfgisv/mfgisv_creat_create_junctions.html');return(false);">mounting junction</a> and tool tip junction. When the tool is mounted, the corresponding junction coordinate systems in the tool and spindle or turret are matched. The tool tip information determines the tracking point for the tool.
      </p>
      <p class="para_topic">For information on storing part files in NX Library, see the Manufacturing General documentation, <a class="links" href="javascript:void(0)" onclick="top.popUpPage('mfggeneral/index.html?goto=mfggeneral/lib_tool_asem_part.html&vars=-aux,-home','linkInter','menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,location=no,directories=no');return(false);">Tool Assembly Part Files</a>.
      </p>
      <div class="title_division">Specifying a Mounting Junction and Tool Tip Junction</div>
      <p class="para_division">To create the kinematics model for the tool:</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">Open the tool part file.</p>
         </li>
         <li>
            <p class="para_item">Select <b class="uiTerm">Application</b> &rarr; <b class="uiTerm">Machine Tool Builder</b>.
            </p>
         </li>
         <li>
            <p class="para_item">In the <b class="uiTerm">Machine Tool Navigator</b>, &nbsp;MB3 on the base component and select <b class="uiTerm">Insert</b> &rarr; <b class="uiTerm">Tool Base Component</b>.
            </p>
         </li>
         <li>
            <p class="para_item">In the<b class="uiTerm"> Geometries Entities</b> section choose <b class="uiTerm">Add</b>, and select the entire tool geometry.
            </p>
         </li>
         <li>
            <p class="para_item">Confirm the dialog with <b class="uiTerm">OK</b>.
            </p>
         </li>
         <li>
            <p class="para_item">Define the two junctions for the tool: a mounting junction and a tool tip junction. For each of these, MB3 on the tool base component in the <b class="uiTerm">Machine Tool Navigator</b> and select <b class="uiTerm">Junction</b>. Name the junction and define the coordinate system for it using the CSYS constructor.
            </p>
         </li>
         <li>
            <p class="para_item">To classify each of these junctions, select the name of the junction from the list in the <b class="uiTerm">Junction</b> dialog which is still open and select <b class="uiTerm">Classify</b>. Select the appropriate option from the classification list in the <b class="uiTerm">Junction Classification</b> dialog and confirm with <b class="uiTerm">OK</b>. Repeat this step for the other junction. Note that each of the entries in the <b class="uiTerm">Junction</b> dialog are now marked depending on how you classified them: with a &quot;^&quot; for tool tip and a &quot;*&quot; for tool mount.
            </p>
         </li>
         <li>
            <p class="para_item">Close the dialog with <b class="uiTerm">OK</b> to save your work and save the tool part file.
            </p>
            <table border="1" cellpadding="2" cellspacing="1" width="100%" align="center">
               <tbody>
                  <tr>
                     <td colspan="1" rowspan="1">
                        <p align="center"><img align="bottom" src="graphics/def_cut_tool_02.gif"></p>
                     </td>
                  </tr>
                  <tr>
                     <th align="left" colspan="1" rowspan="1">
                        <p class="para_th">Milling Tool with Mounting Junction  <img align="bottom" src="graphics/num1.gif" border="0"> and Tool Tip Junction  <img align="bottom" src="graphics/num2.gif" border="0"> Defined
                        </p>
                     </th>
                  </tr>
               </tbody>
            </table><br><table border="0">
               <tr>
                  <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
                  <td valign="bottom" align="left" width="100%">
                     <div class="para_note">
                        <p class="para_note_body">The X direction of the tool tip junction defines the rotational axis for milling and drilling tools. The origin defines the tracking point.</p>
                     </div>
                  </td>
               </tr>
            </table>
            <table border="0">
               <tr>
                  <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
                  <td valign="bottom" align="left" width="100%">
                     <div class="para_note">
                        <p class="para_note_body">In addition to the junctions, you can also define a kinematics model of the tool including axes. This is necessary for adjustable tools such as adjustable boring tools where the actual cutting diameter is adjusted during NC program execution.</p>
                     </div>
                  </td>
               </tr>
            </table>
         </li>
      </ol>
      <div class="title_division">Default Behavior</div>
      <p class="para_division">If no mounting junction is specified in the tool, then the system looks for the adapter axis and normal axis in the part attributes of the tool assembly part file. The adapter axis defines the X direction and the normal axis defines the Z direction of the mounting CSYS. The third axis is determined by the right hand rule (cross product). &nbsp;The origin is at absolute (0,0,0) of the tool part. &nbsp;</p>
      <p class="para_division">If the tool does not contain a specified tool tip junction, the system looks for offset values in the part attributes.</p>
      <div class="figure">
         <p align="center"><img align="bottom" src="graphics/def_cut_tool_01.gif"></p>
      </div>
      <div class="title_figure">Part Attributes Defined in Tool Assembly Part File</div>
      <p class="para_division">The part attributes are specified as follows:</p>
      <table bgcolor="#f4f4f4" cellspacing="0" width="70%" align="center">
         <tr valign="top">
            <th bgcolor="#c0c0c0" colspan="1" rowspan="1" width="34%">
               <p class="para_th">String</p>
            </th>
            <th bgcolor="#c0c0c0" colspan="1" rowspan="1" width="30%">
               <p class="para_th">Description</p>
            </th>
            <th bgcolor="#c0c0c0" colspan="1" rowspan="1" width="35%">
               <p class="para_th">Default Value</p>
            </th>
         </tr>
         <tr valign="top">
            <td colspan="1" rowspan="1" width="34%">
               <p class="para_td">CAM_TOOL_ATT_X(1) = &lt;value&gt;</p>
            </td>
            <td colspan="1" rowspan="1" width="30%">
               <p class="para_td">Tool tip X-coordinate</p>
            </td>
            <td colspan="1" rowspan="1" width="35%">
               <p class="para_td">0</p>
            </td>
         </tr>
         <tr valign="top">
            <td colspan="1" rowspan="1" width="34%">
               <p class="para_td">CAM_TOOL_ATT_Y(1) = &lt;value&gt;</p>
            </td>
            <td colspan="1" rowspan="1" width="30%">
               <p class="para_td">Tool tip Y-coordinate</p>
            </td>
            <td colspan="1" rowspan="1" width="35%">
               <p class="para_td">0</p>
            </td>
         </tr>
         <tr valign="top">
            <td colspan="1" rowspan="1" width="34%">
               <p class="para_td">CAM_TOOL_ATT_Z(1) = &lt;value&gt; &nbsp;</p>
            </td>
            <td colspan="1" rowspan="1" width="30%">
               <p class="para_td">Tool tip Z-coordinate</p>
            </td>
            <td colspan="1" rowspan="1" width="35%">
               <p class="para_td">0</p>
            </td>
         </tr>
         <tr valign="top">
            <td colspan="1" rowspan="1" width="34%">
               <p class="para_td">ADAPTER_AXIS = &lt;vector&gt;</p>
            </td>
            <td colspan="1" rowspan="1" width="30%">
               <p class="para_td">Vector in direction of the </p>
               <p class="para_td">machine adapter of the tool</p>
            </td>
            <td colspan="1" rowspan="1" width="35%">
               <p class="para_td">(1,0,0)</p>
            </td>
         </tr>
         <tr valign="top">
            <td colspan="1" rowspan="1" width="34%">
               <p class="para_td">NORMAL_AXIS = &lt;vector&gt;</p>
            </td>
            <td colspan="1" rowspan="1" width="30%">
               <p class="para_td">Normal to working plane</p>
            </td>
            <td colspan="1" rowspan="1" width="35%">
               <p class="para_td">(0,0,1), vertical to ADAPTER_AXIS</p>
            </td>
         </tr>
      </table><br><p class="para_division">If neither a mounting junction, an adapter axis nor a normal axis is specified, then the absolute CSYS of the tool assembly part file is taken as the mounting junction. All sample tools are designed in this fashion. </p>
      <table border="0">
         <tr>
            <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
            <td valign="bottom" align="left" width="100%">
               <div class="para_note">
                  <p class="para_note_body">In older tool assembly part files you will find the part attributes in the following format:</p>
               </div>
            </td>
         </tr>
      </table>
      <p class="para_division">G4ATT_LQ = value1 value2</p>
      <p class="para_division">This is equivalent to the more modern part attribute format:</p>
      <p class="para_division">CAM_TOOL_ATT_X(1) = value1</p>
      <p class="para_division">CAM_TOOL_ATT_Y(1) = value2</p>
   </body>
</html>
