<!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>Slope constraints</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_topic5" id="xps10_pagetitle">Slope constraints</div>
      <hr noshade="true">
      <table cellspacing="4" align="center">
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('routingtools/paths_overview.html');return(false);">Paths Overview</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('routingtools/paths_create_editpath.html');return(false);">How To</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('routingtools/paths_routing.html');return(false);">Options</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Related Topics</p>
            </td>
         </tr>
      </table><br><p class="para_topic"><b class="uiTerm">Slope Constraints</b> provides the functionality to create a slope constraint on a given segment. A segment can be slope constrained only if it is a linear segment that does not follow a curve and connects to a fitting port at one or both ends, and is tangential to the alignment vector of the ports at its RCPs. Once a slope constraint creates on a segment, the slope of the segment maintains to match the alignment vector of the fitting port connected to it. In some cases new segments will create to maintain the slope association. All bend corners that exist in the path of the slope constrained segments update to match the new position of the segments. In cases where it is not possible to correctly update the bend corners, the corners will delete. Whenever you create new segments to maintain the slope association, routing stock appearing on the original slope&ndash;constrained segments assigns to the new segments. Slope constraints will automatically delete if the connecting fitting ports delete.
      </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">Do not confuse <b class="uiTerm">Slope Constraints</b> with the <b class="uiTerm">Shape Constraints</b> placed on spline segments. Place slope constraints on linear segments only.
                  </p>
               </div>
            </td>
         </tr>
      </table>
      <p class="para_topic">Slope constraints automatically create under the following circumstances:</p>
      <ul>
         <li>
            <p class="para_item">The routing preference <b class="uiTerm">Create Slope Constraints</b> is turned on and a part is placed on a path such that there are linear, non&ndash;follow curve segments that end at the same location as fitting ports and the slope of the segment matches the alignment vector of the port.
            </p>
         </li>
         <li>
            <p class="para_item">The routing preference <b class="uiTerm">Create Slope Constraints</b> is turned on and segments are created using routing <b class="uiTerm">Create Path/Heal Path</b> functionality that end at the same location as fitting ports and the slope of the segment matches the alignment vector of the port.
            </p>
         </li>
      </ul>
      <p class="para_topic">The following images show some simple examples of slope constraints functionality:</p>
      <p align="center"><img align="bottom" src="graphics/slope_exam1.gif"></p>
      <p align="center"><img align="bottom" src="graphics/slope_exam2.gif"></p>
      <p class="para_topic">The above figure indicates the new position of the segments when the fitting on the top transforms to the right.</p>
      <p align="center"><img align="bottom" src="graphics/slope_exam3.gif"></p>
      <p class="para_topic">In the above image, the segment connecting the two fittings is over&ndash;constrained.</p>
      <p align="center"><img align="bottom" src="graphics/slope_exam4.gif"></p>
      <p class="para_topic">Create two new segments to maintain the slope of the segments connected to these fittings.</p>
      <p class="para_topic">Some 3D complex illustrations appear below.</p>
      <p align="center"><img align="bottom" src="graphics/slope_exam5.gif"></p>
      <p class="para_topic">Initial model (numbers added for reference).</p>
      <p align="center"><img align="bottom" src="graphics/slope_exam6.gif"></p>
      <p class="para_topic">This illustrates the positions of the segments, when fitting&ndash;5 transforms.</p>
      <p align="center"><img align="bottom" src="graphics/slope_exam7.gif"></p>
      <p class="para_topic">This illustrates the positions of the segments when fitting &ndash;2 transforms.</p>
      <p align="center"><img align="bottom" src="graphics/slope_exam8.gif"></p>
      <p class="para_topic">This illustrates the positions of the segments when fitting-6 transforms.</p>
   </body>
</html>