\r
<html>\r
\r
-<!--(==============================================================)-->\r
-<!--(Document created with RoboEditor. )============================-->\r
-<!--(==============================================================)-->\r
-\r
<head>\r
-\r
<title>Titre</title>\r
-\r
-<!--(Meta)==========================================================-->\r
-\r
-<meta HTTP-EQUIV=Content-Type CONTENT="text/html; charset=windows-1252">\r
-<meta NAME=subject CONTENT=Sujet>\r
-<meta NAME=keywords CONTENT=Etude>\r
-<meta NAME=Client CONTENT=Client>\r
-<meta NAME=Department CONTENT="Dйveloppements spйcifiques open cascade">\r
-<meta NAME=Division CONTENT="Une filiale EADS Matra Datavision">\r
-<meta NAME=Owner CONTENT=OCC>\r
-<meta NAME=Project CONTENT=ProjectRef>\r
-<meta NAME=Folder CONTENT=FF>\r
-<meta NAME=Study CONTENT=SSS>\r
-<meta NAME=Reference CONTENT=Reference>\r
-<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">\r
-<meta name=generator-major-version content=0.1>\r
-<meta name=generator-minor-version content=1>\r
-<meta name=filetype content=kadov>\r
-<meta name=filetype-version content=1>\r
-<meta name=page-count content=1>\r
-<meta name=layout-height content=2875>\r
-<meta name=layout-width content=491>\r
-\r
-\r
-<!--(Links)=========================================================-->\r
-\r
- <link rel='stylesheet' href='../default_ns.css'>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\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
</script>\r
<style type="text/css">\r
<!--\r
-h1.whs1 {margin-left: 0in; margin-right: 0in; margin-top: 0px; margin-bottom: 0px;}\r
-p.whs2 {font-size: 12pt; text-indent: 2px; margin-left: 0in; margin-right: 0in; margin-top: 0px; margin-bottom: 0px;}\r
-p.whs3 {font-size: 12pt; font-weight: normal;}\r
-img_whs4 {border-style: none; border: none; float: none; width: 30px; height: 30px;}\r
-p.whs5 {text-indent: 2px; margin-left: 0in; margin-right: 0in; margin-top: 0px; margin-bottom: 0px; font-size: 12pt;}\r
-p.whs6 {font-size: 12pt; text-indent: 2px; margin-left: 0in; margin-right: 0in; margin-top: 0px; margin-bottom: 0px; font-weight: bold;}\r
-p.whs7 {font-size: 12pt; text-indent: 2px; margin-right: 0in; margin-top: 0px; margin-bottom: 0px; font-weight: bold; margin-left: 40px;}\r
-p.whs8 {margin-left: 0in; margin-right: 0in; margin-top: 0px; margin-bottom: 0px; font-size: 14pt;}\r
-img_whs9 {border-style: none; width: 20px; height: 20px;}\r
-p.whs10 {font-size: 12pt; margin-left: 0in; margin-right: 0in; margin-top: 0px; margin-bottom: 0px;}\r
-p.whs11 {font-size: 12pt; margin-right: 0in; margin-top: 0px; margin-bottom: 0px; margin-left: 40px;}\r
-img_whs12 {border-style: none; border: none; width: 200px; height: 175px;}\r
-p.whs13 {list-style: disc; margin-right: 0in; margin-top: 0px; margin-bottom: 0px; margin-left: 40px;}\r
-img_whs14 {border-style: none; border: none; width: 150px; height: 122px;}\r
-p.whs15 {list-style: disc; margin-left: 0in; margin-right: 0in; margin-top: 0px; margin-bottom: 0px;}\r
+h1.whs1 { margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
+p.whs2 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
+p.whs3 { font-size:12pt; font-weight:normal; }\r
+img_whs4 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
+p.whs5 { font-size:12pt; text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:48px; }\r
+p.whs6 { text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; font-size:12pt; margin-left:48px; }\r
+p.whs7 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-weight:normal; }\r
+p.whs8 { margin-left:48px; }\r
+p.whs9 { font-size:12pt; }\r
-->\r
-</style>\r
-<script type="text/javascript" language="JavaScript">\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 += "h1.whs1 {margin-left:1;margin-right:1;margin-top:1;margin-bottom:1; }";\r
- strNSS += "p.whs2 {margin-left:1;margin-right:1;margin-top:1;margin-bottom:1; }";\r
- strNSS += "p.whs5 {margin-left:1;margin-right:1;margin-top:1;margin-bottom:1; }";\r
- strNSS += "p.whs6 {margin-left:1;margin-right:1;margin-top:1;margin-bottom:1; }";\r
- strNSS += "p.whs7 {margin-right:1;margin-top:1;margin-bottom:1; }";\r
- strNSS += "p.whs8 {margin-left:1;margin-right:1;margin-top:1;margin-bottom:1; }";\r
- strNSS += "p.whs10 {margin-left:1;margin-right:1;margin-top:1;margin-bottom:1; }";\r
- strNSS += "p.whs11 {margin-right:1;margin-top:1;margin-bottom:1; }";\r
- strNSS += "p.whs13 {margin-right:1;margin-top:1;margin-bottom:1; }";\r
- strNSS += "p.whs15 {margin-left:1;margin-right:1;margin-top:1;margin-bottom:1; }";\r
+ strNSS += "h1.whs1 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
+ strNSS += "p.whs2 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
+ strNSS += "p.whs5 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
+ strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
+ strNSS += "p.whs7 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
strNSS +="</style>";\r
document.write(strNSS);\r
}\r
</script>\r
<style type="text/css">\r
<!--\r
- div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}\r
+div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
+p.WebHelpNavBar { text-align:right; }\r
-->\r
-</style>\r
-<script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\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
-</head>\r
-\r
-<!--(Body)==========================================================-->\r
-\r
-\r
-<body>\r
-\r
<script type="text/javascript" language="javascript1.2">\r
<!--\r
if (window.gbWhTopic)\r
{\r
- if (window.addTocInfo)\r
+ if (window.setRelStartPage)\r
{\r
- addTocInfo("GEOM module\nTransforming geometrical objects\nUsing boolean operations");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
+ addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nUsing boolean operations");\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
- if (window.writeBtnStyle)\r
- writeBtnStyle();\r
\r
- if (window.writeIntopicBar)\r
- writeIntopicBar(1);\r
\r
if (window.setRelStartPage)\r
{\r
- setRelStartPage("../geom.html");\r
+ setRelStartPage("../index.htm");\r
\r
- autoSync(0);\r
+ autoSync(1);\r
sendSyncInfo();\r
sendAveInfoOut();\r
}\r
+\r
}\r
else\r
- document.location.reload();\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 class="whs1">Using boolean operations</h1>\r
\r
<p class="whs2"> </p>\r
\r
-<p class="whs3"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs4">In GEOM for construction of more complex geometrical objects \r
- (2D & 3D elements) you can use the following boolean operations:</b></p>\r
+<p class="whs3"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs4"><span style="font-weight: normal;">You can use the following \r
+ boolean operations for construction of more complex geometrical objects \r
+ (2D & 3D elements) :</span></b></p>\r
\r
<p class="whs3"> </p>\r
\r
\r
<li style="list-style: disc;"\r
type=disc\r
- class=kadov-p><p class="whs2"><a href="#fuse">Fuse</a></p></li>\r
+ class=kadov-p><p class="whs5"><a href="../fuse.htm">Fuse</a></p></li>\r
</ul>\r
\r
<ul>\r
\r
<li style="list-style: disc;"\r
type=disc\r
- class=kadov-p><p class="whs2"><a href="#common">Common</a></p></li>\r
+ class=kadov-p><p class="whs5"><a href="../common.htm">Common</a></p></li>\r
\r
<li style="list-style: disc;"\r
type=disc\r
- class=kadov-p><p class="whs5"><a href="#cut">Cut</a></p></li>\r
+ class=kadov-p><p class="whs6"><a href="../cut.htm">Cut</a></p></li>\r
\r
<li style="list-style: disc;"\r
type=disc\r
- class=kadov-p><p class="whs2"><a href="#section">Section</a></p></li>\r
+ class=kadov-p><p class="whs5"><a href="../section.htm">Section</a></p></li>\r
</ul>\r
\r
<p class="whs2"> </p>\r
\r
-<p class="whs6">TUI command:</p>\r
+<p class="whs7">There is a general TUI command covering \r
+ all these operations, which can be used alongside with separate commands \r
+ for each operation.</p>\r
\r
-<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeBoolean(Shape1, \r
+<p class="whs5"><span style="font-style: italic;"><I>geompy.MakeBoolean(Shape1, \r
Shape2, Operation)</I></span>, where Shape1 is the first argument and Shape2 \r
is the second argument of Boolean operation, Operation is a type of the \r
Boolean operation (1 \96 Common, 2 \96 Cut, 3 \96 Fuse, 4 \96 Section).</p>\r
\r
-<p> </p>\r
-\r
-<p class=TODO>To use boolean operations:</p>\r
-\r
-<p class="whs2"> </p>\r
-\r
-<p class="whs7"><span style="font-weight: normal;">In the \r
- main menu select </span><span>Operations > Boolean</span><span style="font-weight: normal;">.</span></p>\r
-\r
-<p class="whs2"> </p>\r
-\r
-<p class="whs2"> </p>\r
-\r
-<p class="whs8"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><a NAME=fuse\r
- style="font-size: 14pt;"><img src="salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif" width="20px" height="20px" border="0" class="img_whs9"><b><font style="font-size: 14pt;"\r
- size=4> Fuse</font></b></a> \r
- </font></span></p>\r
-\r
-<p class="whs8"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Description:</b> \r
- Fuses 2 shapes.</p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Result:</b> \r
- GEOM_Object (COMPOUND).</p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Arguments:</b> \r
- 2 shapes.</p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs11"><img src="../image23.jpg" width="200px" height="175px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs13"> </p>\r
-\r
-<p class="whs13"><img src="../image5.jpg" width="150px" height="122px" border="0" class="img_whs14"> <img src="../image7.jpg" width="150px" height="122px" border="0" class="img_whs14"></p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs8"><b style="font-weight: bold;"><a NAME=common\r
- style="font-size: 14pt;"><img src="salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif" width="20px" height="20px" border="0" class="img_whs9"> Common</a></b> </p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Description:</b> \r
- The common part of 2 shapes is cut and transformed into an independent \r
- geometrical object.</p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Result:</b> \r
- GEOM_Object (COMPOUND).</p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Arguments:</b> \r
- 2 shapes.</p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs11"><img src="../image21.jpg" width="200px" height="175px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs11"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs11"> </p>\r
-\r
-<p class="whs11"><img src="../image5.jpg" width="150px" height="122px" border="0" class="img_whs14"> <img src="../image2.gif" width="150px" height="122px" border="0" class="img_whs14"> </p>\r
-\r
-<p class="whs11"> </p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><a NAME=cut\r
- style="font-size: 14pt;"><img src="salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif" width="20px" height="20px" border="0" class="img_whs9"><b><font style="font-size: 14pt;"\r
- size=4> Cut</font></b></a> </p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Description:</b> \r
- Cuts 1 shape with another one.</p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Result:</b> \r
- GEOM_Object (COMPOUND).</p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Arguments:</b> \r
- 2 shapes.</p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs11"><img src="../image22.jpg" width="200px" height="175px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs11"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs11"><img src="../image5.jpg" width="150px" height="122px" border="0" class="img_whs14"> <img src="../image4.gif" width="150px" height="122px" border="0" class="img_whs14"> </p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs8"><a NAME=section\r
- style="font-size: 14pt;"><img src="salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif" width="20px" height="20px" border="0" class="img_whs9"><b><font style="font-size: 14pt;"\r
- size=4> Section</font></b></a> </p>\r
-\r
<p class="whs8"> </p>\r
\r
-<p class="whs10"><b style="font-weight: bold;">Description:</b> \r
- Gets the section between 2 shapes.</p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Result:</b> \r
- GEOM_Object (COMPOUND).</p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Arguments:</b> \r
- 2 shapes.</p>\r
+<p class="whs9"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our <span style="font-weight: bold;"><B>TUI \r
+ Scripts</B></span> provide you with useful examples of the use of <a href="../boolean_operations.htm">Boolean \r
+ Operations</a>. </font></span></p>\r
\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs11"><img src="../image24.jpg" width="200px" height="175px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs11"><img src="../image5.jpg" width="150px" height="122px" border="0" class="img_whs14"> <img src="../image5.gif" width="150px" height="122px" border="0" class="img_whs14"></p>\r
-\r
-<p class="whs10"> </p>\r
-\r
-<p class="whs15"> </p>\r
+<p> </p>\r
\r
<script type="text/javascript" language="javascript1.2">\r
<!--\r
//-->\r
</script>\r
</body>\r
-\r
</html>\r