<!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_askPocketCornerRadius()</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_askPocketCornerRadius()</div>
      <hr noshade="true">
      <p class="para_topic">This function returns two values: the maximum and the minimum corner radii of a pocket feature. A corner radius of a pocket is a cylindrical face tangent to a features wall with its axis normal to the tool axis as defined in the operation. If the operation has a single or multiple features with multiple corners, the function collects all minimum radii and returns the smallest one, all the maximum radii and returns the largest one.</p>
      <div class="title_division">Examples of How to Use ug_oper_askPocketCornerRadius()</div>
      <p class="para_division">$tool_dia &lt;&lt; if (!Empty?(ug_oper_askPocketCornerRadius())) &amp; (nth(2,ug_oper_askPocketCornerRadius()) != 0)</p>
      <p class="para_division">&nbsp;&nbsp;then nth(2,ug_oper_askPocketCornerRadius())*2</p>
      <p class="para_division">Returns a tool diameter equal to the minimum corner of a pocket.</p>
   </body>
</html>