<!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_createCircularMotion()</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_createCircularMotion()</div>
      <hr noshade="true">
      <p class="para_topic">This function can be used to create circular user defined toolpath motions. The motions will be written as gotos and circles 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 &ndash; Coordinate of start point</p>
         </li>
         <li>
            <p class="para_item"> Vector &ndash; Tool axis specification at start position</p>
         </li>
         <li>
            <p class="para_item">Point &ndash; Coordinate of end point </p>
         </li>
         <li>
            <p class="para_item"> Vector &ndash; Tool axis specification at the end position</p>
         </li>
         <li>
            <p class="para_item">Vector &ndash; Arc axis specification </p>
         </li>
         <li>
            <p class="para_item"> Point &ndash; Coordinate of arc center point</p>
         </li>
         <li>
            <p class="para_item">Number &ndash; Arc radius </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>
         <li>
            <p class="para_item">Integer &ndash; Material side </p>
            <ol type="1" start="0">
               <li>
                  <p class="para_item"> &ndash; undefined</p>
               </li>
               <li>
                  <p class="para_item">&ndash; right </p>
               </li>
               <li>
                  <p class="para_item">&ndash; on </p>
               </li>
               <li>
                  <p class="para_item">&ndash; left </p>
               </li>
            </ol>
         </li>
         <li>
            <p class="para_item"> Integer &ndash; Direction</p>
            <ol type="1" start="1">
               <li>
                  <p class="para_item">&ndash; circular clock wise</p>
               </li>
               <li>
                  <p class="para_item"> &ndash; circular counter clock wise</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 or in KF. </p>
               </div>
            </td>
         </tr>
      </table>
      <div class="title_division">Example of ug_oper_createCircularMotion()</div>
      <p class="para_division">See ug_cam_sample.dfa</p>
   </body>
</html>