Salome HOME
Merging with WPdev
[modules/smesh.git] / doc / salome / gui / SMESH / files / sewing_meshes.htm
index 3a71c8db9fb56f64dce2af4fe6f5c3c79a9ec73e..3a461cf2539ff840e058216627b654ed7277f10c 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Sewing meshes</title>\r
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; }\r
-ul.whs2 { list-style:disc; }\r
-p.whs3 { font-weight:bold; }\r
-p.whs4 { margin-left:40px; }\r
-img_whs5 { border:none; width:332px; height:548px; border-style:none; float:right; }\r
-img_whs6 { border:none; width:612px; height:225px; border-style:none; }\r
-img_whs7 { border:none; width:581px; height:218px; border-style:none; float:left; }\r
-img_whs8 { border:none; width:600px; height:227px; border-style:none; }\r
-p.whs9 { margin-left:0px; }\r
-img_whs10 { border:none; width:620px; height:228px; border-style:none; }\r
-img_whs11 { border:none; width:304px; height:222px; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs9 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
-p.WebHelpNavBar { text-align:right; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.setRelStartPage)\r
-       {\r
-       addTocInfo("MESH module\nModifying meshes\nTransforming meshes\nSewing meshes");\r
-addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");\r
-addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");\r
-\r
-       }\r
-\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../index.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(4);\r
-//-->\r
-</script>\r
-<h1>Sewing meshes</h1>\r
-\r
-<p><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"> In SMESH you can sew elements of &nbsp;different \r
- meshes. The current functionality allows you to sew:</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p class="whs3"><a href="#free bord">Free \r
- borders </a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a href="#conform">Conform \r
- free borders</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a href="#border to side">Border \r
- to side</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a href="#side elements">Side \r
- elements</a></p></li>\r
-</ul>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class=TODO>To sew elements of different meshes:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs4">1. From the <span style="font-weight: bold;"><B>Modification \r
- </B></span>menu choose the <span style="font-weight: bold;"><B>Transformation \r
- </B></span>item and &nbsp;from \r
- its sub-menu select the <span style="font-weight: bold;"><B>Sewing </B></span>item. \r
- </p>\r
-\r
-<p class="whs4">2. Check in the dialog box one of the radio \r
- buttons corresponding to the type of sewing operation you would like to \r
- perform. </p>\r
-\r
-<p class="whs4">3. Fill the other fields available in the \r
- dialog box</p>\r
-\r
-<p class="whs4">4. Click the <span style="font-weight: bold;"><B>OK \r
- </B></span><span>or </span><span style="font-weight: bold;"><B>Apply </B></span>button \r
- to perform the operation of sewing. </p>\r
-\r
-<h3><a name="free bord"></a>Sew free borders<img src="../pics/sewing1.png" x-maintain-ratio="TRUE" width="332px" height="548px" align="right" border="0" class="img_whs5"></h3>\r
-\r
-<p>This functionality allows you to unite two free borders of a 2D mesh.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>For sewing free borders you should define three points on each border: \r
- first, second and the last node: </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p>&nbsp;the \r
- first node specifies beginning of the border ;</p></li>\r
-       \r
-       <li class=kadov-p><p>&nbsp;the \r
- second node specifies the part of the border which should be considered \r
- (as far as the free border usually forms a closed contour);</p></li>\r
-       \r
-       <li class=kadov-p><p>&nbsp;the \r
- last node specifies the end of the border.</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>You can select these nodes in the 3D viewer or define by its id.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>The first and the second nodes should belong to the same link of a face. \r
- The second and the last nodes of a border can be the same. The first and \r
- the last nodes of two borders can be the same. The corresponding end nodes \r
- of two borders will be merged. Intermediate nodes of two borders will \r
- be either merged or inserted into faces of the opposite border.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>The sewing algorithm is as follows:</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs4">1. The parameter (U) of each node within \r
- a border is computed. So that the first node has U=0.0, the last node \r
- has U=1.0, for the rest nodes 0.0 &lt; U &lt; 1.0;</p>\r
-\r
-<p class="whs4">2. Compare node parameters of the two borders. \r
- If two nodes of the opposite borders have close parameters, they are merged, \r
- i.e. a node of the first border is replaced in all elements by a node \r
- of the second border. If a node has no node with a close parameter in \r
- the opposite border, it is inserted into an edge of element of the opposite \r
- border, an element is split. Two nodes are considered close enough to \r
- merge, if difference of their parameters is less than one fifth of minimum \r
- length of adjacent face edges on the borders.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs4"><img src="../image22.jpg" width="612px" height="225px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p>&nbsp;&nbsp;<span style="font-weight: bold;"><B>See \r
- Also</B></span> a sample TUI Script of a <a href="../transforming_meshes.htm#bookmark4">Sew \r
- Free Borders</a> operation. &nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<h3><a name=conform></a>Sew conform free borders<img src="../pics/sewing2.png" x-maintain-ratio="TRUE" width="332px" height="548px" align="right" border="0" class="img_whs5"></h3>\r
-\r
-<p>This functionality can be used to unite two free borders of a 2D mesh. \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>The borders of meshes for sewing are defined as for &quot;Sew free borders&quot; \r
- except that the second free border is not limited and can be defined by \r
- the first and the second nodes only. The first nodes of two borders can \r
- be the same.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>The algorithm is following: counting nodes starting at the first ones, \r
- the n-th node of the first border is merged with the n-th node of the \r
- other border, until the end of either of borders. Nodes of the first border \r
- are replaced in all elements with corresponding nodes of the second border.</p>\r
-\r
-<p>For sewing conform free borders you should define three points on the \r
- first border and two points on the second one. User can select these nodes \r
- in 3D viewer or define node by its id.<img src="../image23.jpg" width="581px" height="218px" align="left" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<h3>&nbsp;</h3>\r
-\r
-<h3>&nbsp;</h3>\r
-\r
-<h3>&nbsp;</h3>\r
-\r
-<h3>&nbsp;</h3>\r
-\r
-<h3>&nbsp;</h3>\r
-\r
-<p>&nbsp;&nbsp;<span style="font-weight: bold;"><B>See \r
- Also</B></span> a sample TUI Script of a <a href="../transforming_meshes.htm#bookmark5">Sew \r
- Conform Free Borders</a> operation. &nbsp;</p>\r
-\r
-<h3>&nbsp;</h3>\r
-\r
-<h3>&nbsp;</h3>\r
-\r
-<h3><a name="border to side"></a>Sew border to side<img src="../pics/sewing3.png" x-maintain-ratio="TRUE" width="332px" height="548px" align="right" border="0" class="img_whs5"></h3>\r
-\r
-<p>&quot;Sew border to side&quot; is intended to sew a free border to a \r
- mesh surface.</p>\r
-\r
-<p>The free border is defined as for &quot;Sewing of free borders&quot;. \r
- The place where to sew the border is defined by two nodes, between which \r
- the border faces are placed, so that the first border node is merged with \r
- the first node on the side and the last node of the border is merged with \r
- the second specified node on the side.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p>The algorithm is following.</p>\r
-\r
-<p>1. Find a sequence of linked nodes on the side such that the found links \r
- to be most co-directed with the links of the free border.</p>\r
-\r
-<p>2. Sew two sequences of nodes using algorithm of &quot;Sewing of free \r
- berders&quot;.</p>\r
-\r
-<p>For sewing border to side you should define three points on the border \r
- and two points on the side. User can select these nodes in 3D viewer or \r
- define node by its id.</p>\r
-\r
-<p><img src="../image30.jpg" width="600px" height="227px" border="0" class="img_whs8"></p>\r
-\r
-<p>&nbsp;&nbsp;<span style="font-weight: bold;"><B>See \r
- Also</B></span> a sample TUI Script of a <a href="../transforming_meshes.htm#bookmark6">Sew \r
- Border to Side</a> operation. &nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3>&nbsp;</h3>\r
-\r
-<h3><a name="side elements"></a>Sew side elements<img src="../pics/sewing4.png" x-maintain-ratio="TRUE" width="332px" height="548px" align="right" border="0" class="img_whs5"></h3>\r
-\r
-<p class="whs9">This operation is intended to unite two mesh \r
- surfaces.</p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p>Surfaces may be defined by either 2d or 3d elements. The number of given \r
- elements of the sides must be the same. The sets of given elements must \r
- be topologically equal, i.e. each node of one element set must have a \r
- corresponding node in the other element set and corresponding nodes must \r
- be equally linked. If there are 3d elements in a set, only their free \r
- faces must obey to that rule.</p>\r
-\r
-<p>Two corresponding nodes on each side must be specified. They must belong \r
- to one element and must be located on an element set boundary.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Sewing algorithm finds and merges the corresponding nodes starting from \r
- the specified ones.</p>\r
-\r
-<p><img src="../image31.jpg" width="620px" height="228px" border="0" class="img_whs10"></p>\r
-\r
-<p class="whs4"><img src="../image32.jpg" width="304px" height="222px" border="0" class="img_whs11"></p>\r
-\r
-<p>For sewing side elements you should define elements for sewing and two \r
- nodes for merging on the each side. User can select these elements and \r
- nodes in 3D viewer or define them by its id.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><span style="font-weight: bold;"><B>See Also</B></span> a sample TUI Script \r
- of a <a href="../transforming_meshes.htm#bookmark7">Sew Side Elements</a> \r
- operation. &nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
+<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
+
+<html>
+
+<head>
+<title>Sewing meshes</title>
+<meta http-equiv="content-type" content="text/html; charset=windows-1252">
+<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
+<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
+<!--
+if (navigator.appName !="Netscape")
+{   document.write("<link rel='stylesheet' href='../default.css'>");}
+//-->
+</script>
+<style type="text/css">
+<!--
+img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; }
+ul.whs2 { list-style:disc; }
+p.whs3 { font-weight:bold; }
+p.whs4 { margin-left:40px; }
+img_whs5 { border:none; width:332px; height:548px; border-style:none; float:right; }
+img_whs6 { border:none; width:612px; height:225px; border-style:none; }
+img_whs7 { border:none; width:581px; height:218px; border-style:none; float:left; }
+img_whs8 { border:none; width:600px; height:227px; border-style:none; }
+p.whs9 { margin-left:0px; }
+img_whs10 { border:none; width:620px; height:228px; border-style:none; }
+img_whs11 { border:none; width:304px; height:222px; border-style:none; }
+-->
+</style><script type="text/javascript" language="JavaScript">
+<!--
+if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
+{
+  var strNSS = "<style type='text/css'>";
+  strNSS += "p.whs9 {margin-left:1pt; }";
+  strNSS +="</style>";
+  document.write(strNSS);
+}
+//-->
+</script>
+<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
+<!--
+function reDo() {
+  if (innerWidth != origWidth || innerHeight != origHeight)
+     location.reload();
+}
+if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
+       origWidth = innerWidth;
+       origHeight = innerHeight;
+       onresize = reDo;
+}
+onerror = null; 
+//-->
+</script>
+<style type="text/css">
+<!--
+div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
+p.WebHelpNavBar { text-align:right; }
+-->
+</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
+<script type="text/javascript" language="javascript" src="../whver.js"></script>
+<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
+<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
+<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.gbWhTopic)
+{
+       if (window.setRelStartPage)
+       {
+       addTocInfo("MESH module\nModifying meshes\nTransforming meshes\nSewing meshes");
+addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
+addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
+
+       }
+
+
+       if (window.setRelStartPage)
+       {
+       setRelStartPage("../index.htm");
+
+               autoSync(1);
+               sendSyncInfo();
+               sendAveInfoOut();
+       }
+
+}
+else
+       if (window.gbIE4)
+               document.location.reload();
+//-->
+</script>
+</head>
+<body><script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(4);
+//-->
+</script>
+<h1>Sewing meshes</h1>
+
+<p><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"> In SMESH you can sew elements of &nbsp;different 
+ meshes. The current functionality allows you to sew:</p>
+
+<p>&nbsp;</p>
+
+<ul type="disc" class="whs2">
+       
+       <li class=kadov-p><p class="whs3"><a href="#free bord">Free 
+ borders </a></p></li>
+       
+       <li class=kadov-p><p class="whs3"><a href="#conform">Conform 
+ free borders</a></p></li>
+       
+       <li class=kadov-p><p class="whs3"><a href="#border to side">Border 
+ to side</a></p></li>
+       
+       <li class=kadov-p><p class="whs3"><a href="#side elements">Side 
+ elements</a></p></li>
+</ul>
+
+<p class="whs3">&nbsp;</p>
+
+<p class=TODO>To sew elements of different meshes:</p>
+
+<p class=TODO>&nbsp;</p>
+
+<p class="whs4">1. From the <span style="font-weight: bold;"><B>Modification 
+ </B></span>menu choose the <span style="font-weight: bold;"><B>Transformation 
+ </B></span>item and &nbsp;from 
+ its sub-menu select the <span style="font-weight: bold;"><B>Sewing </B></span>item. 
+ </p>
+
+<p class="whs4">2. Check in the dialog box one of the radio 
+ buttons corresponding to the type of sewing operation you would like to 
+ perform. </p>
+
+<p class="whs4">3. Fill the other fields available in the 
+ dialog box</p>
+
+<p class="whs4">4. Click the <span style="font-weight: bold;"><B>OK 
+ </B></span><span>or </span><span style="font-weight: bold;"><B>Apply </B></span>button 
+ to perform the operation of sewing. </p>
+
+<h3><a name="free bord"></a>Sew free borders<img src="../pics/sewing1.png" x-maintain-ratio="TRUE" width="332px" height="548px" align="right" border="0" class="img_whs5"></h3>
+
+<p>This functionality allows you to unite two free borders of a 2D mesh.</p>
+
+<p>&nbsp;</p>
+
+<p>For sewing free borders you should define three points on each border: 
+ first, second and the last node: </p>
+
+<p>&nbsp;</p>
+
+<ul type="disc" class="whs2">
+       
+       <li class=kadov-p><p>&nbsp;the 
+ first node specifies beginning of the border ;</p></li>
+       
+       <li class=kadov-p><p>&nbsp;the 
+ second node specifies the part of the border which should be considered 
+ (as far as the free border usually forms a closed contour);</p></li>
+       
+       <li class=kadov-p><p>&nbsp;the 
+ last node specifies the end of the border.</p></li>
+</ul>
+
+<p>&nbsp;</p>
+
+<p>You can select these nodes in the 3D viewer or define by its id.</p>
+
+<p>&nbsp;</p>
+
+<p>The first and the second nodes should belong to the same link of a face. 
+ The second and the last nodes of a border can be the same. The first and 
+ the last nodes of two borders can be the same. The corresponding end nodes 
+ of two borders will be merged. Intermediate nodes of two borders will 
+ be either merged or inserted into faces of the opposite border.</p>
+
+<p>&nbsp;</p>
+
+<p>The sewing algorithm is as follows:</p>
+
+<p>&nbsp;</p>
+
+<p class="whs4">1. The parameter (U) of each node within 
+ a border is computed. So that the first node has U=0.0, the last node 
+ has U=1.0, for the rest nodes 0.0 &lt; U &lt; 1.0;</p>
+
+<p class="whs4">2. Compare node parameters of the two borders. 
+ If two nodes of the opposite borders have close parameters, they are merged, 
+ i.e. a node of the first border is replaced in all elements by a node 
+ of the second border. If a node has no node with a close parameter in 
+ the opposite border, it is inserted into an edge of element of the opposite 
+ border, an element is split. Two nodes are considered close enough to 
+ merge, if difference of their parameters is less than one fifth of minimum 
+ length of adjacent face edges on the borders.</p>
+
+<p>&nbsp;</p>
+
+<p class="whs4"><img src="../image22.jpg" width="612px" height="225px" border="0" class="img_whs6"></p>
+
+<p class="whs4">&nbsp;</p>
+
+<p>&nbsp;&nbsp;<span style="font-weight: bold;"><B>See 
+ Also</B></span> a sample TUI Script of a <a href="../transforming_meshes.htm#bookmark4">Sew 
+ Free Borders</a> operation. &nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p class="whs4">&nbsp;</p>
+
+<h3><a name=conform></a>Sew conform free borders<img src="../pics/sewing2.png" x-maintain-ratio="TRUE" width="332px" height="548px" align="right" border="0" class="img_whs5"></h3>
+
+<p>This functionality can be used to unite two free borders of a 2D mesh. 
+ </p>
+
+<p>&nbsp;</p>
+
+<p>The borders of meshes for sewing are defined as for &quot;Sew free borders&quot; 
+ except that the second free border is not limited and can be defined by 
+ the first and the second nodes only. The first nodes of two borders can 
+ be the same.</p>
+
+<p>&nbsp;</p>
+
+<p>The algorithm is following: counting nodes starting at the first ones, 
+ the n-th node of the first border is merged with the n-th node of the 
+ other border, until the end of either of borders. Nodes of the first border 
+ are replaced in all elements with corresponding nodes of the second border.</p>
+
+<p>For sewing conform free borders you should define three points on the 
+ first border and two points on the second one. User can select these nodes 
+ in 3D viewer or define node by its id.<img src="../image23.jpg" width="581px" height="218px" align="left" border="0" class="img_whs7"></p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs3">&nbsp;</p>
+
+<h3>&nbsp;</h3>
+
+<h3>&nbsp;</h3>
+
+<h3>&nbsp;</h3>
+
+<h3>&nbsp;</h3>
+
+<h3>&nbsp;</h3>
+
+<p>&nbsp;&nbsp;<span style="font-weight: bold;"><B>See 
+ Also</B></span> a sample TUI Script of a <a href="../transforming_meshes.htm#bookmark5">Sew 
+ Conform Free Borders</a> operation. &nbsp;</p>
+
+<h3>&nbsp;</h3>
+
+<h3>&nbsp;</h3>
+
+<h3><a name="border to side"></a>Sew border to side<img src="../pics/sewing3.png" x-maintain-ratio="TRUE" width="332px" height="548px" align="right" border="0" class="img_whs5"></h3>
+
+<p>&quot;Sew border to side&quot; is intended to sew a free border to a 
+ mesh surface.</p>
+
+<p>The free border is defined as for &quot;Sewing of free borders&quot;. 
+ The place where to sew the border is defined by two nodes, between which 
+ the border faces are placed, so that the first border node is merged with 
+ the first node on the side and the last node of the border is merged with 
+ the second specified node on the side.</p>
+
+<p>&nbsp;</p>
+
+<p class="whs4">&nbsp;</p>
+
+<p>The algorithm is following.</p>
+
+<p>1. Find a sequence of linked nodes on the side such that the found links 
+ to be most co-directed with the links of the free border.</p>
+
+<p>2. Sew two sequences of nodes using algorithm of &quot;Sewing of free 
+ berders&quot;.</p>
+
+<p>For sewing border to side you should define three points on the border 
+ and two points on the side. User can select these nodes in 3D viewer or 
+ define node by its id.</p>
+
+<p><img src="../image30.jpg" width="600px" height="227px" border="0" class="img_whs8"></p>
+
+<p>&nbsp;&nbsp;<span style="font-weight: bold;"><B>See 
+ Also</B></span> a sample TUI Script of a <a href="../transforming_meshes.htm#bookmark6">Sew 
+ Border to Side</a> operation. &nbsp;</p>
+
+<p>&nbsp;</p>
+
+<h3>&nbsp;</h3>
+
+<h3><a name="side elements"></a>Sew side elements<img src="../pics/sewing4.png" x-maintain-ratio="TRUE" width="332px" height="548px" align="right" border="0" class="img_whs5"></h3>
+
+<p class="whs9">This operation is intended to unite two mesh 
+ surfaces.</p>
+
+<p class="whs9">&nbsp;</p>
+
+<p>Surfaces may be defined by either 2d or 3d elements. The number of given 
+ elements of the sides must be the same. The sets of given elements must 
+ be topologically equal, i.e. each node of one element set must have a 
+ corresponding node in the other element set and corresponding nodes must 
+ be equally linked. If there are 3d elements in a set, only their free 
+ faces must obey to that rule.</p>
+
+<p>Two corresponding nodes on each side must be specified. They must belong 
+ to one element and must be located on an element set boundary.</p>
+
+<p>&nbsp;</p>
+
+<p>Sewing algorithm finds and merges the corresponding nodes starting from 
+ the specified ones.</p>
+
+<p><img src="../image31.jpg" width="620px" height="228px" border="0" class="img_whs10"></p>
+
+<p class="whs4"><img src="../image32.jpg" width="304px" height="222px" border="0" class="img_whs11"></p>
+
+<p>For sewing side elements you should define elements for sewing and two 
+ nodes for merging on the each side. User can select these elements and 
+ nodes in 3D viewer or define them by its id.</p>
+
+<p>&nbsp;</p>
+
+<p><span style="font-weight: bold;"><B>See Also</B></span> a sample TUI Script 
+ of a <a href="../transforming_meshes.htm#bookmark7">Sew Side Elements</a> 
+ operation. &nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>