<!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>ug_oper_createLinearMotion()</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_topic3" id="xps10_pagetitle">ug_oper_createLinearMotion()</div>
      <hr noshade="true">
      <p class="para_topic">This function can be used to create linear user defined toolpath motions. The motions will be written as gotos into the toolpath once the toolpath is generated. It must be used from the KF exposed operation parameter user_defined_tool_path in a holemaking operation.</p>
      <p class="para_topic">Input:</p>
      <ul class="unmarkedList">
         <li>
            <p class="para_item">Point - Coordinate where the motion ends</p>
         </li>
         <li>
            <p class="para_item">Vector &ndash; Tool axis specification</p>
         </li>
         <li>
            <p class="para_item">Number &ndash; Feedrate value </p>
         </li>
         <li>
            <p class="para_item">Integer &ndash; Feedrate unit </p>
            <ol type="1" start="0">
               <li>
                  <p class="para_item">&ndash; no feed unit</p>
               </li>
               <li>
                  <p class="para_item">&ndash; feedrate per minute</p>
               </li>
               <li>
                  <p class="para_item">&ndash; feedrate per revolution </p>
               </li>
            </ol>
         </li>
         <li>
            <p class="para_item">Integer &ndash; Feedrate type</p>
            <ol type="1" start="1">
               <li>
                  <p class="para_item">&ndash; rapid</p>
               </li>
               <li>
                  <p class="para_item">&ndash; engage </p>
               </li>
               <li>
                  <p class="para_item">&ndash; cut </p>
               </li>
               <li>
                  <p class="para_item">&ndash; retract </p>
               </li>
            </ol>
         </li>
      </ul>
      <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"> All positions and axis&rsquo; must be defined relative to the absolute coordinate system (Csys) of the part. </p>
                  <p class="para_note_body"> The user-defined toolpath is only executable if the use_user_defined_toolpath option is activated in the operation.</p>
               </div>
            </td>
         </tr>
      </table>
      <div class="title_division">Example of ug_oper_createLinearMotion()</div>
      <p class="para_division">See ug_cam_samples.dfa</p>
   </body>
</html>