Update GEOM documentation.
@ -1,165 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Add Point on Edge</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:22px; height:22px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; font-weight:normal; }
|
|
||||||
p.whs4 { margin-left:40px; font-size:12pt; font-weight:bold; }
|
|
||||||
img_whs5 { border:none; width:312px; height:388px; float:none; border-style:none; }
|
|
||||||
p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
|
||||||
p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
|
|
||||||
p.whs8 { margin-left:80px; font-size:12pt; text-indent:-40px; }
|
|
||||||
img_whs9 { border:none; width:200px; height:231px; border-style:none; }
|
|
||||||
img_whs10 { border:none; width:185px; height:231px; border-style:none; }
|
|
||||||
p.whs11 { font-size:12pt; text-indent:-68px; margin-left:72px; }
|
|
||||||
p.whs12 { font-weight:bold; }
|
|
||||||
-->
|
|
||||||
</style><script type="text/javascript" language="JavaScript">
|
|
||||||
<!--
|
|
||||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
|
||||||
{
|
|
||||||
var strNSS = "<style type='text/css'>";
|
|
||||||
strNSS += "p.whs6 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs7 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs8 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs11 {text-indent: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nAdd Point on Edge");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image42.gif" width="22px" height="22px" border="0" class="img_whs1"></font></span>Add Point on Edge</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o <span
|
|
||||||
style="font-weight: bold;"><B>Add Point on Edge</B></span> in the Main Menu select
|
|
||||||
<span style="font-weight: bold;"><B>Repair - > Add Point on Edge.</B></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs2">This operation splits an edge in two in accordance
|
|
||||||
with the specified mode (by length or by parameter) and a value specifying
|
|
||||||
the position of the point on edge (for example val =0.5; mode = Length).
|
|
||||||
This operation is available in <span style="font-weight: bold;"><B>OCC Viewer</B></span>
|
|
||||||
only. </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID,
|
|
||||||
Value, IsByParameter)</I></span>, where Shape is a shape which contains an
|
|
||||||
edge to be divided, EdgeID is the ID of the edge to be divided, if it
|
|
||||||
= -1, then Shape is an edge, Value is a paramter on the edge or a length.
|
|
||||||
IsByParameter if it is True then Value is the edge parameter in the range
|
|
||||||
[0:1] otherwise it is a length of the edge in the range [0:1]</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 Edge + 1 value setting the position of the point according to
|
|
||||||
one of the selected modes</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Dialog
|
|
||||||
Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="pics/repair8.png" x-maintain-ratio="TRUE" width="312px" height="388px" border="0" class="img_whs5"></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs7">Example:</p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="image167.jpg" width="200px" height="231px" border="0" class="img_whs9"> <img src="image168.jpg" width="185px" height="231px" border="0" class="img_whs10"></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs12"><span style="font-weight: normal;">Our</span>
|
|
||||||
TUI Scripts<span style="font-weight: normal;"> provide you with useful
|
|
||||||
examples of the use of</span> <a href="repairing_operations.htm#bookmark7">Repairing
|
|
||||||
Operations</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,135 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Arc</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs4 { border:none; width:312px; height:359px; float:none; border-style:none; }
|
|
||||||
p.whs5 { color:#808080; font-size:12pt; }
|
|
||||||
p.whs6 { font-size:12pt; color:#000000; }
|
|
||||||
p.whs7 { color:#808080; font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs8 { border:none; width:330px; height:283px; float:none; border-style:none; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nArc");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Arc</h1>
|
|
||||||
|
|
||||||
<p><b><span style="font-weight: normal;">T</b>o</span> create an <span
|
|
||||||
style="font-weight: bold;"><B>Arc</B></span> in the <span style="font-weight: bold;"><B>Main
|
|
||||||
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
|
|
||||||
Basic - > Arc</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">You can define
|
|
||||||
an Arc by <span style="font-weight: normal;">by three</span><span style="font-weight: bold;"><B>
|
|
||||||
Points </B></span><span style="font-weight: normal;">that lie on it.</span><span
|
|
||||||
style="font-weight: bold;"> <B></B></span></b>Point1 is the starting point of
|
|
||||||
the arc, Point2 is a middle point of the arc and Point3 is the ending
|
|
||||||
point of the arc.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">of the operation will be a</span></b><b>
|
|
||||||
GEOM_Object (edge).</b></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b>
|
|
||||||
<span style="font-style: italic;"><I>geompy.MakeArc(Point1, Point2, Point3)</I></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 3 vertices.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="pics/arc.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs4"></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="pics/arcsn.png" x-maintain-ratio="TRUE" width="330px" height="283px" border="0" class="img_whs8"></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
||||||
of creation of <a href="basic_geometrical_objects.htm">Basic Geometric
|
|
||||||
Objects</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,135 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Archimede</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
|
||||||
p.whs4 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs5 { border:none; width:312px; height:367px; float:none; border-style:none; }
|
|
||||||
img_whs6 { border:none; float:none; width:199px; height:184px; border-style:none; }
|
|
||||||
img_whs7 { border:none; float:none; width:186px; height:183px; border-style:none; }
|
|
||||||
img_whs8 { border:none; float:none; width:181px; height:181px; border-style:none; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBasic Operations\nArchimede");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Archimede</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
|
||||||
an <span style="font-weight: bold;"><B>Archimede</B></span> operation in the
|
|
||||||
Main Menu select <span style="font-weight: bold;"><B>Operations - > Archimede</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3">This
|
|
||||||
operation creates a plane corresponding to the modeled water-line of the
|
|
||||||
object plunged into the water (in Z direction).</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result<span style="font-weight: normal;"> will be any</span></b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:
|
|
||||||
</b><span style="font-style: italic;"><I>geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection)</I></span>,
|
|
||||||
where Shape is a shape to put into the water, Weight is a weight of the
|
|
||||||
shape, WaterDensity is
|
|
||||||
density of water, MeshingDeflection is a deflection of the mesh, using
|
|
||||||
to compute the section.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 shape +
|
|
||||||
3 values (Weight, Water Density & Meshing Deflection).</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="pics/archimede.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs5"></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="pics/archimedesn1.png" x-maintain-ratio="TRUE" width="199px" height="184px" border="0" class="img_whs6"> <img src="pics/archimedesn2.png" x-maintain-ratio="TRUE" width="186px" height="183px" border="0" class="img_whs7"> <img src="pics/archimedesn3.png" x-maintain-ratio="TRUE" width="181px" height="181px" border="0" class="img_whs8"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
||||||
of the use of <a href="basic_operations.htm#bookmark1">Basic Operations</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,656 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Basic Geometrical Objects</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">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nBasic Geometrical Objects");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Basic Geometrical Objects</h1>
|
|
||||||
|
|
||||||
<h3><a name=bookmark>Creation of a Point</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertices</p>
|
|
||||||
|
|
||||||
<p class="whs1">p0 = geompy.MakeVertex(0.,
|
|
||||||
0., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p100 = geompy.MakeVertexWithRef(p0,
|
|
||||||
100., 100., 100.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">px = geompy.MakeVertex(100.,
|
|
||||||
0., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">py = geompy.MakeVertex(0.,
|
|
||||||
100., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">pz = geompy.MakeVertex(0.,
|
|
||||||
0., 100.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create a curve and a vertex on it</p>
|
|
||||||
|
|
||||||
<p class="whs1">Arc = geompy.MakeArc(py,
|
|
||||||
pz, px)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p_on_arc = geompy.MakeVertexOnCurve(Arc,
|
|
||||||
0.25)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in the study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p0 =
|
|
||||||
geompy.addToStudy(p0, "Vertex
|
|
||||||
0")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p100 =
|
|
||||||
geompy.addToStudy(p100, "Vertex 100")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_px =
|
|
||||||
geompy.addToStudy(px, "Vertex
|
|
||||||
X")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_py =
|
|
||||||
geompy.addToStudy(py, "Vertex
|
|
||||||
Y")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_pz =
|
|
||||||
geompy.addToStudy(pz, "Vertex
|
|
||||||
Z")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_Arc =
|
|
||||||
geompy.addToStudy(Arc, "Arc")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p_on_arc = geompy.addToStudy(p_on_arc,
|
|
||||||
"Vertex on Arc")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display vertices</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p0)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p100)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_Arc)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_p_on_arc)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark1>Creation of a Line</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertices</p>
|
|
||||||
|
|
||||||
<p class="whs1">p0 = geompy.MakeVertex(0.,
|
|
||||||
0., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p100 = geompy.MakeVertexWithRef(p0,
|
|
||||||
100., 100., 100.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">px = geompy.MakeVertex(100.,
|
|
||||||
0. , 0.
|
|
||||||
)</p>
|
|
||||||
|
|
||||||
<p class="whs1">py = geompy.MakeVertex(0.
|
|
||||||
, 100.,
|
|
||||||
0. )</p>
|
|
||||||
|
|
||||||
<p class="whs1">pz = geompy.MakeVertex(0.
|
|
||||||
, 0. ,
|
|
||||||
100.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create a vector on two points</p>
|
|
||||||
|
|
||||||
<p class="whs1">vxy =
|
|
||||||
geompy.MakeVector(px, py)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create a line with a point and a vector</p>
|
|
||||||
|
|
||||||
<p class="whs1">line1 = geompy.MakeLine(pz,
|
|
||||||
vxy)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>#create a line on two points</p>
|
|
||||||
|
|
||||||
<p class="whs1">line2 = geompy.MakeLineTwoPnt(p0,
|
|
||||||
p100)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in the study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_vxy =
|
|
||||||
geompy.addToStudy(vxy, "Vector")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_line1 =
|
|
||||||
geompy.addToStudy(line1,"Line1")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_line2 =
|
|
||||||
geompy.addToStudy(line2,"Line2")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display lines</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_vxy)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_line1)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_line2)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark2>Creation of a
|
|
||||||
Circle</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertices</p>
|
|
||||||
|
|
||||||
<p class="whs1">p0 = geompy.MakeVertex(0.,
|
|
||||||
0., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">px = geompy.MakeVertex(100.,
|
|
||||||
0. , 0.
|
|
||||||
)</p>
|
|
||||||
|
|
||||||
<p class="whs1">py = geompy.MakeVertex(0.
|
|
||||||
, 100.,
|
|
||||||
0. )</p>
|
|
||||||
|
|
||||||
<p class="whs1">pz = geompy.MakeVertex(0.
|
|
||||||
, 0. ,
|
|
||||||
100.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vector on two points</p>
|
|
||||||
|
|
||||||
<p class="whs1">vxy =
|
|
||||||
geompy.MakeVector(px, py)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create circle with point, vector and radius</p>
|
|
||||||
|
|
||||||
<p class="whs1">circle1 = geompy.MakeCircle(pz,
|
|
||||||
vxy, 30)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>#create circle on three points</p>
|
|
||||||
|
|
||||||
<p class="whs1">circle2 = geompy.MakeCircleThreePnt(p0,
|
|
||||||
px, py)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_vxy =
|
|
||||||
geompy.addToStudy(vxy, "Vector")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_circle1 =
|
|
||||||
geompy.addToStudy(circle1,"Circle1")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_circle2 =
|
|
||||||
geompy.addToStudy(circle2,"Circle2")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display circles</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_vxy)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_circle1)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_circle2)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark3>Creation of an Ellipse</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertices</p>
|
|
||||||
|
|
||||||
<p class="whs1">p0 = geompy.MakeVertex(0.,
|
|
||||||
0., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p50 = geompy.MakeVertex(50.,
|
|
||||||
50., 50.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vector on two points</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector =
|
|
||||||
geompy.MakeVector(p0, p50)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create ellipse with point, vector and radiuses</p>
|
|
||||||
|
|
||||||
<p class="whs1">ellipse = geompy.MakeEllipse(p50,
|
|
||||||
vector, 50, 25)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_vector =
|
|
||||||
geompy.addToStudy(vector, "Vector")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_ellipse = geompy.addToStudy(ellipse,"Ellipse")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display normal vector and ellipse</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_vector)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_ellipse)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark4>Creation of a Curve</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertices</p>
|
|
||||||
|
|
||||||
<p class="whs1">p0 = geompy.MakeVertex(0.
|
|
||||||
, 0. ,
|
|
||||||
0. )</p>
|
|
||||||
|
|
||||||
<p class="whs1">p1 = geompy.MakeVertex(50.
|
|
||||||
, 100., 200.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p2 = geompy.MakeVertex(150.,
|
|
||||||
50., 100.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p3 = geompy.MakeVertex(100.,
|
|
||||||
150., 170.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p4 = geompy.MakeVertex(200.,
|
|
||||||
200., 150.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create polyline on list of points</p>
|
|
||||||
|
|
||||||
<p class="whs1">polyline = geompy.MakePolyline([p0,
|
|
||||||
p1, p2, p3, p4])</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create bezier on list of points</p>
|
|
||||||
|
|
||||||
<p class="whs1">bezier = geompy.MakeBezier([p0,
|
|
||||||
p1, p2, p3, p4])</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>#create interpolation curve on list of points</p>
|
|
||||||
|
|
||||||
<p class="whs1">interpol = geompy.MakeInterpol([p0,
|
|
||||||
p1, p2, p3, p4])</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p0 =
|
|
||||||
geompy.addToStudy(p0, "Point1")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p1 =
|
|
||||||
geompy.addToStudy(p1, "Point2")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p2 =
|
|
||||||
geompy.addToStudy(p2, "Point3")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p3 =
|
|
||||||
geompy.addToStudy(p3, "Point4")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p4 =
|
|
||||||
geompy.addToStudy(p4, "Point5")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_polyline = geompy.addToStudy(polyline,
|
|
||||||
"Polyline")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_bezier =
|
|
||||||
geompy.addToStudy(bezier, "Bezier")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_interpol = geompy.addToStudy(interpol,
|
|
||||||
"Interpol")</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p># display points and curves</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p0)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p3)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_polyline)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_bezier)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_interpol)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark5>Creation of a Vector</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertices</p>
|
|
||||||
|
|
||||||
<p class="whs1">p1 = geompy.MakeVertex(10.,
|
|
||||||
50., 20.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p2 = geompy.MakeVertex(70.,
|
|
||||||
70., 70.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vector on two points</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector1 = geompy.MakeVector(p1,
|
|
||||||
p2)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vector with the given components</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector2 = geompy.MakeVectorDXDYDZ(30,
|
|
||||||
30, 100)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p1 =
|
|
||||||
geompy.addToStudy(p1, "Point1")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p2 =
|
|
||||||
geompy.addToStudy(p2, "Point2")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_vector1 = geompy.addToStudy(vector1,"Vector1")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_vector2 = geompy.addToStudy(vector2,"Vector2")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display points and vectors</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_vector1)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_vector2)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark6>Creation of a Plane</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertices</p>
|
|
||||||
|
|
||||||
<p class="whs1">p1 = geompy.MakeVertex(
|
|
||||||
0., 0.,
|
|
||||||
100.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p2 = geompy.MakeVertex(100.,
|
|
||||||
0.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p3 = geompy.MakeVertex(200.,
|
|
||||||
200., 200.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p4 = geompy.MakeVertex(100.,
|
|
||||||
100., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p5 = geompy.MakeVertex(0.
|
|
||||||
, 100.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vector with the given components</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector = geompy.MakeVectorDXDYDZ(100.,
|
|
||||||
100., 100.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vector with two points</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector_arc = geompy.MakeVector(p2,
|
|
||||||
p5)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create arc with three points</p>
|
|
||||||
|
|
||||||
<p class="whs1">arc = geompy.MakeArc(p2,
|
|
||||||
p4, p5)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create wire</p>
|
|
||||||
|
|
||||||
<p class="whs1">wire = geompy.MakeWire([vector_arc,
|
|
||||||
arc])</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create face</p>
|
|
||||||
|
|
||||||
<p class="whs1">isPlanarWanted = 1</p>
|
|
||||||
|
|
||||||
<p class="whs1">face = geompy.MakeFace(wire,
|
|
||||||
isPlanarWanted)</p>
|
|
||||||
|
|
||||||
<p class="whs1">trimsize = 1000.</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create plane with point, vector and trimsize</p>
|
|
||||||
|
|
||||||
<p class="whs1">plane1 = geompy.MakePlane(p1,
|
|
||||||
vector, trimsize)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create plane with three points and trimsize</p>
|
|
||||||
|
|
||||||
<p class="whs1">plane2 = geompy.MakePlaneThreePnt(p1,
|
|
||||||
p2, p3, trimsize)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create plane with given face</p>
|
|
||||||
|
|
||||||
<p class="whs1">plane3 = geompy.MakePlaneFace(face,
|
|
||||||
trimsize)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_face =
|
|
||||||
geompy.addToStudy(face, "Face")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_plane1 = geompy.addToStudy(plane1,"Plane1")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_plane2 = geompy.addToStudy(plane2,"Plane2")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_plane3 = geompy.addToStudy(plane3,"Plane3")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display points and vectors</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_face)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_plane1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_plane2)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_plane3)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_plane1,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setTransparency(id_plane1,0.5)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_plane2,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setTransparency(id_plane2,0.5)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_plane3,1)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setTransparency(id_plane3,0.5)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,242 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Basic Operations</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">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTUI Scripts\nTransformation\nBasic Operations");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Basic Operations</h1>
|
|
||||||
|
|
||||||
<h3><a name=bookmark>Partition</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertex and vector</p>
|
|
||||||
|
|
||||||
<p class="whs1">p0 =
|
|
||||||
geompy.MakeVertex( 0.,
|
|
||||||
0.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p200 = geompy.MakeVertex(200.,
|
|
||||||
200., 200.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">pz =
|
|
||||||
geompy.MakeVertex( 0.,
|
|
||||||
0.,
|
|
||||||
100.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vector</p>
|
|
||||||
|
|
||||||
<p class="whs1">vxyz = geompy.MakeVectorDXDYDZ(100.,
|
|
||||||
100., 100.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create box with two points</p>
|
|
||||||
|
|
||||||
<p class="whs1">box = geompy.MakeBoxTwoPnt(p0,
|
|
||||||
p200)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create plane</p>
|
|
||||||
|
|
||||||
<p class="whs1">trimsize =
|
|
||||||
500.</p>
|
|
||||||
|
|
||||||
<p class="whs1">plane = geompy.MakePlane(pz,
|
|
||||||
vxyz, trimsize)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create partition objects</p>
|
|
||||||
|
|
||||||
<p class="whs1">partition1 = geompy.MakePartition([box],
|
|
||||||
[plane])</p>
|
|
||||||
|
|
||||||
<p class="whs1">partition2 = geompy.Partition([box],
|
|
||||||
[plane])</p>
|
|
||||||
|
|
||||||
<p class="whs1">partition3 = geompy.MakeHalfPartition(box,
|
|
||||||
plane)</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_box = geompy.addToStudy(box,"Box")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_plane = geompy.addToStudy(plane,"Plane")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_partition1 = geompy.addToStudy(partition1,"MakePartition")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_partition2 = geompy.addToStudy(partition2,"Partition")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_partition3 = geompy.addToStudy(partition3,"MakeHalfPartition")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display partition objects and plane</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_plane)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_plane,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_partition1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_partition2)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_partition3)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark1>Archimede</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertex and vector</p>
|
|
||||||
|
|
||||||
<p class="whs1">p0 =
|
|
||||||
geompy.MakeVertex( 0.,
|
|
||||||
0.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p200 = geompy.MakeVertex(200.,
|
|
||||||
200., 200.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create box with two points</p>
|
|
||||||
|
|
||||||
<p class="whs1">box = geompy.MakeBoxTwoPnt(p0,
|
|
||||||
p200)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># perform an Archimede operation on the given shape with given parameters</p>
|
|
||||||
|
|
||||||
<p class="whs1">weight =
|
|
||||||
1000000.</p>
|
|
||||||
|
|
||||||
<p class="whs1">waterdensity = 1.</p>
|
|
||||||
|
|
||||||
<p class="whs1">meshingdeflection
|
|
||||||
= 0.01</p>
|
|
||||||
|
|
||||||
<p class="whs1">archimede =
|
|
||||||
geompy.Archimede(box, weight, waterdensity, meshingdeflection)</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_box = geompy.addToStudy(box,"Box")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_archimede = geompy.addToStudy(archimede,"Archimede")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display box and result of Archimede operation</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_archimede)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_archimede,1)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,116 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Building of blocks</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">
|
|
||||||
<!--
|
|
||||||
ul.whs1 { list-style:disc; }
|
|
||||||
p.whs2 { margin-left:40px; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Building of blocks</h1>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs1">
|
|
||||||
|
|
||||||
<li class=kadov-p><p><a href="#Multi-transformation">Multi-transformation</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p><a href="#ExplodeOnBlocks">Explode on blocks</a></p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class=TODO>To use these options:</p>
|
|
||||||
|
|
||||||
<p class=TODO> </p>
|
|
||||||
|
|
||||||
<p class="whs2">In the main menu select <span style="font-weight: bold;"><B>Blocks
|
|
||||||
</B></span>submenu.</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,258 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Blocks Operations</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">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTUI Scripts\nTransformation\nBlocks Operations");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Blocks Operations</h1>
|
|
||||||
|
|
||||||
<h3><a name=bookmark4>Multi Transformation</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertices</p>
|
|
||||||
|
|
||||||
<p class="whs1">p_25_25_50 = geompy.MakeVertex(25.,
|
|
||||||
25., 50.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p_50_25_25 = geompy.MakeVertex(50.,
|
|
||||||
25., 25.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p_25_50_25 = geompy.MakeVertex(25.,
|
|
||||||
50., 25.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(50,
|
|
||||||
50, 50)</p>
|
|
||||||
|
|
||||||
<p class="whs1">top_face = geompy.GetFaceNearPoint(box,
|
|
||||||
p_25_25_50)</p>
|
|
||||||
|
|
||||||
<p class="whs1">yz_face = geompy.GetFaceNearPoint(box,
|
|
||||||
p_50_25_25)</p>
|
|
||||||
|
|
||||||
<p class="whs1">xz_face = geompy.GetFaceNearPoint(box,
|
|
||||||
p_25_50_25)</p>
|
|
||||||
|
|
||||||
<p class="whs1">top_face_ind = geompy.LocalOp.GetSubShapeIndex(box,
|
|
||||||
top_face)</p>
|
|
||||||
|
|
||||||
<p class="whs1">yz_face_ind = geompy.LocalOp.GetSubShapeIndex(box,
|
|
||||||
yz_face)</p>
|
|
||||||
|
|
||||||
<p class="whs1">xz_face_ind = geompy.LocalOp.GetSubShapeIndex(box,
|
|
||||||
xz_face)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># Multi-transformate block and glue the result</p>
|
|
||||||
|
|
||||||
<p class="whs1">box_tr1 = geompy.MakeMultiTransformation1D(box,
|
|
||||||
yz_face_ind, top_face_ind, 3)</p>
|
|
||||||
|
|
||||||
<p class="whs1">box_tr2 = geompy.MakeMultiTransformation2D(box,
|
|
||||||
xz_face_ind, yz_face_ind, 3, top_face_ind, 0, 2)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_box = geompy.addToStudy(box,
|
|
||||||
"Box")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_box_tr1 = geompy.addToStudy(box_tr1,
|
|
||||||
"Multi-transformed Block 1D")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_box_tr2 = geompy.addToStudy(box_tr2,
|
|
||||||
"Multi-transformed Block 2D")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display results</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_box_tr1)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_box_tr2)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark5>Explode on Blocks</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create box and sphere</p>
|
|
||||||
|
|
||||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
|
|
||||||
200, 200)</p>
|
|
||||||
|
|
||||||
<p class="whs1">sphere = geompy.MakeSphereR(100)</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p># make compound</p>
|
|
||||||
|
|
||||||
<p class="whs1">compound = geompy.MakeCompound([box,
|
|
||||||
sphere])</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># get all the blocks, contained in the given compound</p>
|
|
||||||
|
|
||||||
<p class="whs1">make_block_explode
|
|
||||||
= geompy.MakeBlockExplode(compound, 1, 1)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_compound = geompy.addToStudy(compound,
|
|
||||||
"Compound")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_make_block_explode
|
|
||||||
= geompy.addToStudy(make_block_explode[0], "MakeBlockExplode")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display results</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_compound)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_make_block_explode)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_make_block_explode,1)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark6>Propagate</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create box and sphere</p>
|
|
||||||
|
|
||||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
|
|
||||||
200, 200)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># check and improve</p>
|
|
||||||
|
|
||||||
<p class="whs1">check_box = geompy.CheckAndImprove(box)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># build all possible propagation groups</p>
|
|
||||||
|
|
||||||
<p class="whs1">listChains = geompy.Propagate(check_box)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">geompy.addToStudy(check_box,
|
|
||||||
"Box")</p>
|
|
||||||
|
|
||||||
<p class="whs1">for chain in listChains:</p>
|
|
||||||
|
|
||||||
<p class="whs1"> geompy.addToStudyInFather(check_box,
|
|
||||||
chain, "propagation chain")</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,348 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Boolean Operations</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">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTUI Scripts\nTransformation\nBoolean Operations");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Boolean Operations</h1>
|
|
||||||
|
|
||||||
<h3><a name=bookmark>Fuse</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertex and vector</p>
|
|
||||||
|
|
||||||
<p class="whs1">p1 = geompy.MakeVertex(25,
|
|
||||||
55, 0)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p2 = geompy.MakeVertex(
|
|
||||||
0, 0, 0)</p>
|
|
||||||
|
|
||||||
<p class="whs1">v = geompy.MakeVector(p1,
|
|
||||||
p2)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create cylinder</p>
|
|
||||||
|
|
||||||
<p class="whs1">height = 35</p>
|
|
||||||
|
|
||||||
<p class="whs1">radius1 = 20</p>
|
|
||||||
|
|
||||||
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
|
|
||||||
v, radius1, height)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create sphere</p>
|
|
||||||
|
|
||||||
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># make fuse</p>
|
|
||||||
|
|
||||||
<p class="whs1">fuse = geompy.MakeFuse(cylinder,
|
|
||||||
sphere)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_cylinder = geompy.addToStudy(cylinder,
|
|
||||||
"Cylinder")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_sphere = geompy.addToStudy(sphere,
|
|
||||||
"Sphere")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_fuse = geompy.addToStudy(fuse,
|
|
||||||
"Fuse")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display results</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_sphere)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_sphere,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_fuse)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_fuse,1)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark1>Common</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertex and vector</p>
|
|
||||||
|
|
||||||
<p class="whs1">p1 = geompy.MakeVertex(25,
|
|
||||||
55, 0)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p2 = geompy.MakeVertex(
|
|
||||||
0, 0, 0)</p>
|
|
||||||
|
|
||||||
<p class="whs1">v = geompy.MakeVector(p1,
|
|
||||||
p2)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create cylinder</p>
|
|
||||||
|
|
||||||
<p class="whs1">height = 35</p>
|
|
||||||
|
|
||||||
<p class="whs1">radius1 = 20</p>
|
|
||||||
|
|
||||||
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
|
|
||||||
v, radius1, height)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create sphere</p>
|
|
||||||
|
|
||||||
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># make common</p>
|
|
||||||
|
|
||||||
<p class="whs1">common = geompy.MakeCommon(cylinder,
|
|
||||||
sphere)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_common = geompy.addToStudy(common,
|
|
||||||
"Common")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display results</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_common)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_common,1)
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark2>Cut </a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertex and vector</p>
|
|
||||||
|
|
||||||
<p class="whs1">p1 = geompy.MakeVertex(25,
|
|
||||||
55, 0)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p2 = geompy.MakeVertex(
|
|
||||||
0, 0, 0)</p>
|
|
||||||
|
|
||||||
<p class="whs1">v = geompy.MakeVector(p1,
|
|
||||||
p2)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create cylinder</p>
|
|
||||||
|
|
||||||
<p class="whs1">height = 35</p>
|
|
||||||
|
|
||||||
<p class="whs1">radius1 = 20</p>
|
|
||||||
|
|
||||||
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
|
|
||||||
v, radius1, height)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create sphere</p>
|
|
||||||
|
|
||||||
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># make cut</p>
|
|
||||||
|
|
||||||
<p class="whs1">cut = geompy.MakeCut(cylinder,
|
|
||||||
sphere)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_cut = geompy.addToStudy(cut,
|
|
||||||
"Cut")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display results</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_cut)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cut,1)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark3>Section</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertex and vector</p>
|
|
||||||
|
|
||||||
<p class="whs1">p1 = geompy.MakeVertex(25,
|
|
||||||
55, 0)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p2 = geompy.MakeVertex(
|
|
||||||
0, 0, 0)</p>
|
|
||||||
|
|
||||||
<p class="whs1">v = geompy.MakeVector(p1,
|
|
||||||
p2)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create cylinder</p>
|
|
||||||
|
|
||||||
<p class="whs1">height = 35</p>
|
|
||||||
|
|
||||||
<p class="whs1">radius1 = 20</p>
|
|
||||||
|
|
||||||
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
|
|
||||||
v, radius1, height)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create sphere</p>
|
|
||||||
|
|
||||||
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># make section</p>
|
|
||||||
|
|
||||||
<p class="whs1">section = geompy.MakeSection(cylinder,
|
|
||||||
sphere)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_section = geompy.addToStudy(section,
|
|
||||||
"Section")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display results</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_section)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_section,1)
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,172 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Box</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-style:italic; }
|
|
||||||
img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
|
||||||
p.whs5 { font-weight:normal; }
|
|
||||||
img_whs6 { border:none; width:312px; height:332px; float:none; border-style:none; }
|
|
||||||
p.whs7 { font-size:12pt; font-weight:bold; }
|
|
||||||
p.whs8 { font-size:12pt; font-weight:bold; font-style:normal; }
|
|
||||||
p.whs9 { font-size:12pt; font-style:normal; font-weight:bold; }
|
|
||||||
p.whs10 { font-size:12pt; font-style:normal; font-weight:normal; }
|
|
||||||
img_whs11 { border:none; width:267px; height:280px; float:none; border-style:none; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nBox");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Box</h1>
|
|
||||||
|
|
||||||
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Box</B></span>
|
|
||||||
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
|
|
||||||
style="font-weight: bold;"><B>New Entity - > Primitives - > Box</B></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Box</B></span>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">of each operation will be a</span></b>
|
|
||||||
GEOM_Object (SOLID).</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>Firstly, you can define a <span style="font-weight: bold;"><B>Box</B></span>
|
|
||||||
by two specified <span style="font-weight: bold;"><B>Vertices (</B></span>its
|
|
||||||
opposite corners), and with edges, parallel to the coordinate axes. </p>
|
|
||||||
|
|
||||||
<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command
|
|
||||||
:</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxTwoPnt(Point1,
|
|
||||||
Point2)</I></span></p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Arguments: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
|
|
||||||
+ </font></span>2 vertices (opposite corners of the box).</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;"><img src="pics/box1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: normal;"><span style="font-weight: normal;">Secondly,
|
|
||||||
you can define a </span><span style="font-weight: bold;"><B>Box</B></span><span
|
|
||||||
style="font-weight: normal;"> by </b>specified dimensions along the coordinate
|
|
||||||
axes</span> and with edges, parallel to them. The
|
|
||||||
center of the box will be at point (DX/2, DY/2, DZ/2). </p>
|
|
||||||
|
|
||||||
<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command
|
|
||||||
:</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxDXDYDZ(DX,
|
|
||||||
DY, DZ)</I></span></p>
|
|
||||||
|
|
||||||
<p><span><b style="font-weight: bold;">Arguments: </b></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
|
|
||||||
+ 3 values (dimensions at origin).</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><img src="pics/box2.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs6"></b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>NB! </B></font></span>The is
|
|
||||||
a third way to create a Box, which is currently accessible only via<span
|
|
||||||
style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B> TUI </B></font></span>commands.</p>
|
|
||||||
|
|
||||||
<p class="whs7"><span style="font-weight: normal;">You
|
|
||||||
can define a </span>Box<span style="font-weight: normal;"> by the coordinates
|
|
||||||
of two </span>Vertices<span style="font-weight: normal;"> (in this way
|
|
||||||
you don't need to create them in advance). </span></p>
|
|
||||||
|
|
||||||
<p class="whs8"><b style="font-weight: bold;">TUI Command:</b>
|
|
||||||
<span style="font-weight: normal; font-style: italic;"><I>geompy.MakeBox(x1,y1,z1,x2,y2,z2)</I></span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs8"><b style="font-weight: bold;">Arguments:<span
|
|
||||||
style="font-weight: normal;"> </b>Name</span> + <span style="font-weight: normal;">X,
|
|
||||||
Y and Z coordinates of both points.</span></p>
|
|
||||||
|
|
||||||
<p class="whs8"> </p>
|
|
||||||
|
|
||||||
<p class="whs9">Example:</p>
|
|
||||||
|
|
||||||
<p class="whs10"><img src="pics/boxes.png" x-maintain-ratio="TRUE" width="267px" height="280px" border="0" class="img_whs11"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
|
|
||||||
provide you with useful examples of creation of <a href="primitives.htm#bookmark">Primitives</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,330 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Building by Blocks</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">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nBuilding by Blocks");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Building by Blocks</h1>
|
|
||||||
|
|
||||||
<h3>Quadrangle Face</h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertices</p>
|
|
||||||
|
|
||||||
<p class="whs1">p1 = geompy.MakeVertex(
|
|
||||||
0., 0.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p2 = geompy.MakeVertex(150.,
|
|
||||||
30., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p3 = geompy.MakeVertex(
|
|
||||||
0., 120.,
|
|
||||||
50.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p4 = geompy.MakeVertex(
|
|
||||||
0., 40.,
|
|
||||||
70.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create edges</p>
|
|
||||||
|
|
||||||
<p class="whs1">edge1 = geompy.MakeEdge(p1,
|
|
||||||
p2)</p>
|
|
||||||
|
|
||||||
<p class="whs1">edge2 = geompy.MakeEdge(p2,
|
|
||||||
p3)</p>
|
|
||||||
|
|
||||||
<p class="whs1">edge3 = geompy.MakeEdge(p3,
|
|
||||||
p4)</p>
|
|
||||||
|
|
||||||
<p class="whs1">edge4 = geompy.MakeEdge(p4,
|
|
||||||
p1)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create quadrangle face from four edges</p>
|
|
||||||
|
|
||||||
<p class="whs1">qface1 = geompy.MakeQuad(edge1,
|
|
||||||
edge2, edge3, edge4)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create quadrangle face on two edges</p>
|
|
||||||
|
|
||||||
<p class="whs1">qface2 = geompy.MakeQuad2Edges(edge1,
|
|
||||||
edge3)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create quadrangle with specified corners</p>
|
|
||||||
|
|
||||||
<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p1,
|
|
||||||
p2, p3, p4)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p1 = geompy.addToStudy(p1,"Point1")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p2 = geompy.addToStudy(p2,"Point2")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p3 = geompy.addToStudy(p3,"Point3")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_p4 = geompy.addToStudy(p4,"Point4")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_edge1 = geompy.addToStudy(edge1,"Edge1")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_edge2 = geompy.addToStudy(edge2,"Edge2")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_edge3 = geompy.addToStudy(edge3,"Edge3")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_edge4 = geompy.addToStudy(edge4,"Edge4")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_qface1 = geompy.addToStudy(qface1,"Qface1")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_qface2 = geompy.addToStudy(qface2,"Qface2")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_qface3 = geompy.addToStudy(qface3,"Qface3")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display vertices, edges and quadrangle faces</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p3)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_edge1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_edge2)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_edge3)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_edge4)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_qface1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_qface1,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_qface2)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_qface2,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_qface3)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_qface3,1)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3> </h3>
|
|
||||||
|
|
||||||
<h3>Hexagonal Solid</h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertices</p>
|
|
||||||
|
|
||||||
<p class="whs1">p1 = geompy.MakeVertex(
|
|
||||||
0., 0.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p2 = geompy.MakeVertex(150.,
|
|
||||||
30., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p3 = geompy.MakeVertex(
|
|
||||||
0., 120.,
|
|
||||||
50.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p4 = geompy.MakeVertex(
|
|
||||||
0., 40.,
|
|
||||||
70.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p5 = geompy.MakeVertex(100.,
|
|
||||||
20., 45.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p6 = geompy.MakeVertex(
|
|
||||||
0., 70.,
|
|
||||||
40.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p7 = geompy.MakeVertex(
|
|
||||||
70., 70., 70.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p8 = geompy.MakeVertex(
|
|
||||||
70.,-15., 70.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p9 = geompy.MakeVertex(
|
|
||||||
0., 0.,
|
|
||||||
40.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p10 = geompy.MakeVertex(
|
|
||||||
0., 70.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p11 = geompy.MakeVertex(
|
|
||||||
70., 70., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p12 = geompy.MakeVertex(
|
|
||||||
70., -15., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p13 = geompy.MakeVertex(
|
|
||||||
0., 0.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create faces</p>
|
|
||||||
|
|
||||||
<p class="whs1">qface1 = geompy.MakeQuad4Vertices(p1,
|
|
||||||
p2, p3, p4)</p>
|
|
||||||
|
|
||||||
<p class="whs1">qface2 = geompy.MakeQuad4Vertices(p1,
|
|
||||||
p2, p5, p4)</p>
|
|
||||||
|
|
||||||
<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p13,
|
|
||||||
p12, p11, p10)</p>
|
|
||||||
|
|
||||||
<p class="whs1">qface4 = geompy.MakeQuad4Vertices(p9,
|
|
||||||
p8, p7, p6)</p>
|
|
||||||
|
|
||||||
<p class="whs1">qface5 = geompy.MakeQuad4Vertices(p13,
|
|
||||||
p9, p6, p10)</p>
|
|
||||||
|
|
||||||
<p class="whs1">qface6 = geompy.MakeQuad4Vertices(p13,
|
|
||||||
p9, p8, p12)</p>
|
|
||||||
|
|
||||||
<p class="whs1">qface7 = geompy.MakeQuad4Vertices(p12,
|
|
||||||
p8, p7, p11)</p>
|
|
||||||
|
|
||||||
<p class="whs1">qface8 = geompy.MakeQuad4Vertices(p11,
|
|
||||||
p7, p6, p10)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create hexahedral solid between two given faces</p>
|
|
||||||
|
|
||||||
<p class="whs1">solid1 = geompy.MakeHexa2Faces(qface1,
|
|
||||||
qface2)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create hexahedral solids, bounded by the six given faces</p>
|
|
||||||
|
|
||||||
<p class="whs1">solid2 = geompy.MakeHexa(qface3,
|
|
||||||
qface4, qface5, qface6, qface7, qface8)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_solid1 = geompy.addToStudy(solid1,"Solid1")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_solid2 = geompy.addToStudy(solid2,"Solid2")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display solids</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_solid1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_solid1,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_solid2)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_solid2,1)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,192 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Chamfer</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
img_whs3 { border:none; width:312px; height:319px; float:none; border-style:none; }
|
|
||||||
img_whs4 { border:none; width:225px; height:239px; float:none; border-style:none; }
|
|
||||||
img_whs5 { border:none; width:312px; height:381px; float:none; border-style:none; }
|
|
||||||
img_whs6 { border:none; width:230px; height:245px; float:none; border-style:none; }
|
|
||||||
img_whs7 { border:none; width:221px; height:238px; float:none; border-style:none; }
|
|
||||||
p.whs8 { font-size:12pt; margin-left:40px; }
|
|
||||||
p.whs9 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
|
||||||
-->
|
|
||||||
</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;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nChamfer");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Chamfer</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
|
||||||
a <span style="font-weight: bold;"><B>Fillet</B></span> in the Main Menu select
|
|
||||||
<span style="font-weight: bold;"><B>Operations - > Transformation - >
|
|
||||||
Fillet</B></span> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>This operation allows you to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">make chamfer
|
|
||||||
of the edges of a Shape.</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
|
|
||||||
style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will
|
|
||||||
be a</span></b> GEOM_Object.</font></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o create
|
|
||||||
chamfer on all edges of the given shape, you need to define the <span
|
|
||||||
style="font-weight: bold;"><B>Main Object</B></span> to create a chamfer on and
|
|
||||||
the <span style="font-weight: bold;"><B>Dimension</B></span> (radius) of the
|
|
||||||
chamfer. </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeChamferAll(Shape, D)</I></span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
|
|
||||||
+ 1 SHAPE + 1 value (Chamfer dimension).</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><img src="pics/chamfer1.png" x-maintain-ratio="TRUE" width="312px" height="319px" border="0" class="img_whs3"> <img src="pics/chamfer_all.png" x-maintain-ratio="TRUE" width="225px" height="239px" border="0" class="img_whs4"></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">To create chamfer on the specified edges of
|
|
||||||
the given shape, you
|
|
||||||
need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
|
|
||||||
to create a fillet on, select the necessary edges in the object browser
|
|
||||||
or in the viewer and define the <span style="font-weight: bold;"><B>Dimension</B></span>
|
|
||||||
of the Chamfer.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeChamferEdge(Shape, D1,
|
|
||||||
D2, Face1, Face2)</I></span>, where Shape is a shape to create a chamfer on,
|
|
||||||
D1 is a chamfer size along Face1, D2 is a chamfer size along Face2, Face1
|
|
||||||
and Face2 are indices of faces in Shape.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><img src="pics/chamfer2.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs5"> <img src="pics/chamfer_edge.png" x-maintain-ratio="TRUE" width="230px" height="245px" border="0" class="img_whs6"></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">To create chamfer on the specified faces of
|
|
||||||
the given shape, you
|
|
||||||
need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
|
|
||||||
to create a fillet on, select the necessary faces in the object browser
|
|
||||||
or in the viewer and define the <span style="font-weight: bold;"><B>Dimension</B></span>
|
|
||||||
of the Chamfer.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeChamferFace(Shape, D1,
|
|
||||||
D2, ListOfFaceID)</I></span>, where Shape is a shape to create chamfer on,
|
|
||||||
D1 is a chamfer size along a face from ListOfFaceID,
|
|
||||||
D2 is a
|
|
||||||
chamfer size along two faces connected to the edge to which the chamfer
|
|
||||||
is applied, ListOfFaceID is a list of indices of faces in Shape.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><img src="pics/chamfer3.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs5"> <img src="pics/chamfer_faces.png" x-maintain-ratio="TRUE" width="221px" height="238px" border="0" class="img_whs7"></p>
|
|
||||||
|
|
||||||
<p class="whs8"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"> <span
|
|
||||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
|
|
||||||
style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
|
|
||||||
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark4">Transformation
|
|
||||||
Operations</a>. </font></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,176 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Changing Display Parameters</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">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTUI Scripts\nChanging Displaying Parameters");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Changing Displaying Parameters</h1>
|
|
||||||
|
|
||||||
<h3>Changing Color</h3>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">box = geompy.MakeBox(0,0,0,
|
|
||||||
50,50,50)</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">sphere = geompy.MakeSphere(50,50,50,
|
|
||||||
30)</p>
|
|
||||||
|
|
||||||
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
|
|
||||||
|
|
||||||
<p class="whs1">fuse_id = geompy.addToStudy(fuse,"Fuse")</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(fuse_id,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setColor(fuse_id,218,165,31)
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<h3>Changing Display Mode</h3>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
|
|
||||||
salome</span></p>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">box = geompy.MakeBox(0,0,0,
|
|
||||||
50,50,50)</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">sphere = geompy.MakeSphere(50,50,50,
|
|
||||||
30)</p>
|
|
||||||
|
|
||||||
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
|
|
||||||
|
|
||||||
<p class="whs1">fuse_id = geompy.addToStudy(fuse,"Fuse")</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(fuse_id,1)
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<h3>Changing Transparency</h3>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">box = geompy.MakeBox(0,0,0,
|
|
||||||
50,50,50)</p>
|
|
||||||
|
|
||||||
<p class="whs1">sphere = geompy.MakeSphere(50,50,50,
|
|
||||||
30)</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
|
|
||||||
|
|
||||||
<p class="whs1">fuse_id = geompy.addToStudy(fuse,"Fuse")</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(fuse_id,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setColor(fuse_id,218,165,31)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setTransparency(fuse_id,0.5)
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,256 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Changing displaying parameters</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">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }
|
|
||||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
|
||||||
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
|
||||||
p.whs4 { margin-left:40px; }
|
|
||||||
p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
|
||||||
img_whs6 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs7 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs8 { border:none; width:403px; height:422px; float:none; border-style:none; }
|
|
||||||
img_whs9 { border:none; width:400px; height:424px; float:none; border-style:none; }
|
|
||||||
p.whs10 { font-size:12pt; font-family:'Times New Roman' , serif; }
|
|
||||||
p.whs11 { font-size:12pt; }
|
|
||||||
img_whs12 { border:none; float:none; width:393px; height:423px; border-style:none; }
|
|
||||||
p.whs13 { font-size:14pt; }
|
|
||||||
img_whs14 { border:none; width:354px; height:177px; float:none; border-style:none; }
|
|
||||||
p.whs15 { margin-left:40px; font-size:12pt; }
|
|
||||||
img_whs16 { border:none; width:397px; height:428px; float:none; border-style:none; }
|
|
||||||
img_whs17 { border:none; width:401px; height:429px; float:none; border-style:none; }
|
|
||||||
img_whs18 { border:none; width:255px; height:150px; float:none; border-style:none; }
|
|
||||||
img_whs19 { border:none; width:377px; height:426px; float:none; border-style:none; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nManaging geometrical objects\nChanging displaying parameters");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Changing displaying parameters</h1>
|
|
||||||
|
|
||||||
<p class="whs1"><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_whs2"> <span style="font-weight: normal;">In GEOM you can set different
|
|
||||||
displaying parameters for visualization of geometrical objects in the
|
|
||||||
viewer:</span></b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
href="#W_S">Wireframe/Shading</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
href="#Color">Color</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
href="#Transparency">Transparency</a> </p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
href="#Isos">Isos</a> (in OCC viewer only)</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class=TODO>To set displaying parameters of a geometrical object:</p>
|
|
||||||
|
|
||||||
<p class=TODO> </p>
|
|
||||||
|
|
||||||
<p class="whs4">Right-click on this geometrical object in
|
|
||||||
the viewer and from the pop-up menu select <span style="font-weight: bold;"><B>Properties</B></span>.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;"><a
|
|
||||||
NAME=W_S><img src="files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif" width="20px" height="20px" border="0" class="img_whs6">Wireframe/Shading</a></b> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Set the display mode of the selected shape.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">TUI
|
|
||||||
Command:</b><i> gg.setDisplayMode(ID, Short)</i></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="pics/disp_mode1sn.png" x-maintain-ratio="TRUE" width="403px" height="422px" border="0" class="img_whs8"> <img src="pics/disp_mode2sn.png" x-maintain-ratio="TRUE" width="400px" height="424px" border="0" class="img_whs9"></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;"><a
|
|
||||||
NAME=Color
|
|
||||||
style="font-size: 14pt;">Color</a></b></p>
|
|
||||||
|
|
||||||
<p class="whs10"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Change the color of a shape.</p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
gg.setColor(ID, Short, Short, Short)</i></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example</b></font></span><span
|
|
||||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b>:</b></font></span></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="pics/disp_mode2sn.png" x-maintain-ratio="TRUE" width="400px" height="424px" border="0" class="img_whs9"> <img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="393px" height="423px" border="0" class="img_whs12"></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs13"><b style="font-weight: bold;"><a NAME=Transparency><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Transparency</font></span></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Change the transparency (between 0 & 1) of a shape.</p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
gg.setTransparency(ID, Double)</i></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="pics/neo-transparency.png" x-maintain-ratio="TRUE" width="354px" height="177px" border="0" class="img_whs14"></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example:</b></font></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs15"><img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="397px" height="428px" border="0" class="img_whs16"> <img src="pics/transparencysn.png" x-maintain-ratio="TRUE" width="401px" height="429px" border="0" class="img_whs17"></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;"><a
|
|
||||||
NAME=Isos><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Isos</font></span></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Changes the number of isolines displayed within a shape.</p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
2 values (number of isolines).</p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="pics/neo-isos.png" x-maintain-ratio="TRUE" width="255px" height="150px" border="0" class="img_whs18"></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="397px" height="428px" border="0" class="img_whs16"> <img src="pics/isos_u12_v12sn.png" x-maintain-ratio="TRUE" width="377px" height="426px" border="0" class="img_whs19"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs11">Our TUI Scripts provide you with useful examples
|
|
||||||
of <a href="changing_display_parameters.htm">Changing Displaying Parameters</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,154 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Check Free Boundaries</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:22px; height:22px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; font-weight:normal; }
|
|
||||||
p.whs4 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
|
||||||
img_whs5 { border:none; width:243px; height:203px; float:none; border-style:none; }
|
|
||||||
p.whs6 { font-size:12pt; margin-left:0px; }
|
|
||||||
img_whs7 { border:none; width:436px; height:339px; float:none; border-style:none; }
|
|
||||||
img_whs8 { border:none; width:442px; height:336px; float:none; border-style:none; }
|
|
||||||
p.whs9 { font-weight:bold; }
|
|
||||||
-->
|
|
||||||
</style><script type="text/javascript" language="JavaScript">
|
|
||||||
<!--
|
|
||||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
|
||||||
{
|
|
||||||
var strNSS = "<style type='text/css'>";
|
|
||||||
strNSS += "p.whs6 {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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Boundaries");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image44.gif" width="22px" height="22px" border="0" class="img_whs1"> </font></span>Check Free Boundaries</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o <span
|
|
||||||
style="font-weight: bold;"><B>Check Free Boundaries</B></span> in the Main Menu
|
|
||||||
select <span style="font-weight: bold;"><B>Repair - > Check Free Boundaries</B></span>.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">This operation detects wires and edges that
|
|
||||||
correspond to the shape's boundary, and highlights it</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i><span
|
|
||||||
style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>,
|
|
||||||
where Shape is a shape to be checked, NoError is false if an error occurred
|
|
||||||
while checking free boundaries, ClosedWires is a list of closed free boundary
|
|
||||||
wires, OpenWires is a list of open free boundary wires.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Shape</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Dialog
|
|
||||||
Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="pics/repair9.png" x-maintain-ratio="TRUE" width="243px" height="203px" border="0" class="img_whs5"></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><img src="pics/free_boudaries1.png" x-maintain-ratio="TRUE" width="436px" height="339px" border="0" class="img_whs7"> <img src="pics/free_boudaries2.png" x-maintain-ratio="TRUE" width="442px" height="336px" border="0" class="img_whs8"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><span style="font-weight: normal;">Our</span>
|
|
||||||
TUI Scripts<span style="font-weight: normal;"> provide you with useful
|
|
||||||
examples of the use of</span> <a href="repairing_operations.htm#bookmark8">Repairing
|
|
||||||
Operations</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,148 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Check Free Faces</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:23px; height:22px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; font-weight:normal; }
|
|
||||||
p.whs4 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs5 { border:none; width:322px; height:163px; float:none; border-style:none; }
|
|
||||||
p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
|
||||||
p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
|
|
||||||
img_whs8 { border:none; float:none; width:234px; height:281px; border-style:none; }
|
|
||||||
img_whs9 { border:none; width:248px; height:283px; float:none; border-style:none; }
|
|
||||||
p.whs10 { font-weight:bold; }
|
|
||||||
-->
|
|
||||||
</style><script type="text/javascript" language="JavaScript">
|
|
||||||
<!--
|
|
||||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
|
||||||
{
|
|
||||||
var strNSS = "<style type='text/css'>";
|
|
||||||
strNSS += "p.whs6 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs7 {text-indent: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Faces");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image10.gif" width="23px" height="22px" border="0" class="img_whs1"> </font></span>Check Free Faces</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o <span
|
|
||||||
style="font-weight: bold;"><B>Check Free Faces</B></span> in the Main Menu select
|
|
||||||
<span style="font-weight: bold;"><B>Repair - > Check Free Faces.</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">This operation retrieves all free faces from
|
|
||||||
a given shape. A free face is a face not shared between two shells of
|
|
||||||
the shape. </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.
|
|
||||||
Returns a list of IDs of all free faces, contained in the shape.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i><span
|
|
||||||
style="font-style: italic;"> <I></i>GetFreeFacesIDs(Shape)</I></span>, where
|
|
||||||
Shape is a shape to be checked.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: bold;"><B>A</B></span>rguments:</b>
|
|
||||||
Shape</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="pics/repair10.png" x-maintain-ratio="TRUE" width="322px" height="163px" border="0" class="img_whs5"></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs7">Examples: </p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><img src="pics/free_faces1.png" x-maintain-ratio="TRUE" width="234px" height="281px" border="0" class="img_whs8"> <img src="pics/free_faces2.png" x-maintain-ratio="TRUE" width="248px" height="283px" border="0" class="img_whs9"></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs10"><span style="font-weight: normal;">Our</span>
|
|
||||||
TUI Scripts<span style="font-weight: normal;"> provide you with useful
|
|
||||||
examples of the use of</span> <a href="repairing_operations.htm#bookmark9">Repairing
|
|
||||||
Operations</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,150 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Circle</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; font-weight:bold; }
|
|
||||||
img_whs4 { border:none; width:312px; height:346px; float:none; border-style:none; }
|
|
||||||
img_whs5 { border:none; width:312px; height:359px; float:none; border-style:none; }
|
|
||||||
img_whs6 { border:none; width:348px; height:321px; float:none; border-style:none; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nCircle");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Circle</h1>
|
|
||||||
|
|
||||||
<p><b><span style="font-weight: normal;">T</span></b>o create a <span style="font-weight: bold;"><B>Circle</B></span>
|
|
||||||
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
|
|
||||||
style="font-weight: bold;"><B>New Entity - > Basic - > Circle</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">There
|
|
||||||
are 2 algorithms to create a</span> Circle <span style="font-weight: normal;">in
|
|
||||||
the 3D space.</span> </b></p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">of each operation will be a</span></b>
|
|
||||||
GEOM_Object (edge).</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly,
|
|
||||||
you can define a </span><span style="font-weight: bold;"><B>Circle</B></span><span
|
|
||||||
style="font-weight: normal;"> by a</span> Center Point, <span style="font-weight: normal;">a</span>
|
|
||||||
Vector <span style="font-weight: normal;">giving the </b>circl</span>e’s
|
|
||||||
normal and a <span style="font-weight: bold;"><B>Radius</B></span>.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b>
|
|
||||||
<span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span></p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:
|
|
||||||
</b><span style="font-weight: normal;">Name + 1 vertex (for the center)
|
|
||||||
+ 1 edge (for the direction) + Radius.</span></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><img src="pics/circle1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><span style="font-weight: normal;">Secondly,
|
|
||||||
you can define a</span> Circle<span style="font-weight: normal;"> by three</span>
|
|
||||||
Points <span style="font-weight: normal;">that lie on it.</span> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">TUI
|
|
||||||
Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeCircleThreePnt(Point1,
|
|
||||||
Point2, Point3)</I></span> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:
|
|
||||||
</b><span style="font-weight: normal;">Name + 3 points which will form
|
|
||||||
the circle.</span></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><img src="pics/circle2.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs5"></b></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><img src="pics/circles.png" x-maintain-ratio="TRUE" width="348px" height="321px" border="0" class="img_whs6"></b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
||||||
of creation of <a href="basic_geometrical_objects.htm#bookmark2">Basic
|
|
||||||
Geometric Objects</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,149 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Close Contour</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
ul.whs3 { list-style:disc; }
|
|
||||||
p.whs4 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
|
||||||
img_whs5 { border:none; width:312px; height:397px; float:none; border-style:none; }
|
|
||||||
p.whs6 { font-size:12pt; font-weight:bold; }
|
|
||||||
p.whs7 { font-weight:bold; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nClose Contour");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Close Contour</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
|
||||||
a <span style="font-weight: bold;"><B>Close Contour</B></span> operation in the
|
|
||||||
Main Menu select <span style="font-weight: bold;"><B>Repair - > Close
|
|
||||||
Contour.</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">This operation closes an open contour and modifies
|
|
||||||
the underlying face (if needed) in accordance with user specified mode:</p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs3">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs2">By common vertex – a
|
|
||||||
vertex is created between the end points of the contour and its tolerance
|
|
||||||
is increased to a value of the gap between the ends of the contour;</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs2">By new edge – a new edge
|
|
||||||
is inserted between the end points of the contour.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs2">This operation is available in <span style="font-weight: bold;"><B>OCC
|
|
||||||
Viewer</B></span> only. </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires,
|
|
||||||
IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires
|
|
||||||
is a list of edges or wires ID’s which has to be closed within the shape
|
|
||||||
(if the list contains only one element = -1, the shape itself is considered
|
|
||||||
as a wire), IsCommonVertex
|
|
||||||
if this parameter is True a closure has to be done by creation of a common
|
|
||||||
vertex, otherwise an edge is added between the end vertices.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments: <span
|
|
||||||
style="font-weight: normal;">Name + 1 shape + contour</span> <span style="font-weight: normal;">(</span></b>Wire,
|
|
||||||
or a set of Edges) + mode of closure (by vertex or by edge)</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="pics/repair3.png" x-maintain-ratio="TRUE" width="312px" height="397px" border="0" class="img_whs5"></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><span style="font-weight: normal;">Our</span>
|
|
||||||
TUI Scripts <span style="font-weight: normal;">provide you with useful
|
|
||||||
examples of the use of</span> <a href="repairing_operations.htm#bookmark2">Repairing
|
|
||||||
Operations</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,141 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Common</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
|
||||||
p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
|
|
||||||
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
|
||||||
img_whs6 { border:none; float:none; width:242px; height:254px; border-style:none; }
|
|
||||||
img_whs7 { border:none; float:none; width:221px; height:255px; 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.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
|
||||||
strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nCommon");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Common</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
|
||||||
a <span style="font-weight: bold;"><B>Common</B></span> in the Main Menu select
|
|
||||||
<span style="font-weight: bold;"><B>Operations - > Boolean - > Common</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">This
|
|
||||||
operation</span> </b>cuts the common part of two shapes and transforms
|
|
||||||
it into an independent geometrical object.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object
|
|
||||||
(COMPOUND).</p>
|
|
||||||
|
|
||||||
<p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span>
|
|
||||||
<span style="font-style: italic;"><I>geompy.MakeCommon(s1,
|
|
||||||
s2)</I></span> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 2 shapes.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="pics/bool2.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="pics/fusesn2.png" x-maintain-ratio="TRUE" width="242px" height="254px" border="0" class="img_whs6"> <img src="pics/cutsn.png" x-maintain-ratio="TRUE" width="221px" height="255px" border="0" class="img_whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
||||||
of the use of <a href="boolean_operations.htm#bookmark1">Boolean Operations</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,484 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Complex Objects</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">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nComplex Objects");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Complex Objects</h1>
|
|
||||||
|
|
||||||
<h3><a name=bookmark>Creation of a Prism</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertex and vector</p>
|
|
||||||
|
|
||||||
<p class="whs1">p1 = geompy.MakeVertex(
|
|
||||||
0.,
|
|
||||||
0.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p2 = geompy.MakeVertex(
|
|
||||||
100., 0.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p3 = geompy.MakeVertex(
|
|
||||||
100., 100., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p4 = geompy.MakeVertex(
|
|
||||||
0.,
|
|
||||||
100., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p5 = geompy.MakeVertex(
|
|
||||||
0.,
|
|
||||||
0.,
|
|
||||||
60.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p6 = geompy.MakeVertex(-100.,
|
|
||||||
0.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p7 = geompy.MakeVertex(-100.,-100.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p8 = geompy.MakeVertex(
|
|
||||||
0.,-100.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vector with the given components</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector = geompy.MakeVectorDXDYDZ(50.,
|
|
||||||
50., 50.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>#create vectors with two points</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector1_arc1 = geompy.MakeVector(p1,
|
|
||||||
p2)</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector2_arc1 = geompy.MakeVector(p1,
|
|
||||||
p4)</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector1_arc2 = geompy.MakeVector(p1,
|
|
||||||
p6)</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector2_arc2 = geompy.MakeVector(p1,
|
|
||||||
p8)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create arcs with three points</p>
|
|
||||||
|
|
||||||
<p class="whs1">arc1 = geompy.MakeArc(p2,
|
|
||||||
p3, p4)</p>
|
|
||||||
|
|
||||||
<p class="whs1">arc2 = geompy.MakeArc(p6,
|
|
||||||
p7, p8)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create wires</p>
|
|
||||||
|
|
||||||
<p class="whs1">wire1 = geompy.MakeWire([vector1_arc1,
|
|
||||||
arc1, vector2_arc1])</p>
|
|
||||||
|
|
||||||
<p class="whs1">wire2 = geompy.MakeWire([vector1_arc2,
|
|
||||||
arc2, vector2_arc2])</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create faces</p>
|
|
||||||
|
|
||||||
<p class="whs1">isPlanarWanted = 1</p>
|
|
||||||
|
|
||||||
<p class="whs1">face1 = geompy.MakeFace(wire1,
|
|
||||||
isPlanarWanted)</p>
|
|
||||||
|
|
||||||
<p class="whs1">face2 = geompy.MakeFace(wire2,
|
|
||||||
isPlanarWanted)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create prisms</p>
|
|
||||||
|
|
||||||
<p class="whs1">prism1 = geompy.MakePrism(face2,
|
|
||||||
p1, p5)</p>
|
|
||||||
|
|
||||||
<p class="whs1">prism2 = geompy.MakePrismVecH(face1,
|
|
||||||
vector, 50)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_face1 =
|
|
||||||
geompy.addToStudy(face1,"Face1")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_face2 =
|
|
||||||
geompy.addToStudy(face2,"Face2")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_prism1 = geompy.addToStudy(prism1,"Prism1")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_prism2 = geompy.addToStudy(prism2,"Prism2")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display cylinders</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_face1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_face1,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_face2)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_face2,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_prism1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.setDisplayMode(id_prism1,1)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_prism2)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_prism2,1)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark1>Creation of a Revolution</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertex and vector</p>
|
|
||||||
|
|
||||||
<p class="whs1">p1 = geompy.MakeVertex(
|
|
||||||
10., 10.,
|
|
||||||
10.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p2 = geompy.MakeVertex(
|
|
||||||
15., 15.,
|
|
||||||
50.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p3 = geompy.MakeVertex(
|
|
||||||
40., 40.,
|
|
||||||
0.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>#create vectors with two points</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector1 = geompy.MakeVector(p1,
|
|
||||||
p2)</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector2 = geompy.MakeVector(p1,
|
|
||||||
p3)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vector with the given components</p>
|
|
||||||
|
|
||||||
<p class="whs1">vector3 = geompy.MakeVectorDXDYDZ(-20.,
|
|
||||||
-20., 100.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create wire</p>
|
|
||||||
|
|
||||||
<p class="whs1">wire = geompy.MakeWire([vector1,
|
|
||||||
vector2])</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create revolution</p>
|
|
||||||
|
|
||||||
<p class="whs1">revolution = geompy.MakeRevolution(wire,
|
|
||||||
vector3, 2.3)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_vector3 =
|
|
||||||
geompy.addToStudy(vector3,"Axis")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_wire =
|
|
||||||
geompy.addToStudy(wire,"Wire")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_revolution = geompy.addToStudy(revolution,"Revolution")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display vector, wire and revolution</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_vector3)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_wire)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_revolution)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_revolution,1)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark2>Creation of a Filling</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p class="whs1">mindeg = 2</p>
|
|
||||||
|
|
||||||
<p class="whs1">maxdeg = 5</p>
|
|
||||||
|
|
||||||
<p class="whs1">tol3d =
|
|
||||||
0.0001</p>
|
|
||||||
|
|
||||||
<p class="whs1">tol2d =
|
|
||||||
0.0001</p>
|
|
||||||
|
|
||||||
<p class="whs1">nbiter = 5</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertex and vector</p>
|
|
||||||
|
|
||||||
<p class="whs1">p1 = geompy.MakeVertex(
|
|
||||||
-30., -30.,
|
|
||||||
50.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p2 = geompy.MakeVertex(
|
|
||||||
-60., -60.,
|
|
||||||
30.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">p3 = geompy.MakeVertex(
|
|
||||||
-30., -30.,
|
|
||||||
10.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create arc with three points</p>
|
|
||||||
|
|
||||||
<p class="whs1">arc = geompy.MakeArc(p1,
|
|
||||||
p2, p3)</p>
|
|
||||||
|
|
||||||
<p class="whs1">ShapeListCompound
|
|
||||||
= []</p>
|
|
||||||
|
|
||||||
<p class="whs1">i = 0</p>
|
|
||||||
|
|
||||||
<p class="whs1">while i <= 3 :</p>
|
|
||||||
|
|
||||||
<p class="whs1"> S
|
|
||||||
= geompy.MakeTranslation(arc, i * 50., 0., 0.)</p>
|
|
||||||
|
|
||||||
<p class="whs1"> ShapeListCompound.append(S)</p>
|
|
||||||
|
|
||||||
<p class="whs1"> i
|
|
||||||
= i + 1</p>
|
|
||||||
|
|
||||||
<p class="whs1">compound = geompy.MakeCompound(ShapeListCompound)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create filling</p>
|
|
||||||
|
|
||||||
<p class="whs1">filling = geompy.MakeFilling(compound,
|
|
||||||
mindeg, maxdeg, tol3d, tol2d, nbiter)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_compound = geompy.addToStudy(compound,"Compound")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_filling = geompy.addToStudy(filling,"Filling")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display compound and filling</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_compound)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_filling)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_filling,1)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<h3><a name=bookmark3>Creation of a Pipe</a></h3>
|
|
||||||
|
|
||||||
<p class="whs1">import geompy</p>
|
|
||||||
|
|
||||||
<p class="whs1">import salome</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vertices</p>
|
|
||||||
|
|
||||||
<p class="whs1">p0 =
|
|
||||||
geompy.MakeVertex(0. ,
|
|
||||||
0. , 0.
|
|
||||||
)</p>
|
|
||||||
|
|
||||||
<p class="whs1">px =
|
|
||||||
geompy.MakeVertex(100., 0. ,
|
|
||||||
0. )</p>
|
|
||||||
|
|
||||||
<p class="whs1">py =
|
|
||||||
geompy.MakeVertex(0. ,
|
|
||||||
100., 0. )</p>
|
|
||||||
|
|
||||||
<p class="whs1">pz =
|
|
||||||
geompy.MakeVertex(0. ,
|
|
||||||
0. , 100.)</p>
|
|
||||||
|
|
||||||
<p class="whs1">pxyz = geompy.MakeVertex(100.,
|
|
||||||
100., 100.)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create vector on two points</p>
|
|
||||||
|
|
||||||
<p class="whs1">vxy = geompy.MakeVector(px,
|
|
||||||
py)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create arc with three points</p>
|
|
||||||
|
|
||||||
<p class="whs1">arc = geompy.MakeArc(py,
|
|
||||||
pz, px)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create wire</p>
|
|
||||||
|
|
||||||
<p class="whs1">wire = geompy.MakeWire([vxy,
|
|
||||||
arc])</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create edge</p>
|
|
||||||
|
|
||||||
<p class="whs1">edge = geompy.MakeEdge(p0,
|
|
||||||
pxyz)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># create pipe</p>
|
|
||||||
|
|
||||||
<p class="whs1">pipe = geompy.MakePipe(wire,
|
|
||||||
edge)</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># add objects in study</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_wire = geompy.addToStudy(wire,"Wire")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_edge = geompy.addToStudy(edge,"Edge")</p>
|
|
||||||
|
|
||||||
<p class="whs1">id_pipe = geompy.addToStudy(pipe,"Pipe")</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p># display wire, edge (path) and pipe</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_wire)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_edge)</p>
|
|
||||||
|
|
||||||
<p class="whs1">gg.createAndDisplayGO(id_pipe)</p>
|
|
||||||
|
|
||||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_pipe,1)</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,133 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Compound</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs4 { border:none; width:312px; height:289px; float:none; border-style:none; }
|
|
||||||
img_whs5 { border:none; width:195px; height:174px; float:none; border-style:none; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nCompound");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif" width="20px" height="20px" border="0" class="img_whs1"></font></span>Compound</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o create
|
|
||||||
a <span style="font-weight: bold;"><B>Compound </B></span>in the Main Menu select
|
|
||||||
New Entity - > Build - > <span style="font-weight: bold;"><B>Compound.</B></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs2">You can create a compound from a list of shells.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">will be a</span> </b>GEOM_Object
|
|
||||||
(COMPOUND).</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeCompound(ListOfShape)</I></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + List of shapes.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="pics/neo-obj7.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs4"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="pics/compoundsn.png" x-maintain-ratio="TRUE" width="195px" height="174px" border="0" class="img_whs5"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
||||||
of creation of <a href="geometrical_objects.htm#bookmark4">Advanced Geometric
|
|
||||||
Objects</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,169 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Cone</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-weight:bold; }
|
|
||||||
img_whs4 { border:none; width:312px; height:402px; float:none; border-style:none; }
|
|
||||||
p.whs5 { margin-left:0px; }
|
|
||||||
p.whs6 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs7 { border:none; width:276px; height:282px; float:none; 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.whs5 {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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nCone");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Cone</h1>
|
|
||||||
|
|
||||||
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cone</B></span>
|
|
||||||
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
|
|
||||||
style="font-weight: bold;"><B>New Entity - > Primitives - > Cone</B></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Torus</B></span>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">of each operation will be a</span></b>
|
|
||||||
GEOM_Object (SOLID).</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>Firstly, you can define a <span style="font-weight: bold;"><B>Cone</B></span>
|
|
||||||
by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central
|
|
||||||
point of the cone base), the <span style="font-weight: bold;"><B>Axis</B></span>,
|
|
||||||
the <span style="font-weight: bold;"><B>Height</B></span> and the first and the
|
|
||||||
second <span style="font-weight: bold;"><B>Radiuses</B></span>. </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCone(Point,
|
|
||||||
Axis, Radius1, Radius2)</I></span></p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:
|
|
||||||
</b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 1 vertex
|
|
||||||
+ 1 vector (for direction) + 3 values (Radius of the base part, radius
|
|
||||||
of the upper part, height).</font></span></p>
|
|
||||||
|
|
||||||
<p><img src="pics/cone1.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs4"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>Secondly, you can define a <span style="font-weight: bold;"><B>Cone</B></span>
|
|
||||||
with the centre at the origin of coordinates by its <span style="font-weight: bold;"><B>Height</B></span>
|
|
||||||
and <span style="font-weight: bold;"><B>Radiuses</B></span>. The <span style="font-weight: bold;"><B>Axis</B></span>
|
|
||||||
of the <span style="font-weight: bold;"><B>Cone</B></span> will be collinear
|
|
||||||
to the OZ axis of the coordinate system. </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-weight: bold;"><B>geompy.MakeConeR1R2H(Radius1,
|
|
||||||
Radius2, Height)</B></span> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:
|
|
||||||
</b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 3 values
|
|
||||||
(Radius of the base part, radius of the upper part, height).</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs5"> <img src="pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs4"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><span style="font-weight: bold;"><B>Note:</B></span> If both radiuses are non-zero,
|
|
||||||
the <span style="font-weight: bold;"><B>Cone</B></span> will be truncated. If
|
|
||||||
the radiuses are equal, a <span style="font-weight: bold;"><B>Cylinder</B></span>
|
|
||||||
will be created instead. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><img src="pics/cones.png" x-maintain-ratio="TRUE" width="276px" height="282px" border="0" class="img_whs7"></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
||||||
of creation of <a href="primitives.htm#bookmark4">Primitives</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,258 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>GEOM reference manual</title>
|
|
||||||
|
|
||||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
|
||||||
<meta name="description" content="WebHelp 5.50">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<script language="JavaScript">
|
|
||||||
<!--
|
|
||||||
|
|
||||||
var gArrayCsh = new Array();
|
|
||||||
|
|
||||||
var gstrWindowOption = "";
|
|
||||||
var gstrURL = "";
|
|
||||||
var gbWithNavPane = false;
|
|
||||||
|
|
||||||
function CshEntityItem(strAliasId, nTopicNum, strUrl)
|
|
||||||
{
|
|
||||||
this.strAliasId = strAliasId;
|
|
||||||
this.nTopicNum = nTopicNum;
|
|
||||||
this.strUrl = strUrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//Try to get to topic number from hash string
|
|
||||||
function GetTopicNumberAuto(strMayBeNumber)
|
|
||||||
{
|
|
||||||
var nNum = -1;
|
|
||||||
if (strMayBeNumber.length >= 1)
|
|
||||||
{
|
|
||||||
var strTmp = strMayBeNumber;
|
|
||||||
var iEnd = strTmp.length;
|
|
||||||
for (var i=0; i<iEnd; i++)
|
|
||||||
{
|
|
||||||
var ch = strTmp.charAt(i);
|
|
||||||
if (!((ch == "0") || (ch == "1") ||
|
|
||||||
(ch == "2") || (ch == "3") ||
|
|
||||||
(ch == "4") || (ch == "5") ||
|
|
||||||
(ch == "6") || (ch == "7") ||
|
|
||||||
(ch == "8") || (ch == "9")))
|
|
||||||
return GetTopicNumberById(strTmp);
|
|
||||||
}
|
|
||||||
nNum = parseInt(strTmp);
|
|
||||||
}
|
|
||||||
return nNum;
|
|
||||||
}
|
|
||||||
|
|
||||||
function GetTopicNumber(strHashString)
|
|
||||||
{
|
|
||||||
var nTopicEndPos = strHashString.indexOf(',')
|
|
||||||
if (nTopicEndPos == -1) { // no window option.
|
|
||||||
return GetTopicNumberOnly(strHashString);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);
|
|
||||||
var strWithNavPane = 'withnavpane=true';
|
|
||||||
if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)
|
|
||||||
{
|
|
||||||
if (strWindowOption.length > strWithNavPane.length)
|
|
||||||
gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);
|
|
||||||
else
|
|
||||||
gstrWindowOption = "";
|
|
||||||
gbWithNavPane = true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
gstrWindowOption = strWindowOption;
|
|
||||||
return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function GetTopicNumberOnly(strTopicString)
|
|
||||||
{
|
|
||||||
var nEqualPos = strTopicString.indexOf('=');
|
|
||||||
if (nEqualPos == -1) {
|
|
||||||
return GetTopicNumberAuto(strTopicString);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);
|
|
||||||
if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {
|
|
||||||
return parseInt(strValue);
|
|
||||||
} else if (strTopicString.toLowerCase().indexOf("context") == 0) {
|
|
||||||
return GetTopicNumberById(strValue);
|
|
||||||
} else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {
|
|
||||||
gstrURL = strValue;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//Find HomePage of the WebHelp system
|
|
||||||
// we try to get the topic from remote project if it exists.
|
|
||||||
function RedirectToHomePage()
|
|
||||||
{
|
|
||||||
if (parent && parent != this && parent.goNext)
|
|
||||||
{
|
|
||||||
var sHome = parent.goNext();
|
|
||||||
if (sHome != "")
|
|
||||||
RedirectTo(sHome);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function getHomePage()
|
|
||||||
{
|
|
||||||
if (parent && parent != this && parent.getRelHomePage)
|
|
||||||
{
|
|
||||||
return parent.getRelHomePage(document.location.href);
|
|
||||||
}
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
function addRemoteProject(strPath)
|
|
||||||
{
|
|
||||||
if (parent && parent != this && parent.addProject)
|
|
||||||
{
|
|
||||||
parent.addProject(strPath);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//Redirect page to...
|
|
||||||
function RedirectTo(strUrl)
|
|
||||||
{
|
|
||||||
if (gstrWindowOption.length != 0) {
|
|
||||||
var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);
|
|
||||||
// close current window and rename the stub window to current window.
|
|
||||||
if (wnd)
|
|
||||||
wnd.focus();
|
|
||||||
if (parent)
|
|
||||||
parent.close();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
parent.document.location.href = strUrl;
|
|
||||||
window.focus();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//Prompt the user that we can not find...
|
|
||||||
function FailToFind(strMsg)
|
|
||||||
{
|
|
||||||
RedirectToHomePage();
|
|
||||||
}
|
|
||||||
|
|
||||||
//Find topic by topic number (defined in h file)
|
|
||||||
function FindTopicByTopicNum(nTopicNum)
|
|
||||||
{
|
|
||||||
var i = 0;
|
|
||||||
var iEnd = gArrayCsh.length;
|
|
||||||
for (i=0; i<iEnd; i++)
|
|
||||||
{
|
|
||||||
if (gArrayCsh[i].nTopicNum == nTopicNum)
|
|
||||||
{
|
|
||||||
var strURL = gArrayCsh[i].strUrl;
|
|
||||||
if (gbWithNavPane)
|
|
||||||
{
|
|
||||||
var strHomePage = getHomePage();
|
|
||||||
if (strHomePage.length != 0)
|
|
||||||
strURL = strHomePage + strURL;
|
|
||||||
}
|
|
||||||
RedirectTo(strURL);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
var oldPrefix = "HelpIdFromHTMLHelp_"
|
|
||||||
//Find topic by topic id (alias id defined in ali file)
|
|
||||||
function GetTopicNumberById(strTopicId)
|
|
||||||
{
|
|
||||||
if (strTopicId.indexOf(oldPrefix) == 0)
|
|
||||||
{
|
|
||||||
strTopicId = strTopicId.substring(oldPrefix.length);
|
|
||||||
}
|
|
||||||
|
|
||||||
var i = 0;
|
|
||||||
var iEnd = gArrayCsh.length;
|
|
||||||
for (i=0; i<iEnd; i++)
|
|
||||||
{
|
|
||||||
if (gArrayCsh[i].strAliasId.toLowerCase() == strTopicId.toLowerCase())
|
|
||||||
{
|
|
||||||
return gArrayCsh[i].nTopicNum;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
gstrURL = "";
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
//Set Context-sensitive help entity...
|
|
||||||
function SetCsh(n, strAliasId, nTopicNum, strUrl)
|
|
||||||
{
|
|
||||||
gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function getHash()
|
|
||||||
{
|
|
||||||
if (parent && parent != this)
|
|
||||||
return parent.location.hash;
|
|
||||||
else
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<script language="javascript">
|
|
||||||
<!--
|
|
||||||
|
|
||||||
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<script language="javascript">
|
|
||||||
<!--
|
|
||||||
//Find CSH according to hash string after this page
|
|
||||||
if (getHash().length > 0)
|
|
||||||
{
|
|
||||||
// VH 05/16/00 now support
|
|
||||||
// TopicID=
|
|
||||||
// TopicNumber=
|
|
||||||
// RemoteURL=
|
|
||||||
// and WindowsOptions
|
|
||||||
// with the format #a=xxx,b=xxx,c=xxx...
|
|
||||||
var strHashString = getHash().toString();
|
|
||||||
// change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it.
|
|
||||||
// so here need to change it back.
|
|
||||||
strHashString = strHashString.substring(1,strHashString.length);
|
|
||||||
strHashString = strHashString.replace("%072%057%057", "://");
|
|
||||||
var nTopicNum = GetTopicNumber(strHashString);
|
|
||||||
|
|
||||||
if (nTopicNum != -1)
|
|
||||||
{
|
|
||||||
FindTopicByTopicNum(nTopicNum);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (gstrURL.length > 0)
|
|
||||||
RedirectTo(gstrURL);
|
|
||||||
else
|
|
||||||
RedirectToHomePage();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
RedirectToHomePage();
|
|
||||||
}
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<noscript>
|
|
||||||
<p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>
|
|
||||||
</noscript>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,251 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>GEOM reference manual</title>
|
|
||||||
|
|
||||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
|
||||||
<meta name="description" content="WebHelp 5.50">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<script language="JavaScript">
|
|
||||||
<!--
|
|
||||||
|
|
||||||
var gArrayCsh = new Array();
|
|
||||||
|
|
||||||
var gstrWindowOption = "";
|
|
||||||
var gstrURL = "";
|
|
||||||
var gbWithNavPane = false;
|
|
||||||
|
|
||||||
function CshEntityItem(strAliasId, nTopicNum, strUrl)
|
|
||||||
{
|
|
||||||
this.strAliasId = strAliasId;
|
|
||||||
this.nTopicNum = nTopicNum;
|
|
||||||
this.strUrl = strUrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//Try to get to topic number from hash string
|
|
||||||
function GetTopicNumberAuto(strMayBeNumber)
|
|
||||||
{
|
|
||||||
var nNum = -1;
|
|
||||||
if (strMayBeNumber.length >= 1)
|
|
||||||
{
|
|
||||||
var strTmp = strMayBeNumber;
|
|
||||||
var iEnd = strTmp.length;
|
|
||||||
for (var i=0; i<iEnd; i++)
|
|
||||||
{
|
|
||||||
var ch = strTmp.charAt(i);
|
|
||||||
if (!((ch == "0") || (ch == "1") ||
|
|
||||||
(ch == "2") || (ch == "3") ||
|
|
||||||
(ch == "4") || (ch == "5") ||
|
|
||||||
(ch == "6") || (ch == "7") ||
|
|
||||||
(ch == "8") || (ch == "9")))
|
|
||||||
return GetTopicNumberById(strTmp);
|
|
||||||
}
|
|
||||||
nNum = parseInt(strTmp);
|
|
||||||
}
|
|
||||||
return nNum;
|
|
||||||
}
|
|
||||||
|
|
||||||
function GetTopicNumber(strHashString)
|
|
||||||
{
|
|
||||||
var nTopicEndPos = strHashString.indexOf(',')
|
|
||||||
if (nTopicEndPos == -1) { // no window option.
|
|
||||||
return GetTopicNumberOnly(strHashString);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);
|
|
||||||
var strWithNavPane = 'withnavpane=true';
|
|
||||||
if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)
|
|
||||||
{
|
|
||||||
if (strWindowOption.length > strWithNavPane.length)
|
|
||||||
gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);
|
|
||||||
else
|
|
||||||
gstrWindowOption = "";
|
|
||||||
gbWithNavPane = true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
gstrWindowOption = strWindowOption;
|
|
||||||
return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function GetTopicNumberOnly(strTopicString)
|
|
||||||
{
|
|
||||||
var nEqualPos = strTopicString.indexOf('=');
|
|
||||||
if (nEqualPos == -1) {
|
|
||||||
return GetTopicNumberAuto(strTopicString);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);
|
|
||||||
if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {
|
|
||||||
return parseInt(strValue);
|
|
||||||
} else if (strTopicString.toLowerCase().indexOf("topicid") == 0) {
|
|
||||||
return GetTopicNumberById(strValue);
|
|
||||||
} else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {
|
|
||||||
gstrURL = strValue;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//Find HomePage of the WebHelp system
|
|
||||||
// we try to get the topic from remote project if it exists.
|
|
||||||
function RedirectToHomePage()
|
|
||||||
{
|
|
||||||
if (parent && parent != this && parent.goNext)
|
|
||||||
{
|
|
||||||
var sHome = parent.goNext();
|
|
||||||
if (sHome != "")
|
|
||||||
RedirectTo(sHome);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function getHomePage()
|
|
||||||
{
|
|
||||||
if (parent && parent != this && parent.getRelHomePage)
|
|
||||||
{
|
|
||||||
return parent.getRelHomePage(document.location.href);
|
|
||||||
}
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
function addRemoteProject(strPath)
|
|
||||||
{
|
|
||||||
if (parent && parent != this && parent.addProject)
|
|
||||||
{
|
|
||||||
parent.addProject(strPath);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//Redirect page to...
|
|
||||||
function RedirectTo(strUrl)
|
|
||||||
{
|
|
||||||
if (gstrWindowOption.length != 0) {
|
|
||||||
var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);
|
|
||||||
// close current window and rename the stub window to current window.
|
|
||||||
wnd.focus();
|
|
||||||
if (parent)
|
|
||||||
parent.close();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
parent.document.location.href = strUrl;
|
|
||||||
window.focus();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//Prompt the user that we can not find...
|
|
||||||
function FailToFind(strMsg)
|
|
||||||
{
|
|
||||||
RedirectToHomePage();
|
|
||||||
}
|
|
||||||
|
|
||||||
//Find topic by topic number (defined in h file)
|
|
||||||
function FindTopicByTopicNum(nTopicNum)
|
|
||||||
{
|
|
||||||
var i = 0;
|
|
||||||
var iEnd = gArrayCsh.length;
|
|
||||||
for (i=0; i<iEnd; i++)
|
|
||||||
{
|
|
||||||
if (gArrayCsh[i].nTopicNum == nTopicNum)
|
|
||||||
{
|
|
||||||
var strURL = gArrayCsh[i].strUrl;
|
|
||||||
if (gbWithNavPane)
|
|
||||||
{
|
|
||||||
var strHomePage = getHomePage();
|
|
||||||
if (strHomePage.length != 0)
|
|
||||||
strURL = strHomePage + strURL;
|
|
||||||
}
|
|
||||||
RedirectTo(strURL);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
//Find topic by topic id (alias id defined in ali file)
|
|
||||||
function GetTopicNumberById(strTopicId)
|
|
||||||
{
|
|
||||||
var i = 0;
|
|
||||||
var iEnd = gArrayCsh.length;
|
|
||||||
for (i=0; i<iEnd; i++)
|
|
||||||
{
|
|
||||||
if (gArrayCsh[i].strAliasId == strTopicId)
|
|
||||||
{
|
|
||||||
return gArrayCsh[i].nTopicNum;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
gstrURL = "";
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
//Set Context-sensitive help entity...
|
|
||||||
function SetCsh(n, strAliasId, nTopicNum, strUrl)
|
|
||||||
{
|
|
||||||
gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function getHash()
|
|
||||||
{
|
|
||||||
if (parent && parent != this)
|
|
||||||
return parent.location.hash;
|
|
||||||
else
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<script language="javascript">
|
|
||||||
<!--
|
|
||||||
|
|
||||||
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<script language="javascript">
|
|
||||||
<!--
|
|
||||||
//Find CSH according to hash string after this page
|
|
||||||
if (getHash().length > 0)
|
|
||||||
{
|
|
||||||
// VH 05/16/00 now support
|
|
||||||
// TopicID=
|
|
||||||
// TopicNumber=
|
|
||||||
// RemoteURL=
|
|
||||||
// and WindowsOptions
|
|
||||||
// with the format #a=xxx,b=xxx,c=xxx...
|
|
||||||
var strHashString = getHash().toString();
|
|
||||||
// change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it.
|
|
||||||
// so here need to change it back.
|
|
||||||
strHashString = strHashString.substring(1,strHashString.length);
|
|
||||||
strHashString = strHashString.replace("%072%057%057", "://");
|
|
||||||
var nTopicNum = GetTopicNumber(strHashString);
|
|
||||||
|
|
||||||
if (nTopicNum != -1)
|
|
||||||
{
|
|
||||||
FindTopicByTopicNum(nTopicNum);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (gstrURL.length > 0)
|
|
||||||
RedirectTo(gstrURL);
|
|
||||||
else
|
|
||||||
RedirectToHomePage();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
RedirectToHomePage();
|
|
||||||
}
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<noscript>
|
|
||||||
<p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>
|
|
||||||
</noscript>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,162 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Curve</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:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
ul.whs3 { list-style:disc; }
|
|
||||||
p.whs4 { font-size:12pt; font-style:italic; }
|
|
||||||
img_whs5 { border:none; width:312px; height:289px; float:none; border-style:none; }
|
|
||||||
p.whs6 { font-size:12pt; font-style:normal; font-weight:bold; }
|
|
||||||
p.whs7 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; }
|
|
||||||
img_whs8 { border:none; float:none; width:310px; height:308px; border-style:none; }
|
|
||||||
img_whs9 { border:none; width:313px; height:310px; float:none; border-style:none; }
|
|
||||||
img_whs10 { border:none; float:none; width:291px; height:313px; border-style:none; }
|
|
||||||
p.whs11 { font-size:12pt; margin-left:40px; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nCurve");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="image32.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Curve</h1>
|
|
||||||
|
|
||||||
<p>To create a <span style="font-weight: bold;"><B>Curve</B></span> in the <span
|
|
||||||
style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
|
|
||||||
Entity - > Basic - > Curve</B></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create
|
|
||||||
a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Curve</B></font></span><span
|
|
||||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> in the 3D space. Each time you define it by
|
|
||||||
a list of </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Points</B></font></span><span
|
|
||||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> through which the curve passes. The three </font></span><span
|
|
||||||
style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Curve Construction</B></font></span><span
|
|
||||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> menu choices correspond to the three possible
|
|
||||||
types of curves: Polyline, Besier or B-spline (Interpolated) curve. </font></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
|
|
||||||
style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">of
|
|
||||||
each operation will be a</span></b> GEOM_Object (edge).</font></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Commands:</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs3">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span></p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs2">ListOfShape is a list of points through which
|
|
||||||
the curve passes.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + at least 2 points which will serve as nodes on the curve.</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="pics/curve.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs6">Examples:</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs7">Polyline
|
|
||||||
<span
|
|
||||||
style="font-size: 12pt;
|
|
||||||
font-weight: bold;
|
|
||||||
font-style: italic;
|
|
||||||
x-text-underline: off;
|
|
||||||
/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font size=3 style="font-size:12pt;"><I><B> Bezier
|
|
||||||
B-Spline</B></I></font></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"><img src="pics/polyline.png" x-maintain-ratio="TRUE" width="310px" height="308px" border="0" class="img_whs8"> <img src="pics/bezier.png" x-maintain-ratio="TRUE" width="313px" height="310px" border="0" class="img_whs9"> <img src="pics/interpol.png" x-maintain-ratio="TRUE" width="291px" height="313px" border="0" class="img_whs10"></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
||||||
of creation of <a href="basic_geometrical_objects.htm#bookmark4">Basic
|
|
||||||
Geometric Objects</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,137 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Cut</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
|
||||||
p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
|
|
||||||
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
|
||||||
img_whs6 { border:none; width:150px; height:122px; 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.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
|
||||||
strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nCut");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Cut</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
|
||||||
a <span style="font-weight: bold;"><B>Cut</B></span> in the Main Menu select
|
|
||||||
<span style="font-weight: bold;"><B>Operations - > Boolean - > Cut</B></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs3">This operation cuts a shape with another
|
|
||||||
one.</p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">will be a</span> </b> GEOM_Object
|
|
||||||
(COMPOUND).</p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 2 shapes.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="pics/bool3.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="image5.jpg" width="150px" height="122px" border="0" class="img_whs6"> <img src="image4.gif" width="150px" height="122px" border="0" class="img_whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
||||||
of the use of <a href="boolean_operations.htm#bookmark3">Boolean Operations</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,160 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Cylinder</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-weight:bold; }
|
|
||||||
img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }
|
|
||||||
p.whs5 { margin-left:0px; }
|
|
||||||
p.whs6 { margin-left:40px; }
|
|
||||||
img_whs7 { border:none; width:287px; height:272px; float:none; 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.whs5 {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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nCylinder");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Cylinder</h1>
|
|
||||||
|
|
||||||
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cylinder</B></span>
|
|
||||||
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
|
|
||||||
style="font-weight: bold;"><B>New Entity - > Primitives - > Cylinder</B></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Cylinder</B></span>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">of each operation will be a</span></b>
|
|
||||||
GEOM_Object (SOLID).</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Cylinder</B></span>
|
|
||||||
by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central
|
|
||||||
point of the cylinder base), the <span style="font-weight: bold;"><B>Vector</B></span>
|
|
||||||
(the axis of the cylinder), and its dimensions: the Radius and the Height.</p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCylinder(Point,
|
|
||||||
Axis, Radius, Height)</I></span>, </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:
|
|
||||||
<span style="font-weight: normal;"> </span></b><span
|
|
||||||
style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name
|
|
||||||
+ 1 vertex + 1 vector + 2 values (Dimensions: radius and height).</font></span></p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;"><img src="pics/cylinder1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b><span style="font-weight: normal;">Secondly, you can define</b> a
|
|
||||||
</span><span style="font-weight: bold;"><B>Cylinder</B></span> by the given radius
|
|
||||||
and the height at the
|
|
||||||
origin of coordinate system. The axis of the cylinder will be collinear
|
|
||||||
to the OZ axis of the coordinate system. </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">TUI Command: </b><span style="font-style: italic;"><I>geompy.MakeCylinderRH(Radius,
|
|
||||||
Height)</I></span></p>
|
|
||||||
|
|
||||||
<p><span><b style="font-weight: bold;">Arguments</span>: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
|
|
||||||
+ </font></span>2 values (Dimensions at origin: radius and height).</p>
|
|
||||||
|
|
||||||
<p class="whs5"> <img src="pics/cylinder2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><img src="pics/cylinders.png" x-maintain-ratio="TRUE" width="287px" height="272px" border="0" class="img_whs7"></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
||||||
of creation of <a href="primitives.htm#bookmark1">Primitives</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,101 +0,0 @@
|
|||||||
BODY {
|
|
||||||
background-color:#ffffff;
|
|
||||||
font-family:"Times New Roman" , serif; }
|
|
||||||
H1 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:24.0pt; }
|
|
||||||
LI.kadov-H1 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:24.0pt; }
|
|
||||||
H2 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:18.0pt; }
|
|
||||||
LI.kadov-H2 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:18.0pt; }
|
|
||||||
H3 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:14.0pt; }
|
|
||||||
LI.kadov-H3 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:14.0pt; }
|
|
||||||
H4 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:12.0pt; }
|
|
||||||
LI.kadov-H4 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:12.0pt; }
|
|
||||||
H5 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:10.0pt; }
|
|
||||||
LI.kadov-H5 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:10.0pt; }
|
|
||||||
H6 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:8.0pt; }
|
|
||||||
LI.kadov-H6 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:8.0pt; }
|
|
||||||
P {
|
|
||||||
font-size:12.0pt;
|
|
||||||
margin-top:0pt;
|
|
||||||
margin-bottom:0pt; }
|
|
||||||
LI.kadov-P {
|
|
||||||
font-size:12.0pt; }
|
|
||||||
A.expandspot {
|
|
||||||
color:#008000;
|
|
||||||
cursor:hand;
|
|
||||||
font-style:italic;
|
|
||||||
x-text-underline:off;
|
|
||||||
x-text-overline:off;
|
|
||||||
x-text-line-through:off;
|
|
||||||
text-decoration:none none none; }
|
|
||||||
SPAN.expandtext {
|
|
||||||
font-style:italic;
|
|
||||||
font-weight:normal;
|
|
||||||
color:#ff0000; }
|
|
||||||
A.dropspot {
|
|
||||||
cursor:hand;
|
|
||||||
color:#008000;
|
|
||||||
font-style:italic;
|
|
||||||
x-text-underline:off;
|
|
||||||
x-text-overline:off;
|
|
||||||
x-text-line-through:off;
|
|
||||||
text-decoration:none none none; }
|
|
||||||
A.glossterm {
|
|
||||||
color:#800000;
|
|
||||||
cursor:hand;
|
|
||||||
font-style:italic;
|
|
||||||
x-text-underline:off;
|
|
||||||
x-text-overline:off;
|
|
||||||
x-text-line-through:off;
|
|
||||||
text-decoration:none none none; }
|
|
||||||
SPAN.glosstext {
|
|
||||||
font-style:italic;
|
|
||||||
font-weight:normal;
|
|
||||||
color:#0000ff; }
|
|
||||||
OL {
|
|
||||||
margin-top:0px;
|
|
||||||
margin-bottom:0px; }
|
|
||||||
UL {
|
|
||||||
margin-top:0px;
|
|
||||||
margin-bottom:0px; }
|
|
||||||
A:active { }
|
|
||||||
A:hover {
|
|
||||||
x-text-underline:Off;
|
|
||||||
text-decoration:none; }
|
|
||||||
A:link {
|
|
||||||
x-text-underline:Off;
|
|
||||||
text-decoration:none; }
|
|
||||||
A:visited {
|
|
||||||
x-text-underline:Off;
|
|
||||||
text-decoration:none; }
|
|
||||||
P.TODO {
|
|
||||||
font-weight:normal;
|
|
||||||
font-style:italic;
|
|
||||||
font-family:"Arial Black" , sans-serif; }
|
|
||||||
LI.kadov-P-CTODO {
|
|
||||||
font-weight:normal;
|
|
||||||
font-style:italic;
|
|
||||||
font-family:"Arial Black" , sans-serif; }
|
|
@ -1,118 +0,0 @@
|
|||||||
BODY {
|
|
||||||
background-color:#ffffff;
|
|
||||||
font-family:"Times New Roman" , serif; }
|
|
||||||
H1 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:24.0pt;
|
|
||||||
font-family:"Times New Roman" , serif; }
|
|
||||||
LI.kadov-H1 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:24.0pt; }
|
|
||||||
H2 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:18.0pt;
|
|
||||||
font-family:"Times New Roman" , serif; }
|
|
||||||
LI.kadov-H2 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:18.0pt; }
|
|
||||||
H3 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:14.0pt;
|
|
||||||
font-family:"Times New Roman" , serif; }
|
|
||||||
LI.kadov-H3 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:14.0pt; }
|
|
||||||
H4 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:12.0pt;
|
|
||||||
font-family:"Times New Roman" , serif; }
|
|
||||||
LI.kadov-H4 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:12.0pt; }
|
|
||||||
H5 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:10.0pt;
|
|
||||||
font-family:"Times New Roman" , serif; }
|
|
||||||
LI.kadov-H5 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:10.0pt; }
|
|
||||||
H6 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:8.0pt;
|
|
||||||
font-family:"Times New Roman" , serif; }
|
|
||||||
LI.kadov-H6 {
|
|
||||||
font-weight:bold;
|
|
||||||
font-size:8.0pt; }
|
|
||||||
P {
|
|
||||||
font-size:12.0pt;
|
|
||||||
margin-top:1pt;
|
|
||||||
margin-bottom:1pt;
|
|
||||||
font-family:"Times New Roman" , serif; }
|
|
||||||
LI.kadov-P {
|
|
||||||
font-size:12.0pt; }
|
|
||||||
A.expandspot {
|
|
||||||
color:#008000;
|
|
||||||
cursor:hand;
|
|
||||||
font-style:italic;
|
|
||||||
x-text-underline:off;
|
|
||||||
x-text-overline:off;
|
|
||||||
x-text-line-through:off;
|
|
||||||
text-decoration:none none none; }
|
|
||||||
SPAN.expandtext {
|
|
||||||
font-style:italic;
|
|
||||||
font-weight:normal;
|
|
||||||
color:#ff0000; }
|
|
||||||
A.dropspot {
|
|
||||||
cursor:hand;
|
|
||||||
color:#008000;
|
|
||||||
font-style:italic;
|
|
||||||
x-text-underline:off;
|
|
||||||
x-text-overline:off;
|
|
||||||
x-text-line-through:off;
|
|
||||||
text-decoration:none none none; }
|
|
||||||
A.glossterm {
|
|
||||||
color:#800000;
|
|
||||||
cursor:hand;
|
|
||||||
font-style:italic;
|
|
||||||
x-text-underline:off;
|
|
||||||
x-text-overline:off;
|
|
||||||
x-text-line-through:off;
|
|
||||||
text-decoration:none none none; }
|
|
||||||
SPAN.glosstext {
|
|
||||||
font-style:italic;
|
|
||||||
font-weight:normal;
|
|
||||||
color:#0000ff; }
|
|
||||||
OL {
|
|
||||||
margin-top:0px;
|
|
||||||
margin-bottom:0px;
|
|
||||||
font-family:"Times New Roman" , serif; }
|
|
||||||
UL {
|
|
||||||
margin-top:0px;
|
|
||||||
margin-bottom:0px;
|
|
||||||
font-family:"Times New Roman" , serif; }
|
|
||||||
A:active { }
|
|
||||||
A:hover {
|
|
||||||
x-text-underline:Off;
|
|
||||||
text-decoration:none; }
|
|
||||||
A:link {
|
|
||||||
x-text-underline:Off;
|
|
||||||
text-decoration:none; }
|
|
||||||
A:visited {
|
|
||||||
x-text-underline:Off;
|
|
||||||
text-decoration:none; }
|
|
||||||
P.TODO {
|
|
||||||
font-weight:normal;
|
|
||||||
font-style:italic;
|
|
||||||
font-family:"Arial Black" , sans-serif; }
|
|
||||||
LI.kadov-P-CTODO {
|
|
||||||
font-weight:normal;
|
|
||||||
font-style:italic;
|
|
||||||
font-family:"Arial Black" , sans-serif; }
|
|
||||||
ol ol {
|
|
||||||
margin-top:1px; }
|
|
||||||
ol ul {
|
|
||||||
margin-top:1px; }
|
|
||||||
ul ul {
|
|
||||||
margin-top:1px; }
|
|
||||||
ul ol {
|
|
||||||
margin-top:1px; }
|
|
@ -1,130 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Edge</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
|
||||||
img_whs5 { border:none; width:195px; height:202px; float:none; border-style:none; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nEdge");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Edge</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b><span style="font-weight: normal;">T</b>o</span>
|
|
||||||
create an <span style="font-weight: bold;"><B>Edge</B></span> in the <span style="font-weight: bold;"><B>Main
|
|
||||||
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
|
|
||||||
Build - > Edge</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">You can create an <span style="font-weight: bold;"><B>Edge</B></span>
|
|
||||||
from two points (<span style="font-weight: bold;"><B>Point1</B></span> and <span
|
|
||||||
style="font-weight: bold;"><B>Point2</B></span>), being the first and the last
|
|
||||||
vertices of the edge.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;"> will
|
|
||||||
be a</span></b> GEOM_Object (EDGE).</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeEdge(Vertex1, Vertex2)</I></span>,
|
|
||||||
where Vertex1 and Vertex2 are correspondingly the first and the last vertex
|
|
||||||
of the edge.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 2 vertices.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="pics/neo-obj2.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="pics/edgesn.png" x-maintain-ratio="TRUE" width="195px" height="202px" border="0" class="img_whs5"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
||||||
of creation of <a href="geometrical_objects.htm#bookmark">Advanced Geometric
|
|
||||||
Objects</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE SYSTEM "ehelpopt.dtd">
|
|
||||||
<FILE-OPTIONS FILE-VERSION="2" FILE-KEY="a306ebd6_4870_4c36_a066_58c07171acf6">
|
|
||||||
</FILE-OPTIONS>
|
|
||||||
<EHELP-OPTIONS FORMAT-VERSION="1.0">
|
|
||||||
<OPTIONS ENABLED="NO" EMBEDDED="YES" MAIN-WINDOW-ONLY="NO" COMMUNITY-NOTIFY="NO" FIRST-PAGE="NOT-SET">
|
|
||||||
</OPTIONS>
|
|
||||||
<BUTTON-LABEL>WebSearch
|
|
||||||
</BUTTON-LABEL>
|
|
||||||
</EHELP-OPTIONS>
|
|
@ -1,148 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Ellipse</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }
|
|
||||||
p.whs5 { font-size:12pt; font-weight:bold; margin-left:0px; }
|
|
||||||
p.whs6 { font-size:12pt; color:#000000; }
|
|
||||||
p.whs7 { color:#808080; font-size:12pt; }
|
|
||||||
p.whs8 { color:#808080; font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs9 { border:none; width:354px; height:323px; float:none; 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.whs5 {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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nEllipse");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif" width="20px" height="20px" border="0" class="img_whs1"></font></span></b>Ellipse</h1>
|
|
||||||
|
|
||||||
<p><b><span style="font-weight: normal;">T</span></b>o create an <span
|
|
||||||
style="font-weight: bold;"><B>Ellipse</B></span> in the <span style="font-weight: bold;"><B>Main
|
|
||||||
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
|
|
||||||
Basic - > Ellipse</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">You
|
|
||||||
can define an</span> Ellipse <span style="font-weight: normal;">by its</span>
|
|
||||||
Center Point, <span style="font-weight: normal;">a</span> Vector <span
|
|
||||||
style="font-weight: normal;">giving its normal, and its</span> Major &
|
|
||||||
Minor Radiuses.</b></p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">of the operation will be a</span></b><b>
|
|
||||||
GEOM_Object (edge).</b></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><span
|
|
||||||
style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor,
|
|
||||||
RadiusMinor)</I></span>, </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 vertex (for the center) + 1 edge (for the direction) + 1 X Radius
|
|
||||||
+ 1 Y Radius.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="pics/ellipse.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="pics/ellipsesn.png" x-maintain-ratio="TRUE" width="354px" height="323px" border="0" class="img_whs9"></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
|
|
||||||
provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark3">Basic
|
|
||||||
Geometric Objects</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,180 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Explode</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { margin-left:0px; }
|
|
||||||
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }
|
|
||||||
p.whs4 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
|
||||||
p.whs5 { font-size:12pt; }
|
|
||||||
ul.whs6 { list-style:disc; }
|
|
||||||
p.whs7 { font-size:12pt; font-style:italic; }
|
|
||||||
p.whs8 { font-size:12pt; font-style:normal; }
|
|
||||||
p.whs9 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs10 { border:none; width:312px; height:283px; float:none; 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.whs2 {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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nExplode");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Explode</h1>
|
|
||||||
|
|
||||||
<p class="whs2">To<span style="font-weight: bold;"><B> Explode</B></span>
|
|
||||||
an object into subshapes, in the main menu select <span style="font-weight: bold;"><B>New
|
|
||||||
Entity > Explode</B></span>.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><span
|
|
||||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">To create a list of subshapes
|
|
||||||
(vertices, edges, wires etc.) of the given shape using the </font></span><span
|
|
||||||
style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Explode</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
|
|
||||||
operation, you need to define the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Main
|
|
||||||
Object,</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> which will be exploded and
|
|
||||||
the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Type of Subshapes</B></font></span><span
|
|
||||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> you wish to obtain from it</font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">.</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">of the operation will be a List</span>
|
|
||||||
of</b> GEOM_Objects (edges, faces, solids or compsolids).</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">Using</span>
|
|
||||||
TUI Commands<span style="font-weight: normal;"> you can perform this operation
|
|
||||||
in a variety of ways:</span> </b></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs6">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAll(Shape,
|
|
||||||
Type)</I></span> explodes a Shape on subshapes of a given Type and returns
|
|
||||||
a <span style="font-weight: bold;"><B>List</B></span> of sub-shapes. </p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllIDs(Shape,
|
|
||||||
Type)</I></span> explodes
|
|
||||||
a Shape on subshapes of a given Type and returns a List of IDs of sub-shapes.
|
|
||||||
</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllSorted(Shape,
|
|
||||||
Type)</I></span> explodes
|
|
||||||
a shape on subshapes of a given type and <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">sorts
|
|
||||||
them by coordinates of their gravity centers, returning a
|
|
||||||
list of sub-shapes. </font></span></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs7">geompy.SubShapeAllSortedIDs(Shape,
|
|
||||||
Type) <span style="font-style: normal;">explodes
|
|
||||||
a shape on subshapes of a given type</span> <span style="font-style: normal;">and
|
|
||||||
sorts them by coordinates of their gravity centers, returning
|
|
||||||
a List of IDs of sub-shapes.</span></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs7"><span
|
|
||||||
style="font-style: normal;">g</span>eompy.SubShape(Shape, Type, ListOfInd)
|
|
||||||
<span style="font-style: normal;">allows
|
|
||||||
to obtain a compound of sub-shapes of the
|
|
||||||
Shape, selected
|
|
||||||
by they indices in a list of all sub-shapes of the given Type. Each index
|
|
||||||
is in the range [1, Nb_Sub-Shapes_Of_Given_Type].</span> </p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs8"><span
|
|
||||||
style="font-size: 12pt; font-style: normal;"><font size=3 style="font-size:12pt;">geompy.SubShapeSorted(Shape,
|
|
||||||
Type, ListOfInd) allows to obtain a compound of sub-shapes of the Shape,
|
|
||||||
selected by they indices in sorted list of all sub-shapes of the given
|
|
||||||
Type. Each index is in the range [1, Nb_Sub-Shapes_Of_Given_Type] </font></span></p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 SHAPE + 1 type of SubShape.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><img src="pics/neo-obj1.png" x-maintain-ratio="TRUE" width="312px" height="283px" border="0" class="img_whs10"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,163 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Explode on Blocks</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:23px; height:22px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs4 { border:none; width:312px; height:372px; float:none; border-style:none; }
|
|
||||||
p.whs5 { font-size:12pt; margin-left:0px; }
|
|
||||||
p.whs6 { font-size:12pt; margin-left:0px; font-weight:bold; }
|
|
||||||
p.whs7 { margin-left:40px; font-size:12pt; }
|
|
||||||
img_whs8 { border:none; width:316px; height:278px; float:none; border-style:none; }
|
|
||||||
p.whs9 { font-size:12pt; margin-left:36px; text-indent:-36px; }
|
|
||||||
p.whs10 { font-size:12pt; text-indent:-36px; margin-left:40px; font-weight:bold; }
|
|
||||||
p.whs11 { font-weight:bold; }
|
|
||||||
-->
|
|
||||||
</style><script type="text/javascript" language="JavaScript">
|
|
||||||
<!--
|
|
||||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
|
||||||
{
|
|
||||||
var strNSS = "<style type='text/css'>";
|
|
||||||
strNSS += "p.whs5 {margin-left:1pt; }";
|
|
||||||
strNSS += "p.whs6 {margin-left:1pt; }";
|
|
||||||
strNSS += "p.whs9 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs10 {text-indent: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBlocks Operations\nExplode on Blocks");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><img src="image53.gif" width="23px" height="22px" border="0" class="img_whs1"> Explode on Blocks</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
|
||||||
an <span style="font-weight: bold;"><B>Explode on Blocks</B></span> operation
|
|
||||||
in the Main Menu select <span style="font-weight: bold;"><B>Operations -
|
|
||||||
> Blocks - > Explode on Blocks.</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">This operation</b>
|
|
||||||
returns blocks of the given compound. The user may define the type blocks
|
|
||||||
to be extracted by setting the minimum and maximum number of faces in
|
|
||||||
the target block. By checking the corresponding box the user may also
|
|
||||||
interactively choose the blocks from a compound .</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeBlockExplode(Compound,
|
|
||||||
MinNbFaces, MaxNbFaces)</I></span>, where Compound is a compound to be exploded
|
|
||||||
into the blocks, MinNbFaces, MaxNbFaces are correspondingly the minimal
|
|
||||||
and the
|
|
||||||
maximal number of faces of the resulting blocks.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments: <span
|
|
||||||
style="font-weight: normal;">1 compound + 1 integer (min. and max. number
|
|
||||||
of faces in the block to be extracted).</span></b></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="pics/mtransf3.png" x-maintain-ratio="TRUE" width="312px" height="372px" border="0" class="img_whs4"></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs6">Example:</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="pics/block_explodesn.png" x-maintain-ratio="TRUE" width="316px" height="278px" border="0" class="img_whs8"></p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs10"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"> <span
|
|
||||||
style="font-weight: normal;">Our</span> TUI
|
|
||||||
Scripts <span style="font-weight: normal;">provide you with useful examples
|
|
||||||
of the use of</span> <a href="blocks_operations.htm#bookmark5">Blocks
|
|
||||||
Operations</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,169 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Extrusion</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
img_whs3 { border:none; width:312px; height:350px; float:none; border-style:none; }
|
|
||||||
p.whs4 { font-size:12pt; font-weight:bold; }
|
|
||||||
p.whs5 { font-size:12pt; margin-left:40px; }
|
|
||||||
p.whs6 { font-size:12pt; font-style:italic; }
|
|
||||||
p.whs7 { font-size:12pt; margin-left:0px; }
|
|
||||||
img_whs8 { border:none; float:none; width:300px; height:178px; border-style:none; }
|
|
||||||
img_whs9 { border:none; width:350px; height:179px; float:none; 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.whs7 {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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nGeneration of Complex Objects\nExtrusion");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Extrusion</h1>
|
|
||||||
|
|
||||||
<p><b><span style="font-weight: normal;">T</b>o</span> generate an <span
|
|
||||||
style="font-weight: bold;"><B>Extrusion</B></span> on an object in the <span
|
|
||||||
style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
|
|
||||||
Entity - > Generation -
|
|
||||||
> Extrusion</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">To create an Extrusion (Prism) you should define
|
|
||||||
the <span style="font-weight: bold;"><B>Base Shape </B></span>(a basis of the
|
|
||||||
extrusion)<span style="font-weight: bold;"><B>, </B></span>the <span style="font-weight: bold;"><B>Vector</B></span>
|
|
||||||
(a normal of the extrusion) and the <span style="font-weight: bold;"><B>Height</B></span>
|
|
||||||
of extrusion. </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">of the operation will be a</span></b>
|
|
||||||
GEOM_Object (edge, face, solid or compsolid).</p>
|
|
||||||
|
|
||||||
<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI
|
|
||||||
Command :</b><i> </i></B></span><span style="font-style: italic;"><I>geompy.MakePrismVecH(Base,
|
|
||||||
Vector, Height)</I></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-style: italic;"><I><b
|
|
||||||
style="font-weight: bold;">A</I></span>rguments:</b> Name + 1 shape (vertex,
|
|
||||||
edge, wire, face or shell) serving as base object + 1 vector (for direction)
|
|
||||||
+ 1 value (dimension).</font></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><img src="pics/extrusion.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs3"></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs4">NB! <span style="font-weight: normal;">The
|
|
||||||
is another way to create an</span> Extrusion, <span style="font-weight: normal;">which
|
|
||||||
is currently accessible only via</span> TUI commands.</p>
|
|
||||||
|
|
||||||
<p class="whs4"><span style="font-weight: normal;">You
|
|
||||||
can define the</span> Extrusion <span style="font-weight: normal;">by
|
|
||||||
the </span>Base Shape<span style="font-weight: normal;"> and the </span>Start<span
|
|
||||||
style="font-weight: normal;"> and </span>End Point<span style="font-weight: normal;">
|
|
||||||
of the </span>Vector<span style="font-weight: normal;"> (in
|
|
||||||
this way you don't need to create it in advance).</span> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI
|
|
||||||
Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakePrism(Base,
|
|
||||||
Point1, Point2) </I></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Examples:</b></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs6">Base Shape Prisms</p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="pics/prisms_basessn.png" x-maintain-ratio="TRUE" width="300px" height="178px" border="0" class="img_whs8"> <img src="pics/prismssn.png" x-maintain-ratio="TRUE" width="350px" height="179px" border="0" class="img_whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
|
|
||||||
provide you with useful examples of creation of <a href="complex_objects.htm#bookmark">Complex
|
|
||||||
Geometric Objects</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,151 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Face</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }
|
|
||||||
p.whs5 { font-size:12pt; font-style:italic; }
|
|
||||||
img_whs6 { border:none; width:180px; height:182px; float:none; border-style:none; }
|
|
||||||
img_whs7 { border:none; width:179px; height:182px; float:none; border-style:none; }
|
|
||||||
img_whs8 { border:none; float:none; width:181px; height:182px; border-style:none; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nFace");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Face</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o create
|
|
||||||
a <span style="font-weight: bold;"><B>Face</B></span> in the Main Menu select
|
|
||||||
<span style="font-weight: bold;"><B>New Entity - > Build - > Face</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">To
|
|
||||||
create a </span><span style="font-weight: bold;"><B>Face</B></span><span style="font-weight: normal;">
|
|
||||||
you need to select a wire, whose elements will be connected so that the
|
|
||||||
surface of the resulting object was minimal. Check </span><span style="font-weight: bold;"><B>Try
|
|
||||||
to create a planar face</B></span><span style="font-weight: normal;"> to create
|
|
||||||
a planar face or nothing if it is impossible.</span></b></p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result<span style="font-weight: normal;"> will be a</span></b> GEOM_Object
|
|
||||||
(FACE).</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeFace(Wire, isPlanarWanted</I></span>)</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 wire.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="pics/neo-obj4.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><span style="font-weight: bold;"><B>TUI commands</B></span>
|
|
||||||
give you some advanced possibilities.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaceWires(Wires,
|
|
||||||
isPlanarWanted)</I></span> - Creates a face on the given wires set. The argument
|
|
||||||
is not a single wire, but a list of wires. </p>
|
|
||||||
|
|
||||||
<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaces(Wires,
|
|
||||||
isPlanarWanted)</I></span> is a shortcut to <span style="font-style: italic;"><I>MakeFaceWires().
|
|
||||||
</I></span></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="pics/facesn1.png" x-maintain-ratio="TRUE" width="180px" height="182px" border="0" class="img_whs6"> <img src="pics/facesn2.png" x-maintain-ratio="TRUE" width="179px" height="182px" border="0" class="img_whs7"> <img src="pics/facesn3.png" x-maintain-ratio="TRUE" width="181px" height="182px" border="0" class="img_whs8"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
||||||
of creation of <a href="geometrical_objects.htm#bookmark1">Advanced Geometric
|
|
||||||
Objects</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,138 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Introduction to GEOM</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-style:none; border:none; width:30px; height:30px; float:none; }
|
|
||||||
ul.whs2 { list-style:disc; }
|
|
||||||
table.whs3 { x-cell-content-align:top; width:100%; border-spacing:0px; }
|
|
||||||
col.whs4 { width:50%; }
|
|
||||||
tr.whs5 { x-cell-content-align:top; }
|
|
||||||
td.whs6 { width:50%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
|
||||||
ul.whs7 { list-style:circle; }
|
|
||||||
td.whs8 { width:50%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
|
||||||
img_whs9 { border-style:none; border:none; width:400px; height:292px; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nIntroduction to GEOM");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("../geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Introduction to GEOM</h1>
|
|
||||||
|
|
||||||
<p><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"><span style="font-weight: bold;"><B>GEOM </B></span>module of
|
|
||||||
SALOME is destined for: </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs2">
|
|
||||||
|
|
||||||
<li class=kadov-p><p>Import and export of geometrical models in IGES,
|
|
||||||
BREP and STEP formats.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p>Construction and optimization of geometrical models
|
|
||||||
using a wide range of CAD
|
|
||||||
functions:</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<table x-use-null-cells cellspacing="0" width="100%" class="whs3">
|
|
||||||
<col class="whs4">
|
|
||||||
<col class="whs4">
|
|
||||||
|
|
||||||
<tr valign="top" class="whs5">
|
|
||||||
<td width="50%" class="whs6">
|
|
||||||
<ul type="circle" class="whs7">
|
|
||||||
|
|
||||||
<li class=kadov-p><p>Creation of basic geometrical objects</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p>Construction of primitives</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p>Building shapes</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p>Generation of complex shapes</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p>Geometrical repairing of objects</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p>Geometrical boolean operations</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p>Geometrical transformations</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p>Generation of complex objects</p></li>
|
|
||||||
</ul>
|
|
||||||
<p> </td>
|
|
||||||
<td width="50%" class="whs8">
|
|
||||||
<p><img src="../image3.jpg" width="400px" height="292px" border="0" class="img_whs9"></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,885 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Titre</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>
|
|
||||||
<!--
|
|
||||||
A:link { color:#0000ff; }
|
|
||||||
-->
|
|
||||||
</style><style type="text/css">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
|
||||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
|
||||||
ul.whs3 { list-style:disc; }
|
|
||||||
p.whs4 { font-size:12pt; }
|
|
||||||
p.whs5 { margin-left:40px; }
|
|
||||||
p.whs6 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
|
||||||
img_whs7 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs8 { font-size:12pt; margin-left:120px; }
|
|
||||||
p.whs9 { font-size:12pt; font-style:italic; margin-left:120px; }
|
|
||||||
table.whs10 { x-cell-content-align:top; width:65.051%; border-spacing:0px; }
|
|
||||||
col.whs11 { width:39.418%; }
|
|
||||||
col.whs12 { width:28.296%; }
|
|
||||||
col.whs13 { width:32.286%; }
|
|
||||||
tr.whs14 { x-cell-content-align:top; }
|
|
||||||
td.whs15 { width:39.418%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
|
||||||
img_whs16 { border:none; width:312px; height:332px; float:none; border-style:none; }
|
|
||||||
td.whs17 { width:28.296%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
|
|
||||||
p.whs18 { font-size:12pt; margin-right:0px; }
|
|
||||||
img_whs19 { border:none; width:312px; height:473px; float:none; border-style:none; }
|
|
||||||
td.whs20 { width:32.286%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
|
||||||
img_whs21 { border:none; width:312px; height:421px; float:none; border-style:none; }
|
|
||||||
p.whs22 { font-size:12pt; margin-left:40px; }
|
|
||||||
p.whs23 { color:#808080; font-size:12pt; }
|
|
||||||
p.whs24 { font-size:12pt; color:#000000; }
|
|
||||||
p.whs25 { color:#808080; font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs26 { border:none; width:150px; height:140px; border-style:none; }
|
|
||||||
img_whs27 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
|
||||||
img_whs28 { border:none; width:150px; height:139px; border-style:none; }
|
|
||||||
table.whs29 { x-cell-content-align:top; width:50.278%; border-spacing:0px; }
|
|
||||||
col.whs30 { width:49.724%; }
|
|
||||||
col.whs31 { width:50.276%; }
|
|
||||||
td.whs32 { width:49.724%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
|
||||||
img_whs33 { border:none; width:312px; height:346px; float:none; border-style:none; }
|
|
||||||
td.whs34 { width:50.276%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
|
||||||
img_whs35 { border:none; width:312px; height:359px; float:none; border-style:none; }
|
|
||||||
img_whs36 { border:none; width:150px; height:129px; border-style:none; }
|
|
||||||
img_whs37 { border:none; width:312px; height:376px; float:none; border-style:none; }
|
|
||||||
p.whs38 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
|
||||||
img_whs39 { border:none; width:150px; height:154px; border-style:none; }
|
|
||||||
img_whs40 { border:none; width:150px; height:123px; border-style:none; }
|
|
||||||
p.whs41 { font-size:14pt; }
|
|
||||||
img_whs42 { border:none; width:20px; height:20px; border-style:none; }
|
|
||||||
img_whs43 { border:none; width:312px; height:289px; float:none; border-style:none; }
|
|
||||||
p.whs44 { font-size:12pt; font-weight:bold; }
|
|
||||||
p.whs45 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; }
|
|
||||||
img_whs46 { border:none; width:200px; height:181px; float:none; border-style:none; }
|
|
||||||
img_whs47 { border:none; width:175px; height:181px; border-style:none; }
|
|
||||||
img_whs48 { border:none; width:203px; height:181px; border-style:none; }
|
|
||||||
p.whs49 { font-size:12pt; margin-left:0px; }
|
|
||||||
img_whs50 { border:none; width:312px; height:358px; float:none; border-style:none; }
|
|
||||||
img_whs51 { border:none; width:150px; height:128px; border-style:none; }
|
|
||||||
table.whs52 { x-cell-content-align:top; width:72.604%; border-spacing:0px; }
|
|
||||||
col.whs53 { width:32.089%; }
|
|
||||||
col.whs54 { width:32.008%; }
|
|
||||||
col.whs55 { width:35.903%; }
|
|
||||||
td.whs56 { width:32.089%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
|
||||||
td.whs57 { width:32.008%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
|
|
||||||
img_whs58 { border:none; width:312px; height:385px; float:none; border-style:none; }
|
|
||||||
td.whs59 { width:35.903%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
|
||||||
p.whs60 { font-size:12pt; font-weight:bold; color:#000000; }
|
|
||||||
img_whs61 { border:none; width:150px; height:131px; border-style:none; }
|
|
||||||
table.whs62 { x-cell-content-align:top; width:81.596%; border-spacing:0px; }
|
|
||||||
col.whs63 { width:33.942%; }
|
|
||||||
col.whs64 { width:33.812%; }
|
|
||||||
col.whs65 { width:32.246%; }
|
|
||||||
td.whs66 { width:33.942%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
|
||||||
img_whs67 { border:none; width:312px; height:231px; float:none; border-style:none; }
|
|
||||||
td.whs68 { width:33.812%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
|
|
||||||
img_whs69 { border:none; width:312px; height:266px; float:none; border-style:none; }
|
|
||||||
td.whs70 { width:32.246%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
|
||||||
img_whs71 { border:none; width:312px; height:274px; float:none; border-style:none; }
|
|
||||||
p.whs72 { font-size:12pt; margin-left:40px; font-weight:bold; text-indent:-40px; }
|
|
||||||
img_whs73 { border:none; width:16px; height:16px; border-style:none; }
|
|
||||||
table.whs74 { x-cell-content-align:top; width:63.512%; border-spacing:0px; }
|
|
||||||
col.whs75 { width:49.962%; }
|
|
||||||
col.whs76 { width:45.348%; }
|
|
||||||
col.whs77 { width:4.69%; }
|
|
||||||
td.whs78 { width:49.962%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
|
||||||
p.whs79 { font-weight:bold; font-size:14pt; }
|
|
||||||
img_whs80 { border:none; width:312px; height:391px; float:none; border-style:none; }
|
|
||||||
td.whs81 { width:45.348%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
|
|
||||||
td.whs82 { width:4.69%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
|
||||||
p.whs83 { margin-left:40px; font-weight:bold; text-indent:-40px; font-size:14pt; }
|
|
||||||
p.whs84 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }
|
|
||||||
p.whs85 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }
|
|
||||||
p.whs86 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }
|
|
||||||
img_whs87 { border:none; width:200px; height:219px; 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.whs18 {margin-right:1pt; }";
|
|
||||||
strNSS += "p.whs49 {margin-left:1pt; }";
|
|
||||||
strNSS += "p.whs72 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs83 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs84 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs85 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs86 {text-indent: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("../geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Creating basic geometrical objects<a HREF="#_Toc57604478"><b><span
|
|
||||||
style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">	</font></span></b></a></h1>
|
|
||||||
|
|
||||||
<p class="whs1"><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_whs2"> In GEOM you can </b>create basic geometrical objects (1D
|
|
||||||
& 2D elements) such as:</p>
|
|
||||||
|
|
||||||
<p class="whs1"><a HREF="#_Toc57604479"><b><font><span
|
|
||||||
style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">	</font></span></font></b></a></p>
|
|
||||||
|
|
||||||
<dir>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs3">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a
|
|
||||||
HREF="#_Toc57604480"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
|
||||||
face="Times New Roman"
|
|
||||||
size=4> Point	</font></span></a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a
|
|
||||||
HREF="#_Toc57604481"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
|
||||||
face="Times New Roman"
|
|
||||||
size=4> Line	</font></span></a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a
|
|
||||||
HREF="#_Toc57604482"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
|
||||||
face="Times New Roman"
|
|
||||||
size=4> Circle	</font></span></a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a
|
|
||||||
HREF="#_Toc57604483"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
|
||||||
face="Times New Roman"
|
|
||||||
size=4> Ellipse	</font></span></a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a
|
|
||||||
HREF="#_Toc57604484"> Arc</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> <a
|
|
||||||
href="#_Toc57604488">Curve</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a
|
|
||||||
HREF="#_Toc57604485"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
|
||||||
face="Times New Roman"
|
|
||||||
size=4> Vector	</font></span></a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a
|
|
||||||
HREF="#_Toc57604486"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
|
||||||
face="Times New Roman"
|
|
||||||
size=4> Plane	</font></span></a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a
|
|
||||||
HREF="#_Toc57604487"> Working plane</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> <a
|
|
||||||
href="#_Toc57604489">Local coordinate system</a><a
|
|
||||||
HREF="#_Toc57604487">	</a></p></li>
|
|
||||||
</ul>
|
|
||||||
</dir>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class=TODO>To create basic geometrical objects:</p>
|
|
||||||
|
|
||||||
<p class=TODO> </p>
|
|
||||||
|
|
||||||
<p class="whs5">In the main menu select <span style="font-weight: bold;"><B>New
|
|
||||||
Entity > Basic</B></span>.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p class="whs6"><b style="font-weight: bold;"><a
|
|
||||||
NAME=_Toc57604480><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif" width="20px" height="20px" border="0" class="img_whs7"> Point</font></span></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a point.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(vertex).</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command :</b>
|
|
||||||
<span style="font-style: italic;"><I>g</I></span>eompy.MakeVertex(X,
|
|
||||||
Y, Z) - </p>
|
|
||||||
|
|
||||||
<p class="whs8">geompy.MakeVertexWithRef(Reference,
|
|
||||||
X, Y, Z)</p>
|
|
||||||
|
|
||||||
<p class="whs9">geompy.MakeVertexOnCurve(Edge, Parameter)
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
|
|
||||||
Constructor:</b> Name + X, Y and Z coordinates of the point.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><span style="font-weight: bold;"><B>2nd
|
|
||||||
Constructor: </B></span>Name + 1 reference point + 3 coordinates defining
|
|
||||||
the position of this point regarding the reference one</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
|
|
||||||
Constructor:</b> Name + 1 edge +
|
|
||||||
1 Parameter defining the position of the point on the given edge.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<table x-use-null-cells cellspacing="0" width="65.051%" class="whs10">
|
|
||||||
<col class="whs11">
|
|
||||||
<col class="whs12">
|
|
||||||
<col class="whs13">
|
|
||||||
|
|
||||||
<tr valign="top" class="whs14">
|
|
||||||
<td width="39.418%" class="whs15">
|
|
||||||
<p class="whs4"><img src="../pics/point1.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs16"></td>
|
|
||||||
<td width="28.296%" class="whs17">
|
|
||||||
<p class="whs18"><img src="../pics/neo-point2.png" x-maintain-ratio="TRUE" width="312px" height="473px" border="0" class="img_whs19"></td>
|
|
||||||
<td width="32.286%" class="whs20">
|
|
||||||
<p class="whs4"><img src="../pics/point3.png" x-maintain-ratio="TRUE" width="312px" height="421px" border="0" class="img_whs21"></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs22"> </p>
|
|
||||||
|
|
||||||
<p class="whs23"> </p>
|
|
||||||
|
|
||||||
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs23"> </p>
|
|
||||||
|
|
||||||
<p class="whs25"><img src="../image16.gif" width="150px" height="140px" border="0" class="img_whs26"></p>
|
|
||||||
|
|
||||||
<p class="whs25"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><b style="font-weight: bold;"><a
|
|
||||||
NAME=_Toc57604481><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif" width="20px" height="20px" border="0" class="img_whs7"> Line</font></span></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a line.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(edge).</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
|
|
||||||
<span style="font-style: italic;"><I>geompy.MakeLine(Point1, Point2)</I></span>,
|
|
||||||
where Point1 and Point2 are points through which
|
|
||||||
the line passes.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 2 vertices.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs22"><img src="../pics/line.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs27"></p>
|
|
||||||
|
|
||||||
<p class="whs23"> </p>
|
|
||||||
|
|
||||||
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs23"> </p>
|
|
||||||
|
|
||||||
<p class="whs25"><img src="../image67.jpg" width="150px" height="139px" border="0" class="img_whs28"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><b style="font-weight: bold;"><a
|
|
||||||
NAME=_Toc57604482><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif" width="20px" height="20px" border="0" class="img_whs7"> Circle</font></span></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a circle.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(edge).</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
|
|
||||||
<span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span>,
|
|
||||||
where Point defines the center of the circle, Vector gives the circle’s
|
|
||||||
normal and Radius is the circle’s radius.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
|
|
||||||
Constructor:</b> Name + 1 vertex (for the center) + 1 edge (for the direction)
|
|
||||||
+ Radius.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><span style="font-weight: bold;"><B>2nd
|
|
||||||
Constructor: </B></span>Name + 3 points which will form the circle.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<table x-use-null-cells cellspacing="0" width="50.278%" class="whs29">
|
|
||||||
<col class="whs30">
|
|
||||||
<col class="whs31">
|
|
||||||
|
|
||||||
<tr valign="top" class="whs14">
|
|
||||||
<td width="49.724%" class="whs32">
|
|
||||||
<p class="whs4"><img src="../pics/circle1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs33"></td>
|
|
||||||
<td width="50.276%" class="whs34">
|
|
||||||
<p class="whs4"><img src="../pics/circle2.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs35"></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs22"> </p>
|
|
||||||
|
|
||||||
<p class="whs22"> </p>
|
|
||||||
|
|
||||||
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs23"> </p>
|
|
||||||
|
|
||||||
<p class="whs25"><img src="../image17.gif" width="150px" height="129px" border="0" class="img_whs36"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><b style="font-weight: bold;"><a
|
|
||||||
NAME=_Toc57604483><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif" width="20px" height="20px" border="0" class="img_whs7"> Ellipse</font></span></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates an ellipse.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(edge).</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><span
|
|
||||||
style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor,
|
|
||||||
RadiusMinor)</I></span>, where Point defines the center of the ellipse, Vector
|
|
||||||
gives the ellipse’s normal, RadiusMajor and RadiusMinor are
|
|
||||||
correspondingly a major and minor radiuses of the ellipse.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 vertex (for the center) + 1 edge (for the direction) + 1 X Radius
|
|
||||||
+ 1 Y Radius.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs22"><img src="../pics/ellipse.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs37"></p>
|
|
||||||
|
|
||||||
<p class="whs38"> </p>
|
|
||||||
|
|
||||||
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs23"> </p>
|
|
||||||
|
|
||||||
<p class="whs25"><img src="../image19.gif" width="150px" height="154px" border="0" class="img_whs39"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><b style="font-weight: bold;"><a
|
|
||||||
NAME=_Toc57604484><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif" width="20px" height="20px" border="0" class="img_whs7"> Arc</font></span></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates an arc.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(edge).</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
|
|
||||||
<span style="font-style: italic;"><I>geompy.MakeArc(Point1, Point2, Point3)</I></span>,
|
|
||||||
where Point1 is the starting point of the arc, Point2 is a middle point
|
|
||||||
of the arc and Point3 is the ending point of the arc.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 3 vertices.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs22"><img src="../pics/arc.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs35"></p>
|
|
||||||
|
|
||||||
<p class="whs23"> </p>
|
|
||||||
|
|
||||||
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs23"> </p>
|
|
||||||
|
|
||||||
<p class="whs25"><img src="../image20.gif" width="150px" height="123px" border="0" class="img_whs40"></p>
|
|
||||||
|
|
||||||
<p class="whs25"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs41"><b style="font-weight: bold;"><a NAME=_Toc57604488><img src="../image32.gif" width="20px" height="20px" border="0" class="img_whs42"> Curve</a></b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a curve in 3D space.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b>
|
|
||||||
GEOM_Object (edge).</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs3">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span>,
|
|
||||||
where ListOfShape is a list of points through which the curve passes .</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span>,
|
|
||||||
where ListOfShape is a list of points through which the curve passes .</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span>,
|
|
||||||
where ListOfShape is a list of points through which the curve passes .</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + at least 2 points which will serve as nodes on the curve.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs22"><img src="../pics/curve.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs43"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs44">Example:</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs45">Polyline
|
|
||||||
Bezier
|
|
||||||
B-Spline</p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="../image147.jpg" x-maintain-ratio="TRUE" width="200px" height="181px" border="0" class="img_whs46"> <img src="../image149.jpg" width="175px" height="181px" border="0" class="img_whs47"> <img src="../image150.jpg" width="203px" height="181px" border="0" class="img_whs48"></p>
|
|
||||||
|
|
||||||
<p class="whs22"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><b style="font-weight: bold;"><a
|
|
||||||
NAME=_Toc57604485><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif" width="20px" height="20px" border="0" class="img_whs7"> Vector</font></span></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a vector.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(edge).</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
|
|
||||||
<span style="font-style: italic;"><I>geompy.MakeVector(Point1, Point2)</I></span>,
|
|
||||||
where Point1 is the first point of the vector and the Point2 is the last
|
|
||||||
point of the vector.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments :</b></p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
|
|
||||||
Constructor :</b> Name + 2 vertices.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
|
|
||||||
Constructor :</b> Name + 3 values (Coordinates of the 2nd vertex. The
|
|
||||||
first vertex is in the origin).</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs22"> </p>
|
|
||||||
|
|
||||||
<p class="whs49"> <img src="../pics/vector1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs27"> <img src="../pics/vector2.png" x-maintain-ratio="TRUE" width="312px" height="358px" border="0" class="img_whs50"></p>
|
|
||||||
|
|
||||||
<p class="whs22"> </p>
|
|
||||||
|
|
||||||
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs23"> </p>
|
|
||||||
|
|
||||||
<p class="whs25"><img src="../image21.gif" width="150px" height="128px" border="0" class="img_whs51"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><b style="font-weight: bold;"><a
|
|
||||||
NAME=_Toc57604486><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif" width="20px" height="20px" border="0" class="img_whs7"> Plane</font></span></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a plane.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(face).</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
|
|
||||||
<span style="font-style: italic;"><I>geompy.MakePlane(Point, Vector, TrimSize)</I></span>,
|
|
||||||
where Point is a point through which the
|
|
||||||
plane passes, Vector gives a normal of the plane and TrimSize is a half
|
|
||||||
size of a side of quadrangle face, representing the plane.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
|
|
||||||
Constructor :</b> Name + 1 vertex + 1 vector +
|
|
||||||
1 value (to define the size of the plane).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
|
|
||||||
Constructor :</b> Name + 1 vertex + 3 points (for the direction) + 1 value
|
|
||||||
(to define the size of the plane).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">3rd
|
|
||||||
Constructor :</b> Name + 1 selection + 1 value (to define the size of
|
|
||||||
the plane).</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<table x-use-null-cells cellspacing="0" width="72.604%" class="whs52">
|
|
||||||
<col class="whs53">
|
|
||||||
<col class="whs54">
|
|
||||||
<col class="whs55">
|
|
||||||
|
|
||||||
<tr valign="top" class="whs14">
|
|
||||||
<td width="32.089%" class="whs56">
|
|
||||||
<p class="whs4"><img src="../pics/plane1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs33"></td>
|
|
||||||
<td width="32.008%" class="whs57">
|
|
||||||
<p class="whs4"><img src="../pics/plane2.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs58"></td>
|
|
||||||
<td width="35.903%" class="whs59">
|
|
||||||
<p class="whs4"><img src="../pics/plane3.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs58"></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs60"><b><span style="font-weight: bold;"><B>Example:</B></span></b></p>
|
|
||||||
|
|
||||||
<p class="whs23"> </p>
|
|
||||||
|
|
||||||
<p class="whs25"><img src="../image76.jpg" width="150px" height="131px" border="0" class="img_whs61"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><b style="font-weight: bold;"><a
|
|
||||||
NAME=_Toc57604487><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif" width="20px" height="20px" border="0" class="img_whs7"> Working
|
|
||||||
Plane</font></span></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Sets the working plane (and the camera position).</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs3">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4">Name + 1 selection (face
|
|
||||||
or planar face), </p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4">Name + 2
|
|
||||||
vectors, </p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4">Name + XYZ coordinate
|
|
||||||
system</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<table x-use-null-cells cellspacing="0" width="81.596%" class="whs62">
|
|
||||||
<col class="whs63">
|
|
||||||
<col class="whs64">
|
|
||||||
<col class="whs65">
|
|
||||||
|
|
||||||
<tr valign="top" class="whs14">
|
|
||||||
<td width="33.942%" class="whs66">
|
|
||||||
<p class="whs4"><img src="../pics/workplane4.png" x-maintain-ratio="TRUE" width="312px" height="231px" border="0" class="img_whs67"></td>
|
|
||||||
<td width="33.812%" class="whs68">
|
|
||||||
<p class="whs4"><img src="../pics/workplane5.png" x-maintain-ratio="TRUE" width="312px" height="266px" border="0" class="img_whs69"></td>
|
|
||||||
<td width="32.246%" class="whs70">
|
|
||||||
<p class="whs4"><img src="../pics/workplane6.png" x-maintain-ratio="TRUE" width="312px" height="274px" border="0" class="img_whs71"></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs49"> </p>
|
|
||||||
|
|
||||||
<p class="whs22"> </p>
|
|
||||||
|
|
||||||
<p class="whs38"> </p>
|
|
||||||
|
|
||||||
<p class="whs72"> </p>
|
|
||||||
|
|
||||||
<p class="whs72"><a name=_Toc57604489><img src="../image35.gif" width="16px" height="16px" border="0" class="img_whs73"><span
|
|
||||||
style="font-size: 14pt;"> <font size=4 style="font-size:14pt;"></font></span><b><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Local
|
|
||||||
coordinate system</font></span></b></a></p>
|
|
||||||
|
|
||||||
<p class="whs72"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
The user
|
|
||||||
may manually enter values of X, Y, and Z coordinates of origin in the
|
|
||||||
corresponding fields of the dialog box, or select a point in the object
|
|
||||||
browser or 3D viewer, in this case coordinates of origin are automatically
|
|
||||||
filled in with the coordinates of the selected point. </p>
|
|
||||||
|
|
||||||
<p class="whs4">The user then specifies components of X and
|
|
||||||
Y axes direction.</p>
|
|
||||||
|
|
||||||
<p class="whs4">Preview of the new LCS (small trihedron located
|
|
||||||
and oriented according to parameters of LCS) is displayed in the 3D viewer
|
|
||||||
and updated as soon as the user modifies some parameter. </p>
|
|
||||||
|
|
||||||
<p class="whs4">Then the user presses «OK» or «Apply» button
|
|
||||||
to create an LCS at the location with the specified coordinates. The new
|
|
||||||
object is shown in the Object Browser and in 3D viewer.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><span style="font-weight: bold;"><B>TUI command:</B></span>
|
|
||||||
<span style="font-style: italic;"><I>geompy.MakeMarker(OX, OY, OZ, XDX, XDY,
|
|
||||||
XDZ, YDX, YDY, YDZ)</I></span>, where OX, OY, OZ are coordinates of the origin
|
|
||||||
of LCS, XDX, XDY, XDZ is a vector of OX direction
|
|
||||||
of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
|
|
||||||
Constructor :</b> Name + Coordinates of origin, X axis direction, Y axis
|
|
||||||
direction</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
|
|
||||||
Constructor :</b> Name + reference object.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">3rd
|
|
||||||
Constructor :</b> Name + 1 point of origin + X axis direction, Y axis
|
|
||||||
direction.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4">.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<table x-use-null-cells cellspacing="0" width="63.512%" class="whs74">
|
|
||||||
<col class="whs75">
|
|
||||||
<col class="whs76">
|
|
||||||
<col class="whs77">
|
|
||||||
|
|
||||||
<tr valign="top" class="whs14">
|
|
||||||
<td width="49.962%" class="whs78">
|
|
||||||
<p class="whs79"><img src="../pics/neo-localcs1.png" x-maintain-ratio="TRUE" width="312px" height="391px" border="0" class="img_whs80"></td>
|
|
||||||
<td width="45.348%" class="whs81">
|
|
||||||
<p class="whs79"><img src="../pics/neo-localcs2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs43"></td>
|
|
||||||
<td width="4.69%" class="whs82">
|
|
||||||
<p class="whs79"><img src="../pics/neo-localcs3.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs35"></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p class="whs83"> </p>
|
|
||||||
|
|
||||||
<p class="whs84"><span style="font-weight: bold;
|
|
||||||
margin-left: 80px;
|
|
||||||
text-indent: -80px;
|
|
||||||
font-size: 12pt;"><font size=3 style="font-size:12pt;"><B>Example:</B></font></span></p>
|
|
||||||
|
|
||||||
<p class="whs85"> </p>
|
|
||||||
|
|
||||||
<p class="whs86"><img src="../image145.jpg" width="200px" height="219px" border="0" class="img_whs87"></p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Before Width: | Height: | Size: 880 B |
Before Width: | Height: | Size: 904 B |
Before Width: | Height: | Size: 945 B |
Before Width: | Height: | Size: 932 B |
Before Width: | Height: | Size: 938 B |
Before Width: | Height: | Size: 900 B |
Before Width: | Height: | Size: 918 B |
Before Width: | Height: | Size: 929 B |
@ -1,153 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Titre</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">
|
|
||||||
<!--
|
|
||||||
h1.whs1 { margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
|
||||||
p.whs2 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
|
||||||
p.whs3 { font-size:12pt; font-weight:normal; }
|
|
||||||
img_whs4 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
|
||||||
p.whs5 { text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-size:12pt; }
|
|
||||||
p.whs6 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-weight:normal; }
|
|
||||||
p.whs7 { font-size:12pt; text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:48px; }
|
|
||||||
p.whs8 { margin-left:48px; }
|
|
||||||
p.whs9 { font-size:12pt; }
|
|
||||||
-->
|
|
||||||
</style><script type="text/javascript" language="JavaScript">
|
|
||||||
<!--
|
|
||||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
|
||||||
{
|
|
||||||
var strNSS = "<style type='text/css'>";
|
|
||||||
strNSS += "h1.whs1 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
|
||||||
strNSS += "p.whs2 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
|
||||||
strNSS += "p.whs5 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
|
||||||
strNSS += "p.whs6 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
|
||||||
strNSS += "p.whs7 {margin-right:1pt;margin-top:1pt;margin-bottom: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nUsing boolean operations");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("../geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1 class="whs1">Using boolean operations</h1>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<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
|
|
||||||
(2D & 3D elements) you can use the following boolean operations:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li style="list-style: disc;"
|
|
||||||
type=disc
|
|
||||||
class=kadov-p><p class="whs2"><a href="../fuse.htm">Fuse</a></p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li style="list-style: disc;"
|
|
||||||
type=disc
|
|
||||||
class=kadov-p><p class="whs2"><a href="../common.htm">Common</a></p></li>
|
|
||||||
|
|
||||||
<li style="list-style: disc;"
|
|
||||||
type=disc
|
|
||||||
class=kadov-p><p class="whs5"><a href="../cut.htm">Cut</a></p></li>
|
|
||||||
|
|
||||||
<li style="list-style: disc;"
|
|
||||||
type=disc
|
|
||||||
class=kadov-p><p class="whs2"><a href="../section.htm">Section</a></p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs6">There is a general TUI command covering
|
|
||||||
all these operations, which can be used alongside with separate commands
|
|
||||||
for each operation.</p>
|
|
||||||
|
|
||||||
<p class="whs7"><span style="font-style: italic;"><I>geompy.MakeBoolean(Shape1,
|
|
||||||
Shape2, Operation)</I></span>, where Shape1 is the first argument and Shape2
|
|
||||||
is the second argument of Boolean operation, Operation is a type of the
|
|
||||||
Boolean operation (1 – Common, 2 – Cut, 3 – Fuse, 4 – Section).</p>
|
|
||||||
|
|
||||||
<p class="whs8"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our <span style="font-weight: bold;"><B>TUI
|
|
||||||
Scripts</B></span> provide you with useful examples of the use of <a href="../boolean_operations.htm">Boolean
|
|
||||||
Operations</a>. </font></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Before Width: | Height: | Size: 943 B |
Before Width: | Height: | Size: 952 B |
Before Width: | Height: | Size: 952 B |
Before Width: | Height: | Size: 942 B |
@ -1,458 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Titre</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">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-size:12pt; font-weight:normal; }
|
|
||||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
|
||||||
p.whs3 { font-size:12pt; }
|
|
||||||
p.whs4 { margin-left:40px; }
|
|
||||||
p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
|
||||||
img_whs6 { width:20px; height:20px; border-style:none; }
|
|
||||||
ul.whs7 { list-style:disc; }
|
|
||||||
p.whs8 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs9 { border:none; border-style:none; width:312px; height:283px; float:none; }
|
|
||||||
p.whs10 { font-family:'Times New Roman' , serif; font-size:14pt; font-style:italic; font-weight:bold; }
|
|
||||||
img_whs11 { border:none; border-style:none; width:312px; height:324px; float:none; }
|
|
||||||
img_whs12 { border:none; width:150px; height:102px; border-style:none; }
|
|
||||||
img_whs13 { border:none; border-style:none; width:312px; height:289px; float:none; }
|
|
||||||
img_whs14 { border:none; width:150px; height:120px; border-style:none; }
|
|
||||||
p.whs15 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
|
||||||
img_whs16 { border:none; border-style:none; width:312px; height:315px; float:none; }
|
|
||||||
img_whs17 { border:none; width:150px; height:116px; border-style:none; }
|
|
||||||
img_whs18 { border:none; width:150px; height:131px; border-style:none; }
|
|
||||||
img_whs19 { border:none; width:150px; height:105px; border-style:none; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("../geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><b><span style="font-weight: bold;"><B>B</B></span>uilding geometrical objects</b></h1>
|
|
||||||
|
|
||||||
<p class="whs1"><b><span 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_whs2">In GEOM you can create basic and advanced geometrical objects
|
|
||||||
(2D & 3D elements) using the following building functions:</span></b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a href="#explode">Explode</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3">Build</p></li>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a href="#edge">Edge</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a href="#wire">Wire</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a href="#face">Face</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a href="#shell">Shell</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a href="#solid">Solid</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a href="#compound">Compound</a></p></li>
|
|
||||||
</ul>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class=TODO> </p>
|
|
||||||
|
|
||||||
<p class=TODO
|
|
||||||
style="font-family: 'Times New Roman', serif;
|
|
||||||
font-size: 14pt;
|
|
||||||
font-weight: bold;">To use Explode:</p>
|
|
||||||
|
|
||||||
<p class=TODO
|
|
||||||
style="font-family: 'Times New Roman', serif;
|
|
||||||
font-size: 14pt;
|
|
||||||
font-weight: bold;"> </p>
|
|
||||||
|
|
||||||
<p class="whs4">In the main menu select <span style="font-weight: bold;"><B>New
|
|
||||||
Entity > Explode</B></span>.</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;"><a
|
|
||||||
NAME=explode><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif" width="20px" height="20px" border="0" class="img_whs6"> Explode</font></span></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Returns a list of subshapes (vertices, edges, wires etc.) of the given
|
|
||||||
shape.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Result :</b>
|
|
||||||
List of GEOM_Objects.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">TUI Command:
|
|
||||||
</b></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs7">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><span style="font-style: italic;"><I>geompy.SubShape(Shape,
|
|
||||||
ListOfID)</I></span>, where Shape is a shape whose subshape(s) is (are) retrieved,
|
|
||||||
ListOfID is a list of requested sub shapes IDs. To get a subshape ID use
|
|
||||||
method GetSubShapeID().</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><span style="font-style: italic;"><I>geompy.SubShapeAll(Shape,
|
|
||||||
TypeOfShape)</I></span>, where Shape is a shape to be exploded on sub shapes
|
|
||||||
of type TypeOfShape.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 SHAPE + 1 type of SubShape.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="../pics/neo-obj1.png" x-maintain-ratio="TRUE" width="312px" height="283px" border="0" class="img_whs9"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs10">To use building functions:</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs8">In the main menu select
|
|
||||||
<span style="font-weight: bold;"><B>New Entity > </B></span><span style="font-weight: bold;"><B>Build
|
|
||||||
</B></span>submenu.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=edge><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif" width="20px" height="20px" border="0" class="img_whs6"><b> Edge</b></a></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates an edge.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(EDGE).</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeEdge(Vertex1, Vertex2)</I></span>,
|
|
||||||
where Vertex1 and Vertex2 are correspondingly the first and the last vertex
|
|
||||||
of the edge.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 2 vertices.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="../pics/neo-obj2.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs11"></p>
|
|
||||||
|
|
||||||
<p class="whs8"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="../image9.gif" width="150px" height="102px" border="0" class="img_whs12"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=wire><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Wire</b></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a wire.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(WIRE).</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">TUI Command :</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeWire(ListOfShape)</I></span>,
|
|
||||||
where ListOfShape is a list of edges and/or wires from which the wire
|
|
||||||
to be constructed.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + List of connected wires or edges..</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="../pics/neo-obj3.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs13"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="../image11.gif" width="150px" height="120px" border="0" class="img_whs14"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=face><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Face</b></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs15"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a face.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(FACE).</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeFace(Wire, WantPlanarFace)</I></span>,
|
|
||||||
where Wire is a wire and if boolean parameter WantPlanarFace is planar
|
|
||||||
then only a planar face or no face is constructed.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 wire.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="../pics/neo-obj4.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs16"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="../image12.gif" width="150px" height="116px" border="0" class="img_whs17"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=shell><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Shell</b></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a shell.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(SHELL).</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeShell(ListOfShape)</I></span>,
|
|
||||||
where ListOfShape is a list of faces and (or) shells from which the shell
|
|
||||||
is constructed.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">List of faces having connected edges.</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="../pics/neo-obj5.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs13"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="../image18.jpg" width="150px" height="131px" border="0" class="img_whs18"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=solid><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Solid</b></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a solid - closed geometrical 3D element.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_<span>Object
|
|
||||||
(SOLID).</span></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeSolid(ListOfShape)</I></span>,
|
|
||||||
where ListOfShape is a list of shells from which the solid is constructed.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + A closed shell or a list of shells.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="../pics/neo-obj6.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs16"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=compound><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Compound</b></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a compound.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(COMPOUND).</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeCompound(ListOfShape)</I></span>,
|
|
||||||
where ListOfShape is a list of shapes from which the compound is constructed.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + List of shapes.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="../pics/neo-obj7.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs13"></p>
|
|
||||||
|
|
||||||
<p class="whs8"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"><img src="../image13.gif" width="150px" height="105px" border="0" class="img_whs19"></p>
|
|
||||||
|
|
||||||
<p class="whs8"> </p>
|
|
||||||
|
|
||||||
<p class="whs8"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,226 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Titre</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">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }
|
|
||||||
img_whs2 { border-style:none; border:none; float:none; width:30px; height:30px; }
|
|
||||||
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
|
||||||
p.whs4 { margin-left:40px; }
|
|
||||||
p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
|
||||||
img_whs6 { border-style:none; width:20px; height:20px; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nManaging geometrical objects\nDisplaying\\hiding objects");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("../geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Displaying\hiding objects</h1>
|
|
||||||
|
|
||||||
<p class="whs1"><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_whs2"> </b>Visualization is available in both, OCC and VTK viewers.
|
|
||||||
These viewers work independently, i.e. visibility of objects and their
|
|
||||||
graphic attributes may differ in OCC and VTK viewer. It<b style="font-weight: normal;"><span
|
|
||||||
style="font-weight: normal;"> is reasonable to use the OCC viewer for
|
|
||||||
GEOM module.</span></b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: normal;">Displaying\hiding
|
|
||||||
different geometrical objects in the viewer is possible using the following
|
|
||||||
operations: </b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
href="#DisplayAll">DisplayAll</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
href="#EraseAll">EraseAll</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
href="#Display">Display</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
href="#DisplayOnly">DisplayOnly</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
href="#EraseOnly">Erase</a></p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class=TODO>To display\hide one or several objects in the viewer:</p>
|
|
||||||
|
|
||||||
<p class=TODO> </p>
|
|
||||||
|
|
||||||
<p class="whs4">In the main menu select <span style="font-weight: bold;"><B>View
|
|
||||||
</B></span>or right-click on the necessary object in the Object Browser and
|
|
||||||
from the associated pop-up menu choose the required operation.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=DisplayAll
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> DisplayAll</font></b></a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Displays all geometrical objects which have been created or imported in
|
|
||||||
the current study.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">TUI
|
|
||||||
Command:</b><i> sg.DisplayAll()</i></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=EraseAll
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> EraseAll</font></b></a></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Erases all shapes displayed in the viewer.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b>TUI
|
|
||||||
Command:</b><i> sg.EraseAll()</i></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=Display
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Display</font></b></a></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><span
|
|
||||||
style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Displays an object in 3D viewer.</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b>TUI
|
|
||||||
Command:</b><i> </i></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=DisplayOnly
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> DisplayOnly</font></b></a></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Displays only the selected geometrical element.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">TUI
|
|
||||||
Command:</b><i> sg.DisplayOnly(ID)</i></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=EraseOnly
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Erase</font></b></a></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">Description
|
|
||||||
:</b> Erases only the selected shape.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><b style="font-weight: bold;">TUI
|
|
||||||
Command :</b><i> sg.EraseOnly(ID)</i></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Before Width: | Height: | Size: 946 B |
Before Width: | Height: | Size: 958 B |
Before Width: | Height: | Size: 950 B |
Before Width: | Height: | Size: 994 B |
Before Width: | Height: | Size: 987 B |
@ -1,307 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Titre</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>
|
|
||||||
<!--
|
|
||||||
A:link { color:#0000ff; }
|
|
||||||
-->
|
|
||||||
</style><style type="text/css">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-size:12pt; }
|
|
||||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
|
||||||
p.whs3 { margin-left:40px; }
|
|
||||||
h3.whs4 { font-size:14pt; }
|
|
||||||
img_whs5 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs6 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs7 { border:none; border-style:none; width:312px; height:350px; float:none; }
|
|
||||||
img_whs8 { border:none; width:150px; height:116px; border-style:none; }
|
|
||||||
p.whs9 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
|
||||||
img_whs10 { border:none; width:150px; height:153px; border-style:none; }
|
|
||||||
img_whs11 { border:none; border-style:none; width:312px; height:367px; float:none; }
|
|
||||||
img_whs12 { border:none; width:150px; height:103px; border-style:none; }
|
|
||||||
p.whs13 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
|
||||||
img_whs14 { border:none; border-style:none; width:312px; height:324px; float:none; }
|
|
||||||
img_whs15 { border:none; width:150px; height:117px; border-style:none; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("../geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Generating complex objects</h1>
|
|
||||||
|
|
||||||
<p class="whs1"><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_whs2"> </b>Generation operations in GEOM are used to create advanced
|
|
||||||
geometrical objects (3D elements). They are:</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#Prism">Extrusion</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#Revolution">Revolution</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#Filling">Filling</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#Pipe">Pipe
|
|
||||||
creation</a></p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class=TODO>To use generation operations:</p>
|
|
||||||
|
|
||||||
<p class=TODO> </p>
|
|
||||||
|
|
||||||
<p class="whs3">In the main menu select <span style="font-weight: bold;"><B>New
|
|
||||||
Entity > Generation</B></span><span>.</span></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<h3 class="whs4"><b style="font-weight: bold;"><a NAME=Prism><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif" width="20px" height="20px" border="0" class="img_whs5"> Extrusion</a></b> </h3>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates an extruded shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(edge, face, solid or compsolid).</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command :</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakePrism(baseShape, Vector,
|
|
||||||
Height)</I></span>, where baseShape is a basis of the prism, Vector is a normal
|
|
||||||
of the prism and Height is a height of the prism.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 shape (vertex, edge, wire, face or shell) serving as base object
|
|
||||||
+ 1 vector (for direction) + 1 value (dimension).</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><img src="../pics/extrusion.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs7"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><img src="../image14.gif" width="150px" height="116px" border="0" class="img_whs8"> <img src="../image27.jpg" width="150px" height="116px" border="0" class="img_whs8"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><a NAME=Revolution><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif" width="20px" height="20px" border="0" class="img_whs5"><b> Revolution</b></a></p>
|
|
||||||
|
|
||||||
<p class="whs9"><span><font size=4 style="font-size:14pt;"><b
|
|
||||||
style="font-weight: bold;"><font style="font-size: 14pt;"
|
|
||||||
size=4>	</font></b></font></span></p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates an extruded shape by revolution.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(edge, face, solid or compsolid).</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeRevolution(Shape, Axis,
|
|
||||||
Angle)</I></span>, where Shape is a shape to rotate, Axis is the axis of the
|
|
||||||
revolution and Angle is an angle by which Shape has to be rotated around
|
|
||||||
Axis.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 shape (vertex, edge, wire, face or shell) serving as base object
|
|
||||||
+ 1 vector (for direction) + 1 value (angle).</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><img src="../pics/revolution.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs7"></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><img src="../image15.gif" width="150px" height="153px" border="0" class="img_whs10"> <img src="../image52.jpg" width="150px" height="153px" border="0" class="img_whs10"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><a NAME=Filling><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif" width="20px" height="20px" border="0" class="img_whs5"><b> Filling</b></a></p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a curving face using several curves.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(face).</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeFilling(Shape, MinDegree,
|
|
||||||
MaxDegree, Tol2D, Tol3D, NbIter)</I></span>, where Shape is a shape to fill,
|
|
||||||
MinDegree and MaxDegree are correspondingly maximal and minimal degree,
|
|
||||||
Tol2D is a tolerance for 2D and Tol3D is a tolerance for 3D, NbIter is
|
|
||||||
a number of iterations.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 List of edges + 5 Parameters (Min. degree, Max. degree, Number
|
|
||||||
of iterations, 2D tolerance, 3D tolerance).</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><img src="../pics/filling.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs11"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><img src="../image7.gif" width="150px" height="103px" border="0" class="img_whs12"> <img src="../image11.jpg" width="150px" height="103px" border="0" class="img_whs12"></p>
|
|
||||||
|
|
||||||
<p class="whs13"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><a NAME=Pipe><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif" width="20px" height="20px" border="0" class="img_whs5"><b> Pipe</b></a></p>
|
|
||||||
|
|
||||||
<p class="whs13"><span><font size=3 style="font-size:12pt;"><b
|
|
||||||
style="font-weight: bold;"><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
|
||||||
face="Times New Roman"
|
|
||||||
size=4>	</font></b></font></span></p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates an extruded shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(edge, face, solid or compsolid).</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakePipe(baseShape, pathShape)</I></span>,
|
|
||||||
where baseShape is a shape to be extruded, pathShape is a path along which
|
|
||||||
baseShape is extruded.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 shape (vertex, edge, wire, face or shell) serving as base object
|
|
||||||
+ 1 shape (edge, face or shell) for definition of the path.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><img src="../pics/pipe.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs14"></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><img src="../image8.gif" width="150px" height="117px" border="0" class="img_whs15"> <img src="../image12.jpg" width="150px" height="117px" border="0" class="img_whs15"></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Before Width: | Height: | Size: 961 B |
Before Width: | Height: | Size: 981 B |
Before Width: | Height: | Size: 965 B |
Before Width: | Height: | Size: 963 B |
@ -1,145 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Titre</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">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-size:12pt; }
|
|
||||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
|
||||||
p.whs3 { margin-left:40px; }
|
|
||||||
img_whs4 { border:none; border-style:none; width:557px; height:274px; float:none; }
|
|
||||||
img_whs5 { border:none; border-style:none; width:529px; height:272px; float:none; }
|
|
||||||
p.whs6 { font-size:12pt; font-family:'Times New Roman' , serif; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nImporting\\exporting geometrical objects");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("../geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Importing\exporting geometrical objects</h1>
|
|
||||||
|
|
||||||
<p class="whs1"><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_whs2"> <span style="font-weight: normal;">In GEOM you can import
|
|
||||||
and export geometrical objects from\into BREP, IGES, STEP </span></b><b><span
|
|
||||||
style="font-weight: normal;">files. </span></b></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p class=TODO>To import geometrical objects from a BREP, IGES, STEP file:</p>
|
|
||||||
|
|
||||||
<p class=TODO> </p>
|
|
||||||
|
|
||||||
<p class="whs3">From the <span style="font-weight: bold;"><B>File
|
|
||||||
</B></span>menu choose <span style="font-weight: bold;"><B>Import </B></span>and
|
|
||||||
select the required format of the file for importation. Then you will
|
|
||||||
see a standard dialog box allowing to search for and choose *.brep, *.iges
|
|
||||||
or *.step file:</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="../pics/import.png" x-maintain-ratio="TRUE" width="557px" height="274px" border="0" class="img_whs4"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3">Select the required file and click <span
|
|
||||||
style="font-weight: bold;"><B>OK</B></span>. You file will be imported into GEOM
|
|
||||||
and its contents (geometrical objects) will be displayed in the <span
|
|
||||||
style="font-weight: bold;"><B>Object Browser</B></span>. </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class=TODO>To export geometrical objects into a BREP, IGES, STEP file:</p>
|
|
||||||
|
|
||||||
<p class=TODO> </p>
|
|
||||||
|
|
||||||
<p class="whs3">Select the object you wish to export, then
|
|
||||||
from the <span style="font-weight: bold;"><B>File </B></span>menu choose <span
|
|
||||||
style="font-weight: bold;"><B>Export </B></span>and select the required format
|
|
||||||
of the file for exportation. You will see a standard dialog box allowing
|
|
||||||
to enter the name and select the location for the file which will be exported:</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="../pics/export.png" x-maintain-ratio="TRUE" width="529px" height="272px" border="0" class="img_whs5"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3">Click <span style="font-weight: bold;"><B>OK</B></span>
|
|
||||||
to confirm your exportation. </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs6"> </p></li>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,597 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Titre</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>
|
|
||||||
<!--
|
|
||||||
A:visited { color:#800080; }
|
|
||||||
A:link { color:#0000ff; }
|
|
||||||
-->
|
|
||||||
</style><style type="text/css">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-size:12pt; }
|
|
||||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
|
||||||
p.whs3 { margin-left:40px; }
|
|
||||||
img_whs4 { border:none; width:21px; height:19px; border-style:none; }
|
|
||||||
p.whs5 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
|
||||||
img_whs6 { border:none; width:272px; height:303px; float:none; border-style:none; }
|
|
||||||
p.whs7 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
|
||||||
img_whs8 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs9 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
|
||||||
img_whs10 { border:none; border-style:none; width:360px; height:307px; float:none; }
|
|
||||||
p.whs11 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs12 { border:none; width:312px; height:367px; float:none; border-style:none; }
|
|
||||||
p.whs13 { font-size:12pt; margin-left:400px; }
|
|
||||||
img_whs14 { border:none; width:360px; height:333px; float:none; border-style:none; }
|
|
||||||
p.whs15 { font-size:12pt; font-weight:bold; }
|
|
||||||
img_whs16 { border:none; width:360px; height:328px; float:none; border-style:none; }
|
|
||||||
p.whs17 { font-size:12pt; font-weight:normal; }
|
|
||||||
img_whs18 { border:none; border-style:none; width:360px; height:290px; float:none; }
|
|
||||||
img_whs19 { border:none; border-style:none; width:360px; height:328px; float:none; }
|
|
||||||
img_whs20 { border:none; width:360px; height:405px; float:none; border-style:none; }
|
|
||||||
img_whs21 { border:none; width:360px; height:309px; float:none; border-style:none; }
|
|
||||||
p.whs22 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
|
||||||
img_whs23 { border:none; width:25px; height:23px; border-style:none; }
|
|
||||||
ul.whs24 { list-style:disc; }
|
|
||||||
img_whs25 { border:none; width:329px; height:436px; float:none; 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.whs22 {text-indent: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nUsing measurement tools");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("../geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Using measurement tools</h1>
|
|
||||||
|
|
||||||
<p class="whs1"><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_whs2">Measurement tools in GEOM are necessary for getting</b> different
|
|
||||||
data concerning created or imported geometrical objects. They are:</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#PointCoord">Point
|
|
||||||
coordinates</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#Basic_properties">Basic
|
|
||||||
properties</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#Center_gravity">Center
|
|
||||||
of mass</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#Inertia_axis">Inertia</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#Bounding_box">Bounding
|
|
||||||
box</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#Min_distance">Min.
|
|
||||||
distance</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#Tolerance">Tolerance</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#Whatis">WhatIs</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#check">Check</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a href="#Check_comp_blocks">Check
|
|
||||||
compound of blocks</a></p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
|
|
||||||
show how to use <a href="../measurement_tools.htm">Measurement Tools</a>
|
|
||||||
with <span style="font-weight: bold;"><B>TUI
|
|
||||||
commands</B></span>. </p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class=TODO>To use measurement tools:</p>
|
|
||||||
|
|
||||||
<p class=TODO> </p>
|
|
||||||
|
|
||||||
<p class="whs3">In the main menu select <span style="font-weight: bold;"><B>Measures
|
|
||||||
</B></span>submenu.</p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><a name=PointCoord> <img src="../image49.gif" width="21px" height="19px" border="0" class="img_whs4"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Point coordinates</B></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Returns the coordinates of a point.</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Point
|
|
||||||
coordinates (X, Y, Z) in 3D space in the form of Python Tuple.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
|
|
||||||
<span style="font-style: italic;"><I>geompy.PointCoordinates(Point)</I></span>,
|
|
||||||
where Point is a point whose coordinates are inquired.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 point.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><img src="../pics/measures1.png" x-maintain-ratio="TRUE" width="272px" height="303px" border="0" class="img_whs6"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><b style="font-weight: bold;"><a
|
|
||||||
NAME=Basic_properties
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif" width="20px" height="20px" border="0" class="img_whs8"> Basic properties</a></b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Return the properties (Length, Surface & Volume) of a definite geometrical
|
|
||||||
object.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Display
|
|
||||||
Length, Surface & Volume in the form of Python Tuple.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
|
|
||||||
<span style="font-style: italic;"><I>geompy.BasicProperties(Shape)</I></span>,
|
|
||||||
where Shape is a shape whose properties are inquired.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="../pics/neo-basicprop.png" x-maintain-ratio="TRUE" width="360px" height="307px" border="0" class="img_whs10"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><a name=Center_gravity
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;">
|
|
||||||
Center of mass</b></a></p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a gravity center of a shape and returns its coordinates.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(vertex).</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeCDG(Shape)</I></span>, where
|
|
||||||
Shape is the shape for which a center of gravity is computed.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><img src="../pics/measures3.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs12"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><a NAME=Inertia_axis
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Inertia</font></b></a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Returns the inertia axis of a geometrical object.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Display
|
|
||||||
the matrix and moments of inretia in the form of Python Tuple (I11, I12,
|
|
||||||
I13, </p>
|
|
||||||
|
|
||||||
<p class="whs13"> I21,
|
|
||||||
I22, I23, </p>
|
|
||||||
|
|
||||||
<p class="whs13"> I31,
|
|
||||||
I32, I33,</p>
|
|
||||||
|
|
||||||
<p class="whs13"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> Ix,
|
|
||||||
Iy, Iz)</font></span>.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
|
|
||||||
<span style="font-style: italic;"><I>geompy.Inertia(Shape)</I></span>, where
|
|
||||||
Shape is a shape for which a matrix of inertia and moment of inertia are
|
|
||||||
returned.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><img src="../pics/measures4.png" x-maintain-ratio="TRUE" width="360px" height="333px" border="0" class="img_whs14"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><a NAME=Bounding_box
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Bounding
|
|
||||||
box</font></b></a> </p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Returns the dimensions of the bounding box of a geometrical object.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
|
|
||||||
the dimensions of the bounding box of a geometrical object in the form
|
|
||||||
of Python Tuple (Xmin, Xmax, Ymin, Ymax, Zmin, Zmax).</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.BoundingBox(Shape)</I></span><span
|
|
||||||
style="font-weight: normal;">, where Shape is a shape for which a bounding
|
|
||||||
box is computed.</span></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><img src="../pics/measures5.png" x-maintain-ratio="TRUE" width="360px" height="328px" border="0" class="img_whs16"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><a NAME=Min_distance
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Min. distance</font></b></a></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Returns the min. distance between 2 geometrical objects.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
|
|
||||||
the min. distance.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.MinDistance(Shape1,
|
|
||||||
Shape2)</I></span><span style="font-weight: normal;">, where Shape1 and Shape2
|
|
||||||
are shapes between which the minimal distance computed.</span></p>
|
|
||||||
|
|
||||||
<p class="whs17"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
2 shapes.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><img src="../pics/distance.png" x-maintain-ratio="TRUE" width="360px" height="290px" border="0" class="img_whs18"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><a NAME=Tolerance
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;">
|
|
||||||
Tolerance</b></a> </p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Returns the tolerance of a geometrical object.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
|
|
||||||
the tolerance values (FaceMinTol, FaceMaxTol, EgdeMinTol, EgdeMaxTol,
|
|
||||||
VertexMinTol, VertexMaxTol).</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.Tolerance(Shape)</I></span><span
|
|
||||||
style="font-weight: normal;">, where Shape is a shape for which minimal
|
|
||||||
and maximal tolerances are returned.</span></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><img src="../pics/new-tolerance.png" x-maintain-ratio="TRUE" width="360px" height="328px" border="0" class="img_whs19"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><a NAME=Whatis><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;"> WhatIs</b></a>
|
|
||||||
</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Returns the type of a geometrical object.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
|
|
||||||
all elements composing your geometrical object.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
|
|
||||||
<span style="font-style: italic;"><I>geompy.WhatIs(Shape)</I></span>, where Shape
|
|
||||||
is a shape from which a description is returned.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><img src="../pics/measures8.png" x-maintain-ratio="TRUE" width="360px" height="405px" border="0" class="img_whs20"></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><a NAME=check
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Check</font></b></a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Returns True if this geometrical object is valid.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.CheckShape(Shape)</I></span>,
|
|
||||||
where is shape which is checked for validity.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><img src="../pics/measures9.png" x-maintain-ratio="TRUE" width="360px" height="309px" border="0" class="img_whs21"></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs22"> </p>
|
|
||||||
|
|
||||||
<p class="whs22"> </p>
|
|
||||||
|
|
||||||
<p class="whs22"><a name=Check_comp_blocks><img src="../image27.gif" width="25px" height="23px" border="0" class="img_whs23"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check compound
|
|
||||||
of blocks</B></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs22"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Checks whether a shape is a compound of glued blocks. To be considered
|
|
||||||
as a compound of blocks, the given shape must satisfy the following conditions:</p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs24">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> Each
|
|
||||||
element of the compound should be a Block (6 faces and 12 edges);</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> A
|
|
||||||
connection between two Blocks should be an entire quadrangle face or an
|
|
||||||
entire edge;</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> The
|
|
||||||
compound should be connected;</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> Two
|
|
||||||
quadrangle faces should be glued. </p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">Informs of the following possible errors:</p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs24">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1">not a block,</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1">not glued,</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1">not connected,</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">extra
|
|
||||||
or degenerated edge.</font></span></p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean;
|
|
||||||
highlight in the viewer.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.CheckCompoundOfBlocks(Compound)</I></span>,
|
|
||||||
where the Compound is a shape, investigated in order to see, if it is
|
|
||||||
a valid compound of blocks. Validity flag is returned, encountered errors
|
|
||||||
are printed in the python console.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<p class="whs11"><img src="../pics/measures10.png" x-maintain-ratio="TRUE" width="329px" height="436px" border="0" class="img_whs25"></p>
|
|
||||||
|
|
||||||
<p class="whs11"> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Before Width: | Height: | Size: 934 B |
Before Width: | Height: | Size: 962 B |
Before Width: | Height: | Size: 960 B |
Before Width: | Height: | Size: 982 B |
Before Width: | Height: | Size: 938 B |
Before Width: | Height: | Size: 949 B |
Before Width: | Height: | Size: 941 B |
Before Width: | Height: | Size: 1005 B |
@ -1,637 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Titre</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>
|
|
||||||
<!--
|
|
||||||
A:link { color:#0000ff; }
|
|
||||||
-->
|
|
||||||
</style><style type="text/css">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }
|
|
||||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
|
||||||
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
|
||||||
ul.whs4 { list-style:disc; }
|
|
||||||
p.whs5 { font-size:12pt; }
|
|
||||||
p.whs6 { margin-left:40px; }
|
|
||||||
p.whs7 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
|
||||||
img_whs8 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs9 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs10 { border:none; border-style:none; width:312px; height:483px; float:none; }
|
|
||||||
img_whs11 { border:none; border-style:none; width:448px; height:302px; float:none; }
|
|
||||||
img_whs12 { border:none; width:150px; height:135px; border-style:none; }
|
|
||||||
img_whs13 { border:none; border-style:none; width:312px; height:367px; float:none; }
|
|
||||||
img_whs14 { border:none; width:150px; height:131px; border-style:none; }
|
|
||||||
img_whs15 { border:none; border-style:none; width:312px; height:315px; float:none; }
|
|
||||||
img_whs16 { border:none; border-style:none; width:312px; height:346px; float:none; }
|
|
||||||
img_whs17 { border:none; width:150px; height:99px; border-style:none; }
|
|
||||||
img_whs18 { border:none; border-style:none; width:312px; height:319px; float:none; }
|
|
||||||
img_whs19 { border:none; border-style:none; width:312px; height:381px; float:none; }
|
|
||||||
img_whs20 { border:none; width:150px; height:104px; border-style:none; }
|
|
||||||
img_whs21 { border:none; width:24px; height:22px; border-style:none; }
|
|
||||||
p.whs22 { font-size:12pt; font-weight:bold; }
|
|
||||||
ul.whs23 { list-style:circle; }
|
|
||||||
p.whs24 { font-size:12pt; font-weight:normal; }
|
|
||||||
table.whs25 { x-cell-content-align:top; width:37.774%; border-spacing:0px; }
|
|
||||||
col.whs26 { width:48.722%; }
|
|
||||||
col.whs27 { width:51.278%; }
|
|
||||||
tr.whs28 { x-cell-content-align:top; }
|
|
||||||
td.whs29 { width:48.722%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
|
||||||
td.whs30 { width:51.278%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
|
||||||
img_whs31 { border:none; border-style:none; width:312px; height:494px; float:none; }
|
|
||||||
p.whs32 { font-weight:bold; }
|
|
||||||
img_whs33 { border:none; width:250px; height:284px; float:none; border-style:none; }
|
|
||||||
img_whs34 { border:none; width:271px; height:284px; border-style:none; }
|
|
||||||
img_whs35 { border:none; width:23px; height:22px; border-style:none; }
|
|
||||||
img_whs36 { border:none; border-style:none; width:312px; height:372px; float:none; }
|
|
||||||
p.whs37 { font-size:12pt; margin-left:0px; }
|
|
||||||
p.whs38 { font-size:12pt; margin-left:0px; font-weight:bold; }
|
|
||||||
p.whs39 { margin-left:40px; font-size:12pt; }
|
|
||||||
img_whs40 { border:none; width:300px; height:311px; border-style:none; }
|
|
||||||
p.whs41 { font-size:12pt; margin-left:36px; text-indent:-36px; }
|
|
||||||
p.whs42 { font-size:12pt; text-indent:-36px; margin-left:40px; }
|
|
||||||
img_whs43 { border:none; width:23px; height:21px; border-style:none; }
|
|
||||||
img_whs44 { border:none; border-style:none; width:312px; height:230px; float:none; }
|
|
||||||
p.whs45 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
|
||||||
p.whs46 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
|
|
||||||
p.whs47 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }
|
|
||||||
img_whs48 { border:none; width:250px; height:236px; border-style:none; }
|
|
||||||
img_whs49 { border:none; width:250px; height:233px; 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.whs37 {margin-left:1pt; }";
|
|
||||||
strNSS += "p.whs38 {margin-left:1pt; }";
|
|
||||||
strNSS += "p.whs41 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs42 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs45 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs46 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs47 {text-indent: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("../geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Basic operations</h1>
|
|
||||||
|
|
||||||
<p class="whs1"><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_whs2"><span style="font-weight: normal;"> In GEOM you can perform
|
|
||||||
basic operations with geometrical objects aimed at creation of more complex
|
|
||||||
shapes. These operations are:</span></b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs4">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
HREF="#_Toc57113143">Partition	</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
HREF="#_Toc57113144"><font><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Archimede	</font></span></font></a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
HREF="#_Toc57113145"><font><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Fillet	</font></span></font></a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
HREF="#_Toc57113146">Chamfer</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3">Blocks</p></li>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs4">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
href="#Multi-transformation">Multi-transformation</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
href="#ExplodeOnBlocks">Explode on blocks</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs3"><a
|
|
||||||
href="#Propagate">Propagate</a><a HREF="#_Toc57113146">	</a></p></li>
|
|
||||||
</ul>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class=TODO>To perform basic operations on geometrical objects:</p>
|
|
||||||
|
|
||||||
<p class=TODO> </p>
|
|
||||||
|
|
||||||
<p class="whs6">In the main menu select <span style="font-weight: bold;"><B>Operations</B></span><span>.</span></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><b style="font-weight: bold;"><a
|
|
||||||
NAME=_Toc57113143><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif" width="20px" height="20px" border="0" class="img_whs8"><font
|
|
||||||
style="font-size: 14pt;"
|
|
||||||
size=4> Partition</font></font></span></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Builds a shape by intersection.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakePartition(ListOfShapes,
|
|
||||||
ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs,
|
|
||||||
ListOfMaterials)</I></span>, where ListOfShapes is a list of shapes to be
|
|
||||||
intersected, ListOfTools is a list of shapes to intersect the shapes from
|
|
||||||
ListOfShapes, ListOfKeepInside is a list of shapes outside which the results
|
|
||||||
will be deleted, ListOfRemoveInside is a list of shapes inside which the
|
|
||||||
results will be deleted, Limit is a type of the result shapes, if RemoveWebs
|
|
||||||
is True the Glue 3D algorithm will be performed on the results, ListOfMaterials
|
|
||||||
is a list of materials indices for each shape, it makes sense only if
|
|
||||||
RemoveWebs is True.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Up to 4 shapes + reconstruction limit.</p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs4">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">1st
|
|
||||||
Constructor:</b> Name + 2 shapes (first shape will be intersected by the
|
|
||||||
second shape) + reconstruction limit.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">2nd
|
|
||||||
Constructor:</b> Name + 1 shape which will be intersected + 1 cutting
|
|
||||||
face.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><img src="../pics/partition1.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs10"> <img src="../pics/partition2.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs10"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><img src="../pics/neo-materials.png" x-maintain-ratio="TRUE" width="448px" height="302px" border="0" class="img_whs11"></p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><img src="../image80.jpg" width="150px" height="135px" border="0" class="img_whs12"> <img src="../image81.jpg" width="150px" height="135px" border="0" class="img_whs12"></p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><a NAME=_Toc57113144><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Archimede</font></b></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a plane corresponding to the modeled water-line of the object
|
|
||||||
plunged into the water (in Z direction).</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:
|
|
||||||
</b><span style="font-style: italic;"><I>geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection)</I></span>,
|
|
||||||
where Shape is a shape to put into the water, Weight is a weight of the
|
|
||||||
shape, WaterDensity is
|
|
||||||
density of water, MeshingDeflection is a deflection of the mesh, using
|
|
||||||
to compute the section.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">GUI Arguments:</b>
|
|
||||||
Name + 1 shape +
|
|
||||||
3 values (Weight, Water Density & Meshing Deflection).</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><img src="../pics/archimede.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs13"></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><img src="../image78.jpg" width="150px" height="131px" border="0" class="img_whs14"> <img src="../image79.jpg" width="150px" height="131px" border="0" class="img_whs14"> <img src="../image22.gif" width="150px" height="131px" border="0" class="img_whs14"></p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><a NAME=_Toc57113145><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Fillet</font></b></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Make fillets of the edges of a shape.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeFillet(Shape, Radius,
|
|
||||||
ShapeType, ListOfShapeID)</I></span>, where Shape is a shape to create a fillet
|
|
||||||
on, Radius is a radius of the fillet, ShapeType is a type of shapes to
|
|
||||||
be processed, ListOfShapeID is a list of subshape’s Ids to be processed.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs4">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">1st
|
|
||||||
Constructor:</b> Name + 1 shape + 1 value (fillet radius).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">2nd
|
|
||||||
Constructor:</b> Name + 1 shape + 1 Selection of edges + 1 value (Fillet
|
|
||||||
radius).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">3rd
|
|
||||||
Constructor:</b> Name + 1 shape + 1 Selection of faces + 1 value (Fillet
|
|
||||||
radius).</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><img src="../pics/fillet1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs15"> <img src="../pics/fillet2.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs16"> <img src="../pics/fillet3.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs16"></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><img src="../image82.jpg" width="150px" height="99px" border="0" class="img_whs17"> <img src="../image83.jpg" width="150px" height="99px" border="0" class="img_whs17"></p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><a NAME=_Toc57113146><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Chamfer</font></b></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Makes chamfer of the edges of a Shape.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs4">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeChamferEdge(Shape,
|
|
||||||
D1, D2, Face1, Face2)</I></span>, where Shape is a shape to create a chamfer
|
|
||||||
on, D1 is a chamfer size along Face1, D2 is a chamfer size along Face2,
|
|
||||||
Face1 and Face2 are indices of faces in Shape.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeChamferFace(Shape,
|
|
||||||
D1, D2, ListOfFaceID)</I></span>, where Shape is a shape to create chamfer
|
|
||||||
on, D1 is a chamfer size along a face from ListOfFaceID,
|
|
||||||
D2 is a
|
|
||||||
chamfer size along two faces connected to the edge to which the chamfer
|
|
||||||
is applied, ListOfFaceID is a list of indices of faces in Shape.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs4">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">1st
|
|
||||||
Constructor :</b> Name + 1 SHAPE + 1 value (Chamfer dimension).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">2nd
|
|
||||||
Constructor :</b> Name + 1 SHAPE + 2 faces + 2 values (Chamfer dimensions).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">3rd
|
|
||||||
Constructor :</b> Name + 1 SHAPE + 1 Selection of faces + 2 values (Chamfer
|
|
||||||
dimensions).</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><img src="../pics/chamfer1.png" x-maintain-ratio="TRUE" width="312px" height="319px" border="0" class="img_whs18"> <img src="../pics/chamfer2.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs19"> <img src="../pics/chamfer3.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs19"></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><img src="../image84.jpg" width="150px" height="104px" border="0" class="img_whs20"> <img src="../image85.jpg" width="150px" height="104px" border="0" class="img_whs20"></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><a name=Multi-transformation><img src="../image52.gif" width="24px" height="22px" border="0" class="img_whs21"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Block</B></font></span>
|
|
||||||
<span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>multi-transformation</B></font></span></a></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Makes several translations of a block (solid) in <span style="font-weight: bold;"><B>one</B></span>
|
|
||||||
or <span style="font-weight: bold;"><B>two</B></span> directions depending on
|
|
||||||
the arguments specified by the user.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs4">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.
|
|
||||||
MakeMultiTransformation1D(Block, DirFaceID1, DirFaceID2, NbTimes)</I></span>,
|
|
||||||
where Block is a block to be transformed, DirFaceID1 is an ID of the face
|
|
||||||
which defines the first direction of transformation, DirFaceID2 is an
|
|
||||||
ID of the face which defines the second direction of transformation, NbTimes
|
|
||||||
is a numeber of transformations.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.
|
|
||||||
MakeMultiTransformation2D(Block, DirFaceID1U, DirFaceID2U, NbTimesU, DirFaceID1V,
|
|
||||||
DirFaceID2V, NbTimesV)</I></span>, where Block is a block to be transformed,
|
|
||||||
DirFaceID1U and DirFace1V are ID’s of the faces, which define directions
|
|
||||||
of the first transformation, DirFaceID1V and DirFaceID2V are ID’s of the
|
|
||||||
faces which define directions of the second transformation, NbTimesU and
|
|
||||||
NbTimesV are numbers of transformations.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs4">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs22">1D
|
|
||||||
transformation: <span style="font-weight: normal;">Name + 1 hexahedral
|
|
||||||
solid + 1 or 2 faces + 1 integer (number of blocks)</span></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs22">2D
|
|
||||||
transformation:<span style="font-weight: normal;"> Name + 1 hexahedral
|
|
||||||
solid + </span></p></li>
|
|
||||||
|
|
||||||
<ul type="circle" class="whs23">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs24">2
|
|
||||||
faces and 1 integer, or</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs22"><span
|
|
||||||
style="font-weight: normal;">3 or 4 faces and 2 integers </span></p></li>
|
|
||||||
</ul>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<table x-use-null-cells cellspacing="0" width="37.774%" class="whs25">
|
|
||||||
<col class="whs26">
|
|
||||||
<col class="whs27">
|
|
||||||
|
|
||||||
<tr valign="top" class="whs28">
|
|
||||||
<td width="48.722%" class="whs29">
|
|
||||||
<p><img src="../pics/mtransf1.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs19"></td>
|
|
||||||
<td width="51.278%" class="whs30">
|
|
||||||
<p><img src="../pics/mtransf2.png" x-maintain-ratio="TRUE" width="312px" height="494px" border="0" class="img_whs31"></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs32">Example:</p>
|
|
||||||
|
|
||||||
<p class="whs32"> </p>
|
|
||||||
|
|
||||||
<p class="whs32"><img src="../image188.jpg" x-maintain-ratio="TRUE" width="250px" height="284px" border="0" class="img_whs33"> <img src="../image189.jpg" width="271px" height="284px" border="0" class="img_whs34"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><a name=ExplodeOnBlocks><img src="../image53.gif" width="23px" height="22px" border="0" class="img_whs35"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Explode
|
|
||||||
on Blocks</B></font></span></a></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Returns blocks of the given compound. The user may define the type blocks
|
|
||||||
to be extracted by setting the minimum and maximum number of faces in
|
|
||||||
the target block. By checking the corresponding box the user may also
|
|
||||||
interactively choose the blocks from a compound .</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeBlockExplode(Compound,
|
|
||||||
MinNbFaces, MaxNbFaces)</I></span>, where Compound is a compound to be exploded
|
|
||||||
into the blocks, MinNbFaces, MaxNbFaces are correspondingly the minimal
|
|
||||||
and the
|
|
||||||
maximal number of faces of the resulting blocks.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Arguments: <span
|
|
||||||
style="font-weight: normal;">1 compound + 1 integer (min. and max. number
|
|
||||||
of faces in the block to be extracted).</span></b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><img src="../pics/mtransf3.png" x-maintain-ratio="TRUE" width="312px" height="372px" border="0" class="img_whs36"></p>
|
|
||||||
|
|
||||||
<p class="whs37"> </p>
|
|
||||||
|
|
||||||
<p class="whs38">Example:</p>
|
|
||||||
|
|
||||||
<p class="whs37"> </p>
|
|
||||||
|
|
||||||
<p class="whs39"><img src="../image191.jpg" width="300px" height="311px" border="0" class="img_whs40"></p>
|
|
||||||
|
|
||||||
<p class="whs41"> </p>
|
|
||||||
|
|
||||||
<p class="whs42"> </p>
|
|
||||||
|
|
||||||
<p class="whs42"> </p>
|
|
||||||
|
|
||||||
<p><a name=Propagate><img src="../image3.gif" width="23px" height="21px" border="0" class="img_whs43"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Propagate</B></font></span></a></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Breaks a multitude of edges of a shape into groups (builds all possible
|
|
||||||
propagation groups).</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> List
|
|
||||||
of GEOM_Objects. Each Geom Object will contain a group of edges.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.Propagate(Shape)</I></span>,
|
|
||||||
where Shape is a shape to build propagation groups on.</p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Arguments: <span
|
|
||||||
style="font-weight: normal;">1 Shape.</span></b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box: </b></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs39"><img src="../pics/mtransf4.png" x-maintain-ratio="TRUE" width="312px" height="230px" border="0" class="img_whs44"></p>
|
|
||||||
|
|
||||||
<p class="whs45"> </p>
|
|
||||||
|
|
||||||
<p class="whs46">Example:</p>
|
|
||||||
|
|
||||||
<p class="whs46"> </p>
|
|
||||||
|
|
||||||
<p class="whs47"><img src="../image15.jpg" width="250px" height="236px" border="0" class="img_whs48"> <img src="../image16.jpg" width="250px" height="233px" border="0" class="img_whs49"> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Before Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 955 B |
Before Width: | Height: | Size: 937 B |
Before Width: | Height: | Size: 927 B |
@ -1,395 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Titre</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; float:none; width:30px; height:30px; border-style:none; }
|
|
||||||
ul.whs2 { list-style:disc; }
|
|
||||||
p.whs3 { margin-left:40px; }
|
|
||||||
p.whs4 { font-size:14pt; }
|
|
||||||
img_whs5 { width:20px; height:20px; border-style:none; }
|
|
||||||
img_whs6 { border:none; border-style:none; width:312px; height:324px; float:none; }
|
|
||||||
img_whs7 { border:none; border-style:none; width:312px; height:332px; float:none; }
|
|
||||||
img_whs8 { border:none; width:150px; height:129px; border-style:none; }
|
|
||||||
p.whs9 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
|
||||||
img_whs10 { border:none; border-style:none; width:312px; height:376px; float:none; }
|
|
||||||
img_whs11 { border:none; width:150px; height:142px; border-style:none; }
|
|
||||||
img_whs12 { border:none; border-style:none; width:312px; height:315px; float:none; }
|
|
||||||
img_whs13 { border:none; width:150px; height:137px; border-style:none; }
|
|
||||||
p.whs14 { margin-left:40px; font-weight:bold; }
|
|
||||||
img_whs15 { border:none; width:150px; height:96px; border-style:none; }
|
|
||||||
img_whs16 { border:none; border-style:none; width:312px; height:402px; float:none; }
|
|
||||||
p.whs17 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs18 { border:none; width:150px; height:119px; border-style:none; }
|
|
||||||
-->
|
|
||||||
</style><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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("../geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Constructing primitives</h1>
|
|
||||||
|
|
||||||
<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><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_whs1"> </font></span><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">In
|
|
||||||
GEOM you can create different types of primitive geometrical objects </font></span></b>(3D
|
|
||||||
elements):</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs2">
|
|
||||||
|
|
||||||
<li class=kadov-p><p><a href="#box">Box</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p><a href="#cylinder">Cylinder</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p><a href="#sphere">Sphere</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p><a href="#torus">Torus</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p><a href="#cone">Cone</a></p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class=TODO>To construct primitive geometrical objects:</p>
|
|
||||||
|
|
||||||
<p class=TODO> </p>
|
|
||||||
|
|
||||||
<p class="whs3">In the main menu select <span style="font-weight: bold;"><B>New
|
|
||||||
Entity > Primitives</B></span><span>.</span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;"><a NAME=box
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif" width="20px" height="20px" border="0" class="img_whs5"><font style="font-size: 14pt;"
|
|
||||||
size=4> Box</font></a></b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Description:</b> Creates a box.</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Result:</b> GEOM_Object (SOLID).</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">TUI Command :</b> <span style="font-style: italic;"><I>geompy.MakeBox(X1,
|
|
||||||
Y1, Z1, X2, Y2, Z2)</I></span>, where
|
|
||||||
(X1, Y1, X2) and (X2, Y2, Z2) are coordinates of two points which define
|
|
||||||
a diagonal of the box.</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs2">
|
|
||||||
|
|
||||||
<li class=kadov-p><p><b style="font-weight: bold;">1st Constructor
|
|
||||||
:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>2 vertices (opposite
|
|
||||||
corners of the box).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p><b style="font-weight: bold;">2nd Constructor
|
|
||||||
:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>3 values (dimensions
|
|
||||||
at origin).</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="../pics/box1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs6"> <img src="../pics/box2.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs7"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="../image94.jpg" width="150px" height="129px" border="0" class="img_whs8"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs9"><a NAME=cylinder
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif" width="20px" height="20px" border="0" class="img_whs5"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Cylinder</font></b></a></p>
|
|
||||||
|
|
||||||
<p class="whs9"> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Description:</b> Creates a cylinder.</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Result:</b> GEOM_Object (solid).</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCylinder(Point,
|
|
||||||
Axis, Radius, Height)</I></span>, where Point is a central point of the cylinder
|
|
||||||
base, Axis (vector value) is an axis of the cylinder, Radius and Height
|
|
||||||
are correspondingly a radius and a height of the cylinder.</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs2">
|
|
||||||
|
|
||||||
<li class=kadov-p><p><b style="font-weight: bold;">1st Constructor:</b>
|
|
||||||
<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>1 vertex + 1 vector + 2 values
|
|
||||||
(Dimensions: radius and height).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p><b style="font-weight: bold;">2nd Constructor:</b>
|
|
||||||
<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>2 values (Dimensions at origin:
|
|
||||||
radius and height).</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="../pics/cylinder1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs10"> <img src="../pics/cylinder2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs10"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="../image95.jpg" width="150px" height="142px" border="0" class="img_whs11"></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><a NAME=sphere
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif" width="20px" height="20px" border="0" class="img_whs5"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Sphere</font></b></a></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Description:</b> Creates a sphere.</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Result:</b> GEOM_Object (solid).</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeSphere(Point,
|
|
||||||
Radius)</I></span>, where Point is a center of the sphere and Radius is a
|
|
||||||
radius of the sphere.</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs2">
|
|
||||||
|
|
||||||
<li class=kadov-p><p><b style="font-weight: bold;">1st Constructor
|
|
||||||
:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>1 vertex + 1 value
|
|
||||||
(Radius).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p><b style="font-weight: bold;">2nd Constructor
|
|
||||||
:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>1 value
|
|
||||||
(Radius from the origin).</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="../pics/sphere1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs12"> <img src="../pics/sphere2.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs12"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="../image96.jpg" width="150px" height="137px" border="0" class="img_whs13"></p>
|
|
||||||
|
|
||||||
<p class="whs14"> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><a NAME=torus
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif" width="20px" height="20px" border="0" class="img_whs5"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Torus</font></b></a></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Description:</b> Creates a torus.</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Result:</b> GEOM_Object (solid).</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeTorus(Point,
|
|
||||||
Vector, RadiusMajor, RadiusMinor)</I></span>, where Point is a central point
|
|
||||||
of the torus, Vector is an axis of symmetry, RadiusMajor and RadiusMinor
|
|
||||||
are correspondingly
|
|
||||||
a major and minor radiuses of the torus.</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs2">
|
|
||||||
|
|
||||||
<li class=kadov-p><p><b style="font-weight: bold;">1st Constructor:</b>
|
|
||||||
<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>1 vertex + 1 vector (for
|
|
||||||
direction) + 2 values (1 & 2 Radius).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p><b style="font-weight: bold;">2nd Constructor:</b>
|
|
||||||
<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>2 values (1 & 2 Radius
|
|
||||||
from the origin).</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="../pics/torus1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs10"> <img src="../pics/torus2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs10"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="../image97.jpg" width="150px" height="96px" border="0" class="img_whs15"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><a NAME=cone
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif" width="20px" height="20px" border="0" class="img_whs5"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Cone</font></b></a></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Description:</b> Creates a cone.</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Result:</b> GEOM_Object (SOLID).</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCone(Point,
|
|
||||||
Axis, Radius1, Radius2)</I></span>, where Point is a central point of the
|
|
||||||
cone base, Axis (vector value) is an axis of the cone, Radius1 and Radius2
|
|
||||||
are correspondingly the first and the second radiuses of the cone</p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs2">
|
|
||||||
|
|
||||||
<li class=kadov-p><p><b style="font-weight: bold;">1st Constructor:</b>
|
|
||||||
<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>1 vertex + 1 vector (for
|
|
||||||
direction) + 3 values (Radius of the base part, radius of the upper part,
|
|
||||||
height).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p><b style="font-weight: bold;">2nd Constructor:</b>
|
|
||||||
<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>3 values (Radius of the base
|
|
||||||
part, radius of the upper part, height).</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="../pics/cone1.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs16"> <img src="../pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs16"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs17"><img src="../image98.jpg" width="150px" height="119px" border="0" class="img_whs18"></p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Before Width: | Height: | Size: 945 B |
Before Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 974 B |
Before Width: | Height: | Size: 953 B |
Before Width: | Height: | Size: 960 B |
@ -1,898 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Titre</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>
|
|
||||||
<!--
|
|
||||||
A:link { color:#0000ff; }
|
|
||||||
-->
|
|
||||||
</style><style type="text/css">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
|
||||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
|
||||||
ul.whs3 { list-style:disc; }
|
|
||||||
p.whs4 { font-size:12pt; }
|
|
||||||
img_whs5 { border:none; width:30px; height:30px; float:none; border-style:none; }
|
|
||||||
p.whs6 { margin-left:40px; }
|
|
||||||
img_whs7 { border:none; width:25px; height:24px; border-style:none; }
|
|
||||||
table.whs8 { x-cell-content-align:top; width:100%; border-spacing:0px; }
|
|
||||||
col.whs9 { width:8.851%; }
|
|
||||||
col.whs10 { width:91.149%; }
|
|
||||||
tr.whs11 { x-cell-content-align:top; }
|
|
||||||
td.whs12 { width:8.851%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }
|
|
||||||
td.whs13 { width:91.149%; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }
|
|
||||||
td.whs14 { width:8.851%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }
|
|
||||||
td.whs15 { width:91.149%; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }
|
|
||||||
p.whs16 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs17 { border:none; width:403px; height:469px; float:none; border-style:none; }
|
|
||||||
img_whs18 { border:none; width:300px; height:214px; border-style:none; }
|
|
||||||
img_whs19 { border:none; width:244px; height:214px; border-style:none; }
|
|
||||||
p.whs20 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
|
||||||
img_whs21 { border:none; width:239px; height:214px; border-style:none; }
|
|
||||||
img_whs22 { width:20px; height:20px; border-style:none; }
|
|
||||||
img_whs23 { border:none; width:312px; height:289px; float:none; border-style:none; }
|
|
||||||
img_whs24 { border:none; width:150px; height:131px; border-style:none; }
|
|
||||||
p.whs25 { font-size:14pt; font-weight:bold; }
|
|
||||||
p.whs26 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
|
||||||
img_whs27 { border:none; width:312px; height:397px; float:none; border-style:none; }
|
|
||||||
p.whs28 { font-size:12pt; font-weight:bold; }
|
|
||||||
img_whs29 { border:none; width:312px; height:350px; float:none; border-style:none; }
|
|
||||||
img_whs30 { border:none; width:200px; height:214px; border-style:none; }
|
|
||||||
img_whs31 { border:none; width:176px; height:214px; border-style:none; }
|
|
||||||
img_whs32 { border:none; border-style:none; width:343px; height:123px; float:none; }
|
|
||||||
img_whs33 { border:none; width:312px; height:381px; float:none; border-style:none; }
|
|
||||||
img_whs34 { border:none; width:150px; height:136px; border-style:none; }
|
|
||||||
img_whs35 { border:none; width:312px; height:346px; float:none; border-style:none; }
|
|
||||||
img_whs36 { border:none; width:150px; height:132px; border-style:none; }
|
|
||||||
img_whs37 { border:none; width:22px; height:22px; border-style:none; }
|
|
||||||
p.whs38 { font-size:12pt; font-weight:normal; }
|
|
||||||
p.whs39 { margin-left:40px; font-size:12pt; font-weight:bold; }
|
|
||||||
img_whs40 { border:none; width:312px; height:388px; float:none; border-style:none; }
|
|
||||||
p.whs41 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
|
||||||
p.whs42 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
|
|
||||||
p.whs43 { margin-left:80px; font-size:12pt; text-indent:-40px; }
|
|
||||||
img_whs44 { border:none; width:200px; height:231px; border-style:none; }
|
|
||||||
img_whs45 { border:none; width:185px; height:231px; border-style:none; }
|
|
||||||
p.whs46 { font-size:12pt; text-indent:-68px; margin-left:72px; }
|
|
||||||
p.whs47 { font-size:12pt; text-indent:-68px; margin-left:112px; }
|
|
||||||
img_whs48 { border:none; width:312px; height:315px; float:none; border-style:none; }
|
|
||||||
p.whs49 { font-size:12pt; margin-left:112px; text-indent:-112px; }
|
|
||||||
p.whs50 { font-size:12pt; text-indent:-112px; margin-left:152px; }
|
|
||||||
img_whs51 { border:none; width:200px; height:150px; float:none; border-style:none; }
|
|
||||||
img_whs52 { border:none; width:204px; height:150px; border-style:none; }
|
|
||||||
p.whs53 { font-size:12pt; text-indent:-40px; margin-left:80px; }
|
|
||||||
p.whs54 { font-size:12pt; margin-left:80px; text-indent:-80px; }
|
|
||||||
p.whs55 { font-size:12pt; margin-left:80px; text-indent:-68px; }
|
|
||||||
img_whs56 { border:none; width:243px; height:203px; float:none; border-style:none; }
|
|
||||||
p.whs57 { font-size:12pt; margin-left:0px; }
|
|
||||||
img_whs58 { border:none; width:209px; height:138px; border-style:none; }
|
|
||||||
img_whs59 { border:none; width:192px; height:138px; border-style:none; }
|
|
||||||
img_whs60 { border:none; width:191px; height:138px; border-style:none; }
|
|
||||||
img_whs61 { border:none; width:23px; height:22px; border-style:none; }
|
|
||||||
img_whs62 { border:none; width:322px; height:163px; float:none; 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.whs41 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs42 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs43 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs46 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs47 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs49 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs50 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs53 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs54 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs55 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs57 {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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("../geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Repairing geometrical objects</h1>
|
|
||||||
|
|
||||||
<p class="whs1"><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_whs2"><span style="font-weight: normal;">Repairing operations are
|
|
||||||
used for adjustment and modification of created geometrical shapes. The
|
|
||||||
are:</span> </b></p>
|
|
||||||
|
|
||||||
<p class="whs1"><a HREF="#sewing"> </a></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs3">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> <a
|
|
||||||
href="#Shape">Shape processing</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> <a
|
|
||||||
HREF="#_Toc57113182">Suppress faces	</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> <a
|
|
||||||
href="#CloseContour">Close contour</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> <a
|
|
||||||
href="#SuppressInternalWires">Suppress internal
|
|
||||||
wires</a><a HREF="#sewing">	</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a
|
|
||||||
HREF="#_Toc57113181"> <a HREF="#_Toc57113183">Suppress
|
|
||||||
holes	</a></a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a
|
|
||||||
HREF="#_Toc57113182"> </a><a HREF="#sewing">Sewing</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> <a
|
|
||||||
href="#Glue_faces">Glue faces</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><a
|
|
||||||
HREF="#_Toc57113183"> </a><a href="#AddPointOnEdge">Add
|
|
||||||
point on edge</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> <a
|
|
||||||
href="#CheckFreeBound">Check free boundaries</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"> <a
|
|
||||||
href="#Check_free_faces">Check free faces</a><a
|
|
||||||
HREF="#_Toc57113183">	</a></p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs5"> The operations <span style="font-weight: bold;"><B>Suppress
|
|
||||||
faces, Close contour, Suppress internal wires, Suppress holes </B></span><span>and
|
|
||||||
</span><span style="font-weight: bold;"><B>Add point on edge </B></span><span>are
|
|
||||||
available only if you are using </span><span style="font-weight: bold;"><B>OCC
|
|
||||||
viewer</B></span><span>. </span></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class=TODO>To apply repairing operations:</p>
|
|
||||||
|
|
||||||
<p class=TODO> </p>
|
|
||||||
|
|
||||||
<p class="whs6">In the main menu select <span style="font-weight: bold;"><B>Repair
|
|
||||||
</B></span>submenu.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><a name=Shape><img src="../image41.gif" width="25px" height="24px" border="0" class="img_whs7"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Shape
|
|
||||||
processing</B></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Processes a shape using various operators.</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.ProcessShape(Shape, Operators,
|
|
||||||
Parameters, Values)</I></span>, where Shape is a processed shape, Operators
|
|
||||||
is a list of names of operators ("FixShape", "SplitClosedFaces",
|
|
||||||
etc.), Parameters is a list of names of parameters (“FixShape.Tolerance3d”,
|
|
||||||
etc), Values is a list of values of parameters in the same order as the
|
|
||||||
Parameters list.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 or more shapes.</p>
|
|
||||||
|
|
||||||
<table x-use-null-cells cellspacing="0" width="100%" class="whs8">
|
|
||||||
<script language='JavaScript'><!--
|
|
||||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='100%' border='1' bordercolor='black' bordercolorlight='black' bordercolordark='black'>");
|
|
||||||
//--></script>
|
|
||||||
<col class="whs9">
|
|
||||||
<col class="whs10">
|
|
||||||
|
|
||||||
<tr valign="top" class="whs11">
|
|
||||||
<td width="8.851%" class="whs12">
|
|
||||||
<p>1</td>
|
|
||||||
<td width="91.149%" class="whs13">
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitAngle –
|
|
||||||
this operator is intended for splitting faces based on conical surfaces,
|
|
||||||
surfaces of revolution and cylindrical surfaces by angle</font></span></p>
|
|
||||||
<p class="whs4">SplitAngle.Angle – angle (in radians) defining
|
|
||||||
size of result segments.</p>
|
|
||||||
<p class="whs4">SplitAngle.MaxTolerance – maximal possible
|
|
||||||
tolerance on result shape</td></tr>
|
|
||||||
|
|
||||||
<tr valign="top" class="whs11">
|
|
||||||
<td width="8.851%" class="whs14">
|
|
||||||
<p>2</td>
|
|
||||||
<td width="91.149%" class="whs15">
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitClosedFaces
|
|
||||||
– this operator is intended for dividing all closed faces in the shape
|
|
||||||
according to the number of points.</font></span></p>
|
|
||||||
<p class="whs4">SplitClosedFaces.NbSplitPoints – number of
|
|
||||||
points for cutting each closed faces.</td></tr>
|
|
||||||
|
|
||||||
<tr valign="top" class="whs11">
|
|
||||||
<td width="8.851%" class="whs14">
|
|
||||||
<p>3</td>
|
|
||||||
<td width="91.149%" class="whs15">
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixFaceSize
|
|
||||||
– this operator is intended for removing small faces (case of the spot
|
|
||||||
face and strip face)</font></span></p>
|
|
||||||
<p class="whs4">FixFaceSize.Tolerance – work tolerance defining
|
|
||||||
which faces will be removed.</td></tr>
|
|
||||||
|
|
||||||
<tr valign="top" class="whs11">
|
|
||||||
<td width="8.851%" class="whs14">
|
|
||||||
<p>4</td>
|
|
||||||
<td width="91.149%" class="whs15">
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">DropSmallEdges
|
|
||||||
– this operator is intended for removing small edges or merging with neigbour.
|
|
||||||
</font></span></p>
|
|
||||||
<p class="whs4">DropSmallEdges.Tolerance3d – work tolerance
|
|
||||||
for detection and removing small edges.</td></tr>
|
|
||||||
|
|
||||||
<tr valign="top" class="whs11">
|
|
||||||
<td width="8.851%" class="whs14">
|
|
||||||
<p>5</td>
|
|
||||||
<td width="91.149%" class="whs15">
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">BsplineRestriction
|
|
||||||
–this operator is intended for re-approximation BSplines curves and surfaces
|
|
||||||
or conversion of the curves and surfaces to BSplines with specified parameters.
|
|
||||||
</font></span></p>
|
|
||||||
<p class="whs4">BSplineRestriction.SurfaceMode - mode of approximation
|
|
||||||
of surfaces if restriction is necessary</p>
|
|
||||||
<p class="whs4">BSplineRestriction.Curve3dMode -mode of conversion
|
|
||||||
of any 3D curve to BSpline and approximation.</p>
|
|
||||||
<p class="whs4">BSplineRestriction.Curve2dMode - mode of conversion
|
|
||||||
of any 2D curve to BSpline and approximation</p>
|
|
||||||
<p class="whs4">BSplineRestriction.Tolerance3d – work tolerance
|
|
||||||
for definition of the possibility of the approximation of the surfaces
|
|
||||||
and 3D curves with specified parameters.</p>
|
|
||||||
<p class="whs4">BSplineRestriction.Tolerance2d - work tolerance
|
|
||||||
for definition of the possibility of the approximation of the 2D curves
|
|
||||||
with specified parameters.</p>
|
|
||||||
<p class="whs4">BSplineRestriction.Continuity3d – desired continuity
|
|
||||||
of the resultant surfaces and 3D curves.</p>
|
|
||||||
<p class="whs4">BSplineRestriction.Continuity2d – desired continuity
|
|
||||||
of the resultant 2D curves.</p>
|
|
||||||
<p class="whs4">BSplineRestriction.RequiredDegree - required
|
|
||||||
degree of the resultant BSplines</p>
|
|
||||||
<p class="whs4">BSplineRestriction.RequiredNbSegments - required
|
|
||||||
maximum number of segments of resultant BSp<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">lines.</font></span></td></tr>
|
|
||||||
|
|
||||||
<tr valign="top" class="whs11">
|
|
||||||
<td width="8.851%" class="whs14">
|
|
||||||
<p>6</td>
|
|
||||||
<td width="91.149%" class="whs15">
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitContinuity
|
|
||||||
– this operator is intended for splitting shapes to achieve continuities
|
|
||||||
of curves and surfaces less than specified ones. </font></span></p>
|
|
||||||
<p class="whs4">SplitContinuity.Tolerance3d - 3D tolerance
|
|
||||||
for correction of geometry.</p>
|
|
||||||
<p class="whs4">SplitContinuity.SurfaceContinuity - required
|
|
||||||
continuity for surfaces.</p>
|
|
||||||
<p class="whs4">SplitContinuity.CurveContinuity - required
|
|
||||||
continuity for curves.</td></tr>
|
|
||||||
|
|
||||||
<tr valign="top" class="whs11">
|
|
||||||
<td width="8.851%" class="whs14">
|
|
||||||
<p>7</td>
|
|
||||||
<td width="91.149%" class="whs15">
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">ToBezier - this
|
|
||||||
operator is intended for conversion of the curves and surfaces of the
|
|
||||||
all types into Bezier curves and surfaces. </font></span></p>
|
|
||||||
<p class="whs4">ToBezier.SurfaceMode - mode of conversion of
|
|
||||||
the surfaces.</p>
|
|
||||||
<p class="whs4">ToBezier.Curve3dMode – mode for conversion
|
|
||||||
of the 3D curves.</p>
|
|
||||||
<p class="whs4">ToBezier.Curve2dMode – mode for conversion
|
|
||||||
of the 2D curves.</p>
|
|
||||||
<p class="whs4">ToBezier.MaxTolerance – max possible tolerance
|
|
||||||
on the resultant shape.</td></tr>
|
|
||||||
|
|
||||||
<tr valign="top" class="whs11">
|
|
||||||
<td width="8.851%" class="whs14">
|
|
||||||
<p>8</td>
|
|
||||||
<td width="91.149%" class="whs15">
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixShape – this
|
|
||||||
operator is intended for correction of the invalid shapes </font></span></p>
|
|
||||||
<p class="whs4">FixShape.Tolerance3d – work tolerance for detection
|
|
||||||
of the problems and correction of them.</p>
|
|
||||||
<p class="whs4">FixShape.MaxTolerance3d - maximal possible
|
|
||||||
tolerance of the shape after correction.</td></tr>
|
|
||||||
|
|
||||||
<tr valign="top" class="whs11">
|
|
||||||
<td width="8.851%" class="whs14">
|
|
||||||
<p>9</td>
|
|
||||||
<td width="91.149%" class="whs15">
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SameParameter
|
|
||||||
– this operator is intended for fixing edges having not same parameter
|
|
||||||
2D and 3D curves. </font></span></p>
|
|
||||||
<p class="whs4">SameParameter.Tolerance3d – tolerance for detection
|
|
||||||
and fix problems. </td></tr>
|
|
||||||
<script language='JavaScript'><!--
|
|
||||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");
|
|
||||||
//--></script>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"><img src="../pics/repair1.png" x-maintain-ratio="TRUE" width="403px" height="469px" border="0" class="img_whs17"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs4">Shape before applying Shape Processing (FixShape
|
|
||||||
operator).</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"><img src="../image154.jpg" width="300px" height="214px" border="0" class="img_whs18"> <img src="../image156.jpg" width="244px" height="214px" border="0" class="img_whs19"></p>
|
|
||||||
|
|
||||||
<p class="whs20"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">The
|
|
||||||
same shape after applying Shape Processing.</p>
|
|
||||||
|
|
||||||
<p class="whs20"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"><img src="../image160.jpg" width="239px" height="214px" border="0" class="img_whs21"></p>
|
|
||||||
|
|
||||||
<p class="whs20"> </p>
|
|
||||||
|
|
||||||
<p class="whs20"> </p>
|
|
||||||
|
|
||||||
<p class="whs20"><a NAME=_Toc57113182><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs22"><b> Suppress faces</b></a></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Suppresses a face of a shape.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(ListOfGeomShapes).</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.SuppressFaces(Shape, ListOfID)</I></span>,
|
|
||||||
where Shape is a shape to be processed, ListOfID is a list of faces ID's
|
|
||||||
to be removed.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + Faces which should be removed (you can select them in the 3D viewer).</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"><img src="../pics/repair2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs23"></p>
|
|
||||||
|
|
||||||
<p class="whs16"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"><img src="../image53.jpg" width="150px" height="131px" border="0" class="img_whs24"> <img src="../image54.jpg" width="150px" height="131px" border="0" class="img_whs24"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs25"><a name=CloseContour><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs22"> Close contour</a></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description :</b>
|
|
||||||
Closes an open contour and modifies the underlying face (if needed) in
|
|
||||||
accordance with user specified mode:</p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs3">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4">By common vertex – a
|
|
||||||
vertex is created between the end points of the contour and its tolerance
|
|
||||||
is increased to a value of the gap between the ends of the contour;</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4">By new edge – a new edge
|
|
||||||
is inserted between the end points of the contour.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires,
|
|
||||||
IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires
|
|
||||||
is a list of edges or wires ID’s which has to be closed within the shape
|
|
||||||
(if the list contains only one element = -1, the shape itself is considered
|
|
||||||
as a wire), IsCommonVertex
|
|
||||||
if this parameter is True a closure has to be done by creation of a common
|
|
||||||
vertex, otherwise an edge is added between the end vertices.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments: <span
|
|
||||||
style="font-weight: normal;">Name + 1 shape + contour</span> <span style="font-weight: normal;">(</span></b>Wire,
|
|
||||||
or a set of Edges) + mode of closure (by vertex or by edge)</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs26"><img src="../pics/repair3.png" x-maintain-ratio="TRUE" width="312px" height="397px" border="0" class="img_whs27"></p>
|
|
||||||
|
|
||||||
<p class="whs28"> </p>
|
|
||||||
|
|
||||||
<p class="whs28">Example:</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B><a
|
|
||||||
name=SuppressInternalWires><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs22"></B></font></span> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Suppress
|
|
||||||
internal wires</B></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description :</b>
|
|
||||||
Removes all internal wires or specified internal wires from user specified
|
|
||||||
faces.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.SuppressInternalWires(Shape,
|
|
||||||
Wires)</I></span>, where Shape is a shape where wires are to be removed, Wires
|
|
||||||
is a list of wires ID’s to be removed; if the list is empty then all internal
|
|
||||||
wires are removed.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs3">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4">Name of the resulting
|
|
||||||
object</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4">User specified face</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4">User specified internal
|
|
||||||
wires (lying on this face except for its boundary), or, in case the <span
|
|
||||||
style="font-weight: bold;"><B>Remove all internal wires</B></span> box is checked,
|
|
||||||
all internal wires</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"><img src="../pics/repair4.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs29"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs28">Example:</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"><img src="../image163.jpg" width="200px" height="214px" border="0" class="img_whs30"> <img src="../image164.jpg" width="176px" height="214px" border="0" class="img_whs31"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs20"><span
|
|
||||||
style="font-family: 'Times New Roman', serif;"><a NAME=_Toc57113183><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif" width="20px" height="20px" border="0" class="img_whs22"><b style="font-size: 14pt;"> Suppress
|
|
||||||
holes</b></a> </font></span></span></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description :</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
|
|
||||||
Constructor :</b> Suppresses a hole in a shape.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
|
|
||||||
Constructor :</b> Suppresses a hole in a face.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-size: 12pt; font-style: italic;"><font size=3 style="font-size:12pt;"><I>geompy.SuppressHoles(Shape,
|
|
||||||
ListOfWireID)</I></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">, where Shape is a
|
|
||||||
shape where holes must be removed, ListOfWireID is a list of wire sub
|
|
||||||
shapes ID’s. If it is empty, then all holes are removed.</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments: </b>Name
|
|
||||||
+ 1 shape + Wires which should be removed.</p>
|
|
||||||
|
|
||||||
<p class="whs4"><span style="font-weight: bold;"><B>Remove all
|
|
||||||
holes </B></span>checkbox allows to fill all holes of a definite shape.</p>
|
|
||||||
|
|
||||||
<p class="whs4"><span style="font-weight: bold;"><B>Detect </B></span>button
|
|
||||||
allows to display the number of free boundaries in your shape:</p>
|
|
||||||
|
|
||||||
<p class="whs16"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"><img src="../pics/neo-detect2.png" x-maintain-ratio="TRUE" width="343px" height="123px" border="0" class="img_whs32"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"> <img src="../pics/repair5.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs33"></p>
|
|
||||||
|
|
||||||
<p class="whs16"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs16"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"> <img src="../image109.jpg" width="150px" height="136px" border="0" class="img_whs34"> <img src="../image110.jpg" width="150px" height="136px" border="0" class="img_whs34"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;"><a
|
|
||||||
NAME=sewing
|
|
||||||
style="font-size: 14pt;"><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif" width="20px" height="20px" border="0" class="img_whs22"> Sewing</a></b> </p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Sew several shapes.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeSewing(ListOfShape, Precision)</I></span>,
|
|
||||||
where ListOfShape is list of shapes to be sewed, Precision is a precision
|
|
||||||
for sewing.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 or more shapes + 1 value (sew precision).</p>
|
|
||||||
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>Detect
|
|
||||||
</B></span>button allows to display the number of free boundaries in your
|
|
||||||
shape:</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs16"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"><img src="../pics/neo-detect2.png" x-maintain-ratio="TRUE" width="343px" height="123px" border="0" class="img_whs32"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"><img src="../pics/repair6.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs35"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"><img src="../image112.jpg" width="150px" height="132px" border="0" class="img_whs36"> <img src="../image113.jpg" width="150px" height="132px" border="0" class="img_whs36"></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><a name=AddPointOnEdge><img src="../image42.gif" width="22px" height="22px" border="0" class="img_whs37"> <span
|
|
||||||
style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Add point on edge</B></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Splits an edge in two in accordance with the specified mode (by length
|
|
||||||
or by parameter) and a value specifying the position of the point on edge
|
|
||||||
(for example val =0.5; mode = Length). </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID,
|
|
||||||
Value, IsByParameter)</I></span>, where Shape is a shape which contains an
|
|
||||||
edge to be divided, EdgeID is the ID of the edge to be divided, if it
|
|
||||||
= -1, then Shape is an edge, Value is a paramter on the edge or a length.
|
|
||||||
IsByParameter if it is True then Value is the edge parameter in the range
|
|
||||||
[0:1] otherwise it is a length of the edge in the range [0:1]</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 Edge + 1 value setting the position of the point according to
|
|
||||||
one of the selected modes</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs38"><b style="font-weight: bold;">Dialog
|
|
||||||
Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs38"> </p>
|
|
||||||
|
|
||||||
<p class="whs39"><img src="../pics/repair8.png" x-maintain-ratio="TRUE" width="312px" height="388px" border="0" class="img_whs40"></p>
|
|
||||||
|
|
||||||
<p class="whs41"> </p>
|
|
||||||
|
|
||||||
<p class="whs42">Example:</p>
|
|
||||||
|
|
||||||
<p class="whs41"> </p>
|
|
||||||
|
|
||||||
<p class="whs43"><img src="../image167.jpg" width="200px" height="231px" border="0" class="img_whs44"> <img src="../image168.jpg" width="185px" height="231px" border="0" class="img_whs45"></p>
|
|
||||||
|
|
||||||
<p class="whs46"> </p>
|
|
||||||
|
|
||||||
<p class="whs46"> </p>
|
|
||||||
|
|
||||||
<p class="whs46"> </p>
|
|
||||||
|
|
||||||
<p class="whs46"><a name=Glue_faces><img src="../image61.gif" width="25px" height="24px" border="0" class="img_whs7"><span
|
|
||||||
style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B> Glue faces</B></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs46"> </p>
|
|
||||||
|
|
||||||
<p class="whs46"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Glues faces that are coincident with respect to the given tolerance </p>
|
|
||||||
|
|
||||||
<p class="whs46">value.</p>
|
|
||||||
|
|
||||||
<p class="whs46"> </p>
|
|
||||||
|
|
||||||
<p class="whs46"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b>
|
|
||||||
GEOM_Object.</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs46"> </p>
|
|
||||||
|
|
||||||
<p class="whs46"><b style="font-weight: bold;">TUI Command
|
|
||||||
: </b><span style="font-style: italic;"><I>geompy.MakeGlueFaces(theShape,
|
|
||||||
theTolerance)</I></span>, where theShape is a compound of shapesto be glued,
|
|
||||||
theTolerance is a maximum distance between two faces, which can be considered
|
|
||||||
as coincident.</p>
|
|
||||||
|
|
||||||
<p class="whs46"><i><span style="font-style: italic;"><I> </I></span></i></p>
|
|
||||||
|
|
||||||
<p class="whs46"><b style="font-weight: bold;">Arguments:
|
|
||||||
<span style="font-weight: normal;">Name +</span> </b>1 <i><span style="font-style: normal;">Compound
|
|
||||||
+ Tolerance value</span></i></p>
|
|
||||||
|
|
||||||
<p class="whs46"> </p>
|
|
||||||
|
|
||||||
<p class="whs46"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs46"> </p>
|
|
||||||
|
|
||||||
<p class="whs47"><img src="../pics/repair7.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs48"></p>
|
|
||||||
|
|
||||||
<p class="whs49"> </p>
|
|
||||||
|
|
||||||
<p class="whs49"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs49"> </p>
|
|
||||||
|
|
||||||
<p class="whs50"><img src="../image201.jpg" x-maintain-ratio="TRUE" width="200px" height="150px" border="0" class="img_whs51"> <img src="../image202.jpg" width="204px" height="150px" border="0" class="img_whs52"></p>
|
|
||||||
|
|
||||||
<p class="whs53"> </p>
|
|
||||||
|
|
||||||
<p class="whs53"> </p>
|
|
||||||
|
|
||||||
<p class="whs53"> </p>
|
|
||||||
|
|
||||||
<p class="whs54"><a name=CheckFreeBound><img src="../image44.gif" width="22px" height="22px" border="0" class="img_whs37"> <span
|
|
||||||
style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check free boundaries</B></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs55"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Detects wires and edges that correspond to the shape's boundary, and highlights
|
|
||||||
it</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i><span
|
|
||||||
style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>,
|
|
||||||
where Shape is a shape to be checked, NoError is false if an error occurred
|
|
||||||
while checking free boundaries, ClosedWires is a list of closed free boundary
|
|
||||||
wires, OpenWires is a list of open free boundary wires.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Shape</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs38"><b style="font-weight: bold;">Dialog
|
|
||||||
Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs38"> </p>
|
|
||||||
|
|
||||||
<p class="whs26"><img src="../pics/repair9.png" x-maintain-ratio="TRUE" width="243px" height="203px" border="0" class="img_whs56"></p>
|
|
||||||
|
|
||||||
<p class="whs57"> </p>
|
|
||||||
|
|
||||||
<p class="whs57"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs57"> </p>
|
|
||||||
|
|
||||||
<p class="whs57"><img src="../image170.jpg" width="209px" height="138px" border="0" class="img_whs58"> <img src="../image171.jpg" width="192px" height="138px" border="0" class="img_whs59"> <img src="../image172.jpg" width="191px" height="138px" border="0" class="img_whs60"></p>
|
|
||||||
|
|
||||||
<p class="whs57"> </p>
|
|
||||||
|
|
||||||
<p class="whs57"> </p>
|
|
||||||
|
|
||||||
<p class="whs57"> </p>
|
|
||||||
|
|
||||||
<p class="whs57"><a name=Check_free_faces><img src="../image10.gif" width="23px" height="22px" border="0" class="img_whs61"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check free
|
|
||||||
faces</B></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs57"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Description:
|
|
||||||
</b>Retrieves all free faces from a given shape.<span> A free face is
|
|
||||||
a face not shared between two shells of the shape. </span></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.
|
|
||||||
Returns a list of IDs of all free faces, contained in the shape.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i><span
|
|
||||||
style="font-style: italic;"> <I></i>GetFreeFacesIDs(Shape)</I></span>, where
|
|
||||||
Shape is a shape to be checked.</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Shape</p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs38"><b style="font-weight: bold;">Dialog
|
|
||||||
Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs38"> </p>
|
|
||||||
|
|
||||||
<p class="whs16"><img src="../pics/repair10.png" x-maintain-ratio="TRUE" width="322px" height="163px" border="0" class="img_whs62"></p>
|
|
||||||
|
|
||||||
<p class="whs41"> </p>
|
|
||||||
|
|
||||||
<p class="whs41"> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Before Width: | Height: | Size: 970 B |
Before Width: | Height: | Size: 972 B |
Before Width: | Height: | Size: 971 B |
@ -1,669 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Titre</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>
|
|
||||||
<!--
|
|
||||||
A:visited { color:#800080; }
|
|
||||||
A:link { color:#0000ff; }
|
|
||||||
-->
|
|
||||||
</style><style type="text/css">
|
|
||||||
<!--
|
|
||||||
p.whs1 { font-size:12pt; }
|
|
||||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
|
||||||
ul.whs3 { list-style:disc; }
|
|
||||||
p.whs4 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
|
||||||
p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
|
||||||
img_whs6 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs7 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs8 { border:none; border-style:none; width:312px; height:393px; float:none; }
|
|
||||||
img_whs9 { border:none; border-style:none; width:312px; height:385px; float:none; }
|
|
||||||
p.whs10 { margin-left:40px; }
|
|
||||||
img_whs11 { border:none; width:150px; height:163px; border-style:none; }
|
|
||||||
img_whs12 { border:none; border-style:none; width:312px; height:376px; float:none; }
|
|
||||||
img_whs13 { border:none; width:150px; height:145px; border-style:none; }
|
|
||||||
p.whs14 { margin-left:48px; text-indent:-48px; }
|
|
||||||
p.whs15 { margin-left:48px; text-indent:-48px; font-size:14pt; font-weight:bold; }
|
|
||||||
img_whs16 { border:none; width:25px; height:22px; border-style:none; }
|
|
||||||
img_whs17 { border:none; border-style:none; width:312px; height:350px; float:none; }
|
|
||||||
p.whs18 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
|
||||||
p.whs19 { font-size:12pt; text-indent:-40px; margin-left:80px; }
|
|
||||||
img_whs20 { border:none; width:200px; height:209px; border-style:none; }
|
|
||||||
img_whs21 { border:none; width:150px; height:127px; border-style:none; }
|
|
||||||
p.whs22 { margin-left:40px; font-size:12pt; }
|
|
||||||
img_whs23 { border:none; width:150px; height:153px; border-style:none; }
|
|
||||||
img_whs24 { border:none; width:24px; height:22px; border-style:none; }
|
|
||||||
p.whs25 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
|
||||||
img_whs26 { border:none; border-style:none; width:312px; height:315px; float:none; }
|
|
||||||
p.whs27 { font-size:12pt; font-weight:bold; }
|
|
||||||
img_whs28 { border:none; width:200px; height:191px; border-style:none; }
|
|
||||||
img_whs29 { border:none; border-style:none; width:312px; height:398px; float:none; }
|
|
||||||
img_whs30 { border:none; border-style:none; width:312px; height:509px; float:none; }
|
|
||||||
img_whs31 { border:none; width:150px; height:123px; border-style:none; }
|
|
||||||
img_whs32 { border:none; border-style:none; width:312px; height:346px; float:none; }
|
|
||||||
img_whs33 { border:none; border-style:none; width:312px; height:450px; float:none; }
|
|
||||||
img_whs34 { border:none; width:150px; height:128px; border-style:none; }
|
|
||||||
img_whs35 { border:none; width:150px; height:113px; 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.whs14 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs15 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs18 {text-indent:1pt; }";
|
|
||||||
strNSS += "p.whs19 {text-indent: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("../geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1>Using transformation operations</h1>
|
|
||||||
|
|
||||||
<p class="whs1"><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_whs2"> <span style="font-weight: normal;">In GEOM there is a set
|
|
||||||
of operations allowing to transform the initial geometrical object into
|
|
||||||
other objects, which will be also created. These operations are</span></b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs3">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><a
|
|
||||||
HREF="#_Toc57113210"><font><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Translation	</font></span></font></a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><a
|
|
||||||
HREF="#_Toc57113211">Rotation</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><a
|
|
||||||
href="#_Toc57113217">Modify the location</a><a HREF="#_Toc57113211">	</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><a
|
|
||||||
HREF="#_Toc57113212"><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Mirror
|
|
||||||
image	</font></span></a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><a
|
|
||||||
HREF="#_Toc57113213">Scale transform</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><a
|
|
||||||
href="#_Toc57113216">Offset surface</a><a HREF="#_Toc57113213">	</a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><a
|
|
||||||
HREF="#_Toc57113214"><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Multi-Translation
|
|
||||||
(Pattern)	</font></span></a></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs4"><a
|
|
||||||
HREF="#_Toc57113215">Multi-Rotation (Pattern)</a></p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">All these operations are accessible in the
|
|
||||||
main menu, via <span style="font-style: italic;"><I>Operations / Transformation.</I></span></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><b style="font-weight: bold;"><a
|
|
||||||
NAME=_Toc57113210><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif" width="20px" height="20px" border="0" class="img_whs6"><font
|
|
||||||
style="font-size: 14pt;"
|
|
||||||
size=4> Translation</font></a></b> </font></span></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Makes a translation of a shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeTranslation(Shape, DX,
|
|
||||||
DY, DZ)</I></span>, where Shape is a shape to be translated, DX, DY, DZ are
|
|
||||||
components of translation vector.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs3">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
|
|
||||||
Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
|
|
||||||
+ 3 values (coordinates).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2st
|
|
||||||
Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
|
|
||||||
+ 2 vertices.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">3st
|
|
||||||
Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
|
|
||||||
+ 1 vector.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-weight: bold;"><B>Create a copy
|
|
||||||
</B></span>checkbox allows to keep the initial object, otherwise it will be
|
|
||||||
removed.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../pics/transformation1.png" x-maintain-ratio="TRUE" width="312px" height="393px" border="0" class="img_whs8"> <img src="../pics/transformation2.png" x-maintain-ratio="TRUE" width="312px" height="393px" border="0" class="img_whs8"> <img src="../pics/transformation3.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs9"></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs10"><img src="../image6.gif" width="150px" height="163px" border="0" class="img_whs11"> <img src="../image8.jpg" width="150px" height="163px" border="0" class="img_whs11"></p>
|
|
||||||
|
|
||||||
<p class="whs10"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=_Toc57113211><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Rotation</font></b></a>
|
|
||||||
</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Rotates the initial shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeRotation(Shape, Axis,
|
|
||||||
Angle)</I></span>, where Shape is a shape to be rotated, Axis is an axis of
|
|
||||||
rotation, Angle is an angle of rotation.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
1 shape + 1 vector for direction of rotation + 1 angle.</p>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-weight: bold;"><B>Reverse </B></span>checkbox
|
|
||||||
allows to specify the direction of rotation.</p>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-weight: bold;"><B>Create a copy
|
|
||||||
</B></span>checkbox allows to keep the initial object, otherwise it will be
|
|
||||||
removed.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../pics/transformation4.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs12"></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs10"><img src="../image9.jpg" width="150px" height="145px" border="0" class="img_whs13"> <img src="../image10.jpg" width="150px" height="145px" border="0" class="img_whs13"></p>
|
|
||||||
|
|
||||||
<p class="whs10"> </p>
|
|
||||||
|
|
||||||
<p class="whs14"> </p>
|
|
||||||
|
|
||||||
<p class="whs15"><a name=_Toc57113217
|
|
||||||
style="font-size: 14pt; font-weight: bold;"><img src="../image59.gif" width="25px" height="22px" border="0" class="img_whs16"> Modify the Location</a></p>
|
|
||||||
|
|
||||||
<p class="whs14"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Modification of location of an object.</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where theObject
|
|
||||||
is a shape, location of which is modified, theStartLCS is a location to
|
|
||||||
move the shape from, theEndLCS is a location to move the shape to.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 GEOM_Object + [Starting Coordinate System] + End Coordinate System.</p>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-weight: bold;"><B>Create a copy
|
|
||||||
</B></span>checkbox allows to keep the initial object, otherwise it will be
|
|
||||||
removed.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../pics/transformation5.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs17"> <img src="../pics/transformation6.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs9"></p>
|
|
||||||
|
|
||||||
<p class="whs18"> </p>
|
|
||||||
|
|
||||||
<p class="whs18"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs18"> </p>
|
|
||||||
|
|
||||||
<p class="whs19"><img src="../image197.jpg" width="200px" height="209px" border="0" class="img_whs20"></p>
|
|
||||||
|
|
||||||
<p class="whs18"> </p>
|
|
||||||
|
|
||||||
<p class="whs18"> </p>
|
|
||||||
|
|
||||||
<p class="whs18"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=_Toc57113212><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Mirror</b></a>
|
|
||||||
</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Symmetrical copy of a shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeMirrorByPlane(Shape,
|
|
||||||
Plane)</I></span>, where Shape is a shape to be mirrored, Plane is a plane
|
|
||||||
of symmetry.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs3">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
|
|
||||||
Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
|
|
||||||
+ 1 vertex.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2st
|
|
||||||
Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
|
|
||||||
+ 1 vector.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">3st
|
|
||||||
Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
|
|
||||||
+ 1 plane.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-weight: bold;"><B>Create a copy
|
|
||||||
</B></span><span>checkbox allows to keep the initial object, otherwise it
|
|
||||||
will be removed.</span></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../pics/transformation7.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs17"> <img src="../pics/transformation8.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs17"> <img src="../pics/transformation9.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs17"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../image121.jpg" width="150px" height="127px" border="0" class="img_whs21"> <img src="../image122.jpg" width="150px" height="127px" border="0" class="img_whs21"></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=_Toc57113213><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Scale transform</a>
|
|
||||||
</font></b></font></span></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates a scaled shape basing on the initial shape.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeScaleTransform(Shape,
|
|
||||||
CenterOfScale, Factor)</I></span>, where Shape is a shape to be scaled, CenterOfScale
|
|
||||||
is a center point of scale, Factor is a factor of the scale.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 shape(s) + 1 vertex + 1 Scale Factor.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../pics/transformation10.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs17"></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs22"><img src="../image23.gif" width="150px" height="153px" border="0" class="img_whs23"> <img src="../image124.jpg" width="150px" height="153px" border="0" class="img_whs23"></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs18"><a name=_Toc57113216><img src="../image37.gif" width="24px" height="22px" border="0" class="img_whs24"> <span
|
|
||||||
style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Offset surface</B></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs18"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Each point is translated along a local normal by a given distance (signed
|
|
||||||
number, negative value meaning inner offset). Offset operation is applicable
|
|
||||||
to faces, shells and solids.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:
|
|
||||||
</b><span style="font-style: italic;"><I>geompy.MakeOffset(Shape, Offset)</I></span>,
|
|
||||||
where Shape is a shape which has to be an offset, Offset is a value of
|
|
||||||
the offset.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<ul type="disc" class="whs3">
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><span><font size=3 style="font-size:12pt;">Name of the resulting
|
|
||||||
object</font></span></p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1">GEOM_Object (face, shell,
|
|
||||||
solid, compound) </p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1">offset value </p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs25"><img src="../pics/transformation11.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs26"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs27">Example:</p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../image151.jpg" width="200px" height="191px" border="0" class="img_whs28"></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=_Toc57113214><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
|
|
||||||
size=4> Multi-Translation</font></b></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Makes several translations of a shape in <span style="font-weight: bold;"><B>one</B></span>
|
|
||||||
or <span style="font-weight: bold;"><B>two</B></span> directions.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(compound).</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiTranslation1D(Shape,
|
|
||||||
Dir, Step, NbTimes)</I></span>, where Shape is a shape to be translated, Dir
|
|
||||||
is a direction of translation, Step is a step of the translation, NbTimes
|
|
||||||
is a number of times the shape must be moved.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiTranslation2D(Shape,
|
|
||||||
Dir1, Step1, NbTimes1, Dir2, Step2, NbTimes2)</I></span>, where Shape is a
|
|
||||||
shape to be translated, Dir1 is the first direction of translation, Step1
|
|
||||||
of the first translation, NbTimes1 is a number of translations to be done
|
|
||||||
along, Dir2 is the second direction of translation, Step2 of the second
|
|
||||||
translation, NbTimes2 is a number of translations to be done along Dir2.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
|
|
||||||
Constructor <span style="font-weight: normal;">(in one direction):</span></b>
|
|
||||||
Name + 1 shape + 1 vector (for direction) + 1 step value + 1 value (repetition).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2nd
|
|
||||||
Constructor<span style="font-weight: normal;"> (in two directions):</span></b>
|
|
||||||
Name + 1 shape + 2 vectors defining the direction + 2 step values + 2
|
|
||||||
values (repetitions).</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../pics/mtrans1.png" x-maintain-ratio="TRUE" width="312px" height="398px" border="0" class="img_whs29"> <img src="../pics/mtrans2.png" x-maintain-ratio="TRUE" width="312px" height="509px" border="0" class="img_whs30"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">One direction:</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../image24.gif" width="150px" height="123px" border="0" class="img_whs31"> <img src="../image128.jpg" width="150px" height="123px" border="0" class="img_whs31"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">Two directions:</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../image24.gif" width="150px" height="123px" border="0" class="img_whs31"> <img src="../image127.jpg" width="150px" height="123px" border="0" class="img_whs31"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><a NAME=_Toc57113215><span
|
|
||||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Multi-Rotation</b></font></span></a></p>
|
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
|
||||||
Creates several rotated geometrical objects in <span style="font-weight: bold;"><B>one
|
|
||||||
</B></span><span>or </span><span style="font-weight: bold;"><B>two </B></span><span>directions
|
|
||||||
basing on the initial geometrical object</span>.</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
|
||||||
(compound).</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiRotation1D(Shape,
|
|
||||||
Axis, NbTimes)</I></span>, where Shape is a shape to be rotated, Axis is an
|
|
||||||
Axis of rotation, NbTimes is a number of the shape must be rotated.</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiRotation2D(Shape,
|
|
||||||
Axis, Angle, NbTimes1, Step, NbTimes2)</I></span>, where Shape is a shape
|
|
||||||
to be rotated, Axis is an axis of rotation, Angle is an angle of rotation,
|
|
||||||
NbTimes1 is a number of rotation, Step is a step of translation, NbTimes2
|
|
||||||
is a number of translation.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
|
|
||||||
Constructor <span style="font-weight: normal;">(in one direction):</span></b>
|
|
||||||
Name + 1 shape + 1 vector for direction + 1 value (repetition).</p></li>
|
|
||||||
|
|
||||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2nd
|
|
||||||
Constructor <span style="font-weight: normal;">(in two directions):</span></b>
|
|
||||||
Name + 1 shape + 1 vector for direction + 1 angle + 1 value (repetition)
|
|
||||||
+ 1 step value + 1 value (repetition); <span style="font-weight: bold;"><B>Reverse
|
|
||||||
</B></span><span>checkbox allows to set the direction of rotation</span>.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../pics/neo-mrot1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs32"> <img src="../pics/neo-mrot2.png" x-maintain-ratio="TRUE" width="312px" height="450px" border="0" class="img_whs33"></p>
|
|
||||||
|
|
||||||
<p class="whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b
|
|
||||||
style="font-weight: bold;">E</b>xample:</b></font></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">One direction:</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../image129.jpg" width="150px" height="128px" border="0" class="img_whs34"> <img src="../image130.jpg" width="150px" height="128px" border="0" class="img_whs34"></p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs1">Two directions:</p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<p class="whs7"><img src="../image25.gif" width="150px" height="113px" border="0" class="img_whs35"> <img src="../image133.jpg" width="150px" height="113px" border="0" class="img_whs35"></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs1"> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Before Width: | Height: | Size: 929 B |
Before Width: | Height: | Size: 956 B |
Before Width: | Height: | Size: 935 B |
Before Width: | Height: | Size: 945 B |
Before Width: | Height: | Size: 949 B |
Before Width: | Height: | Size: 977 B |
@ -1,179 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Fillet</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
img_whs3 { border:none; width:312px; height:315px; float:none; border-style:none; }
|
|
||||||
p.whs4 { font-size:12pt; margin-left:0px; }
|
|
||||||
img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }
|
|
||||||
p.whs6 { font-size:12pt; font-style:italic; }
|
|
||||||
img_whs7 { border:none; width:226px; height:250px; float:none; border-style:none; }
|
|
||||||
img_whs8 { border:none; float:none; width:208px; height:250px; border-style:none; }
|
|
||||||
img_whs9 { border:none; width:220px; height:251px; float:none; border-style:none; }
|
|
||||||
p.whs10 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
|
||||||
-->
|
|
||||||
</style><script type="text/javascript" language="JavaScript">
|
|
||||||
<!--
|
|
||||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
|
||||||
{
|
|
||||||
var strNSS = "<style type='text/css'>";
|
|
||||||
strNSS += "p.whs4 {margin-left:1pt; }";
|
|
||||||
strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nFillet");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Fillet</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
|
||||||
a <span style="font-weight: bold;"><B>Fillet</B></span> in the Main Menu select
|
|
||||||
<span style="font-weight: bold;"><B>Operations - > Transformation - >
|
|
||||||
Fillet</B></span> </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<p class="whs2">This operation creates<span style="font-weight: bold;">
|
|
||||||
<B></B></span>fillets on the edges of a shape.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">To create fillets on all edges of the given
|
|
||||||
shape, you need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
|
|
||||||
to create a fillet on and the <span style="font-weight: bold;"><B>Radius</B></span>
|
|
||||||
of the Fillet. </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i>geompy.MakeFilletAll(Shape, R) </p>
|
|
||||||
|
|
||||||
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span
|
|
||||||
style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 value
|
|
||||||
(fillet radius).</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><img src="pics/fillet1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs3"></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">To create fillets on
|
|
||||||
the specified edges or faces of the given shape, you
|
|
||||||
need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
|
|
||||||
to create a fillet on, select the necessary edges or faces in the object
|
|
||||||
browser or in the viewer and define the <span
|
|
||||||
style="font-weight: bold;"><B>Radius</B></span>
|
|
||||||
of the Fillet. </p>
|
|
||||||
|
|
||||||
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold; font-style: normal;">TUI
|
|
||||||
Command:</b><i> </i>geompy.MakeFillet(Shape, R, ShapeType, ListShapes)
|
|
||||||
</I></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span
|
|
||||||
style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 Selection
|
|
||||||
of edges (or faces) + 1 value (Fillet radius).</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><img src="pics/fillet2.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"> <img src="pics/fillet3.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs6">Fillet on all Fillet
|
|
||||||
on an edge Fillet
|
|
||||||
on a Face</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><img src="pics/fillet_all.png" x-maintain-ratio="TRUE" width="226px" height="250px" border="0" class="img_whs7"> <img src="pics/fillet_edge.png" x-maintain-ratio="TRUE" width="208px" height="250px" border="0" class="img_whs8"><span style="font-size: 12pt; margin-left: 40px;"> <font size=3 style="font-size:12pt;"> <img src="pics/fillet_prism.png" x-maintain-ratio="TRUE" width="220px" height="251px" border="0" class="img_whs9"></font></span></p>
|
|
||||||
|
|
||||||
<p class="whs10"> </p>
|
|
||||||
|
|
||||||
<p class="whs10"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
|
|
||||||
style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
|
|
||||||
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark3">Transformation
|
|
||||||
Operations</a>. </font></span></p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,153 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Filling</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; margin-left:0px; }
|
|
||||||
img_whs4 { border:none; width:312px; height:367px; float:none; border-style:none; }
|
|
||||||
p.whs5 { font-size:12pt; margin-left:40px; }
|
|
||||||
img_whs6 { border:none; float:none; width:263px; height:235px; border-style:none; }
|
|
||||||
img_whs7 { border:none; float:none; width:267px; height:233px; 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.whs3 {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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nCreating geometrical objects\nGeneration of Complex Objects\nFilling");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Filling
|
|
||||||
Surface with Curves</h1>
|
|
||||||
|
|
||||||
<p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">generate
|
|
||||||
a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Filling</B></font></span><span
|
|
||||||
style="font-size: 12pt;"> <font size=3 style="font-size:12pt;"></font></span>in the <span style="font-weight: bold;"><B>Main
|
|
||||||
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
|
|
||||||
Generation -
|
|
||||||
> Filling</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">To create a curving face using several curves
|
|
||||||
you need to define the <span style="font-weight: bold;"><B>Curves</B></span>,
|
|
||||||
which will be the components of your face, <span style="font-weight: bold;"><B>Minimum</B></span>
|
|
||||||
and <span style="font-weight: bold;"><B>Maximum Degree</B></span>, <span style="font-weight: bold;"><B>Tolerance
|
|
||||||
</B></span>for<span style="font-weight: bold;"><B> 2D</B></span> and for <span style="font-weight: bold;"><B>3D
|
|
||||||
</B></span> and
|
|
||||||
the <span style="font-weight: bold;"><B>Number of Iterations</B></span>. </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
||||||
Result <span style="font-weight: normal;">of the operation will be a</span></b>
|
|
||||||
GEOM_Object (face).</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeFilling(Shape, MinDegree,
|
|
||||||
MaxDegree, Tol2D, Tol3D, NbIter)</I></span>,</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 1 List of edges + 5 Parameters (Min. degree, Max. degree, Number
|
|
||||||
of iterations, 2D tolerance, 3D tolerance).</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><img src="pics/filling.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs4"></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"><img src="pics/filling_compoundsn.png" x-maintain-ratio="TRUE" width="263px" height="235px" border="0" class="img_whs6"> <img src="pics/fillingsn.png" x-maintain-ratio="TRUE" width="267px" height="233px" border="0" class="img_whs7"> </p>
|
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
||||||
of creation of <a href="complex_objects.htm#bookmark2">Complex Geometric
|
|
||||||
Objects</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,147 +0,0 @@
|
|||||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Fuse</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 { width:20px; height:20px; border-style:none; }
|
|
||||||
p.whs2 { font-size:12pt; }
|
|
||||||
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
|
||||||
p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
|
|
||||||
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
|
||||||
p.whs6 { list-style:disc; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
|
|
||||||
img_whs7 { border:none; float:none; width:250px; height:262px; border-style:none; }
|
|
||||||
img_whs8 { border:none; float:none; width:250px; height:263px; 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.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
|
||||||
strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
|
||||||
strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom: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; }
|
|
||||||
-->
|
|
||||||
</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>
|
|
||||||
</head>
|
|
||||||
<body><script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.gbWhTopic)
|
|
||||||
{
|
|
||||||
if (window.addTocInfo)
|
|
||||||
{
|
|
||||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nFuse");
|
|
||||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (window.writeBtnStyle)
|
|
||||||
writeBtnStyle();
|
|
||||||
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(1);
|
|
||||||
|
|
||||||
if (window.setRelStartPage)
|
|
||||||
{
|
|
||||||
setRelStartPage("geom.htm");
|
|
||||||
|
|
||||||
autoSync(1);
|
|
||||||
sendSyncInfo();
|
|
||||||
sendAveInfoOut();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
if (window.gbIE4)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Fuse</h1>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
|
||||||
a <span style="font-weight: bold;"><B>Fuse</B></span> in the Main Menu select
|
|
||||||
<span style="font-weight: bold;"><B>Operations - > Boolean - > Fuse</B></span></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
|
|
||||||
style="font-weight: normal;">This operation creates a shape from two</span>
|
|
||||||
</b>shapes.</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
|
|
||||||
style="font-weight: normal;">The</span> Result<span style="font-weight: normal;">
|
|
||||||
will be a</span></b> GEOM_Object (COMPOUND).</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
|
|
||||||
Name + 2 shapes.</font></span></p>
|
|
||||||
|
|
||||||
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>TUI
|
|
||||||
Command:</B></span> <span style="font-style: italic;"><I>geompy.MakeFuse(s1,
|
|
||||||
s2)</I></span> </font></span></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/bool1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></font></span></p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example:</b></font></span></p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
|
||||||
|
|
||||||
<p class="whs6"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="250px" height="262px" border="0" class="img_whs7"> <img src="pics/fusesn2.png" x-maintain-ratio="TRUE" width="250px" height="263px" border="0" class="img_whs8"></font></span></p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
|
|
||||||
provide you with useful examples of the use of <a href="boolean_operations.htm#bookmark">Boolean
|
|
||||||
Operations</a>. </p>
|
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
|
||||||
<!--
|
|
||||||
if (window.writeIntopicBar)
|
|
||||||
writeIntopicBar(0);
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,139 +0,0 @@
|
|||||||
|
|
||||||
<html>
|
|
||||||
<head><script language="javascript">
|
|
||||||
<!--
|
|
||||||
var sIcon="whstart.ico";
|
|
||||||
var sPath=document.location.href;
|
|
||||||
if (sPath.indexOf("http")!= -1)
|
|
||||||
document.write("<link REL=\"SHORTCUT ICON\" href=\""+ sIcon +"\">");
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<title>GEOM reference manual</title>
|
|
||||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
|
||||||
<meta name="description" content="WebHelp 5.50">
|
|
||||||
</head>
|
|
||||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
|
||||||
<script type="text/javascript" language="javascript" src="whutils.js"></script>
|
|
||||||
<script type="text/javascript" language="javascript" src="whmsg.js"></script>
|
|
||||||
<script type="text/javascript" language="javascript" >
|
|
||||||
<!--
|
|
||||||
if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)
|
|
||||||
document.location.reload();
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript" src="whstub.js"></script>
|
|
||||||
<script language="javascript">
|
|
||||||
<!--
|
|
||||||
var nWebhelpNavPaneMode = 1; //1: DHTML 2:Applet 3:PureHTML 4:NoframeAt all
|
|
||||||
var strPaneDHTML = "whskin_pdhtml.htm"; //whd_nvp10.htm if tab enabled, whnframe.htm if tab disabled.
|
|
||||||
var strPaneApplet = "whskin_papplet.htm";
|
|
||||||
var strPaneList = "whskin_plist.htm";
|
|
||||||
var bNoApplet = false;
|
|
||||||
|
|
||||||
var strPane = "";
|
|
||||||
|
|
||||||
var nViewFrameType = -1;
|
|
||||||
|
|
||||||
if (!window.gAgent)
|
|
||||||
{
|
|
||||||
// low end browser, we don't even try to determine it.
|
|
||||||
document.location = "whnjs.htm";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (!gbNav4&&!gbIE4&&!gbOpera7&&!gbSafari)
|
|
||||||
document.location = "whnjs.htm";
|
|
||||||
else if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))
|
|
||||||
document.location = "whnjs.htm";
|
|
||||||
else if (gbMac && gbIE4 && !gbIE5)
|
|
||||||
document.location = "whnjs.htm";
|
|
||||||
//figure out which mode is the best
|
|
||||||
else
|
|
||||||
{
|
|
||||||
nViewFrameType=nWebhelpNavPaneMode;
|
|
||||||
if (nWebhelpNavPaneMode==1||nWebhelpNavPaneMode == 2)
|
|
||||||
{
|
|
||||||
var gbDHTML=(nWebhelpNavPaneMode==1);
|
|
||||||
if (gbNav4) nViewFrameType = 2;
|
|
||||||
if (gbNav4&&(gnVerMinor < 4.1)) nViewFrameType = 3;
|
|
||||||
if (gbNav4&&(gnVerMinor == 4.6)) nViewFrameType = 3;
|
|
||||||
if (gbIE4&&gbDHTML) nViewFrameType = 1;
|
|
||||||
if (gbIE4&&gbSunOS&&nWebhelpNavPaneMode==2) nViewFrameType = 3;
|
|
||||||
if (gbNav4&&gbSunOS&&nViewFrameType==2) nViewFrameType = 3;
|
|
||||||
if (gbNav6&&gbDHTML) nViewFrameType = 1;
|
|
||||||
if (gbNav6&&!gbNav61&&nWebhelpNavPaneMode == 2) nViewFrameType = 3;
|
|
||||||
if (gbMac) nViewFrameType = 3;
|
|
||||||
if (gbOpera7&&nViewFrameType == 2) nViewFrameType = 3;
|
|
||||||
if ((bNoApplet)&&(nViewFrameType == 2)) nViewFrameType = 3;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (nViewFrameType!=-1)
|
|
||||||
{
|
|
||||||
var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));
|
|
||||||
//The colordepth of the 16 color on Windows is 1.
|
|
||||||
if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))
|
|
||||||
{
|
|
||||||
alert("WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors.");
|
|
||||||
nViewFrameType = 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
//figure out which one is navpane
|
|
||||||
// ReplaceMark:nViewFrameType = 1
|
|
||||||
if (nViewFrameType == 1)
|
|
||||||
{
|
|
||||||
if (gbNav4 && !gbNav6)
|
|
||||||
strPane = strPaneList;
|
|
||||||
else
|
|
||||||
strPane = strPaneDHTML;
|
|
||||||
}
|
|
||||||
else if (nViewFrameType == 2)
|
|
||||||
strPane = strPaneApplet;
|
|
||||||
else
|
|
||||||
strPane = strPaneList;
|
|
||||||
}
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" language="javascript" src="whstart.js"></script>
|
|
||||||
<script type="text/javascript" language="javascript">
|
|
||||||
<!--
|
|
||||||
if (!gbIE4&&!gbNav4&&!gbOpera7&&!gbSafari)
|
|
||||||
document.location = "whnjs.htm";
|
|
||||||
|
|
||||||
function CMRAgent( strID, strURL, strLabel, strFrameAttr )
|
|
||||||
{
|
|
||||||
this.m_strID = strID;
|
|
||||||
this.m_strURL = strURL;
|
|
||||||
this.m_strLabel = strLabel;
|
|
||||||
this.m_strFrameAttr = strFrameAttr;
|
|
||||||
}
|
|
||||||
|
|
||||||
function CMRServer()
|
|
||||||
{
|
|
||||||
this.m_cAgents = new Array;
|
|
||||||
}
|
|
||||||
var cMRServer = new CMRServer;
|
|
||||||
// GetServerInfo
|
|
||||||
// Registry the agent array handled by webhelp
|
|
||||||
// ReplaceMark:MRServer.strServerData
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript">
|
|
||||||
<!--
|
|
||||||
if (nViewFrameType!=-1)
|
|
||||||
{
|
|
||||||
var strHTML = "<frameset rows=\"32,*\" hostof=\"parent:toolbar!startpage:yes\" frameborder=\"0\" border=\"0\"><frame src=\"whskin_tbars.htm\" id=\"toolbar\" frameborder=\"0\" border=\"0\" scrolling=\"no\" noresize marginheight=\"0\" marginwidth=\"0\" title=\"Toolbar\"></frame><frame src=\"whskin_frmset01.htm\" frameborder=\"1\" border=\"1\" scrolling=\"auto\" marginheight=\"0\" marginwidth=\"0\"></frame></frameset>";
|
|
||||||
document.write(strHTML);
|
|
||||||
}
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<frameset cols="100%,*" frameborder=no border=0>
|
|
||||||
<frame src="whnjs.htm">
|
|
||||||
<frame src="whskin_blank.htm" noresize>
|
|
||||||
</frameset>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,648 +0,0 @@
|
|||||||
|SourceProjectName:GEOM.hpr
|
|
||||||
|DestinationProjectName:geom.htm
|
|
||||||
whhost.js
|
|
||||||
whmsg.js
|
|
||||||
whmozemu.js
|
|
||||||
whproxy.js
|
|
||||||
whstub.js
|
|
||||||
whutils.js
|
|
||||||
whver.js
|
|
||||||
whform.js
|
|
||||||
whphost.js
|
|
||||||
whstart.js
|
|
||||||
whtopic.js
|
|
||||||
whframes.js
|
|
||||||
whlang.js
|
|
||||||
whskin_info.htm
|
|
||||||
whskin_blank.htm
|
|
||||||
whskin_pickup.htm
|
|
||||||
whskin_homepage.htm
|
|
||||||
whskin_tw.htm
|
|
||||||
whnjs.htm
|
|
||||||
whthost.js
|
|
||||||
whtdhtml.htm
|
|
||||||
whihost.js
|
|
||||||
whibody.htm
|
|
||||||
whiform.htm
|
|
||||||
whfhost.js
|
|
||||||
whfbody.htm
|
|
||||||
whfform.htm
|
|
||||||
whghost.js
|
|
||||||
whgbody.htm
|
|
||||||
whgdhtml.htm
|
|
||||||
whgdef.htm
|
|
||||||
whproj.js
|
|
||||||
whproj.xml
|
|
||||||
whproj.htm
|
|
||||||
whxdata\whtoc.xml
|
|
||||||
whxdata\whidx.xml
|
|
||||||
whxdata\whfts.xml
|
|
||||||
whxdata\whglo.xml
|
|
||||||
whdata\whtoc.js
|
|
||||||
whdata\whtoc.htm
|
|
||||||
whdata\whtdata.js
|
|
||||||
whdata\whidx.js
|
|
||||||
whdata\whidx.htm
|
|
||||||
whdata\whidata.js
|
|
||||||
whdata\whfts.js
|
|
||||||
whdata\whfts.htm
|
|
||||||
whdata\whglo.js
|
|
||||||
whdata\whglo.htm
|
|
||||||
whdata\whgdata.js
|
|
||||||
whdata\whftdata.js
|
|
||||||
whdata\whfwdata.js
|
|
||||||
whres.xml
|
|
||||||
webhelp.jar
|
|
||||||
webhelp.cab
|
|
||||||
whgdata\whnvp30.htm
|
|
||||||
whgdata\whnvp31.htm
|
|
||||||
whgdata\whnvp32.htm
|
|
||||||
whgdata\whnvp33.htm
|
|
||||||
whgdata\whnvt30.htm
|
|
||||||
whgdata\whnvt31.htm
|
|
||||||
whgdata\whnvt32.htm
|
|
||||||
whgdata\whnvt33.htm
|
|
||||||
whgdata\whnvf30.htm
|
|
||||||
whgdata\whnvf31.htm
|
|
||||||
whgdata\whnvf32.htm
|
|
||||||
whgdata\whnvf33.htm
|
|
||||||
whgdata\whnvl31.htm
|
|
||||||
whgdata\whnvl32.htm
|
|
||||||
whgdata\whnvl33.htm
|
|
||||||
whgdata\whexpbar.gif
|
|
||||||
cshdat_webhelp.htm
|
|
||||||
whcsh_home.htm
|
|
||||||
whcshdata.htm
|
|
||||||
cshdat_robohelp.htm
|
|
||||||
wht_tab0.gif
|
|
||||||
wht_tab1.gif
|
|
||||||
wht_tab2.gif
|
|
||||||
wht_tab3.gif
|
|
||||||
wht_tab4.gif
|
|
||||||
wht_tab5.gif
|
|
||||||
wht_tab6.gif
|
|
||||||
wht_tab7.gif
|
|
||||||
wht_tab8.gif
|
|
||||||
wht_glo_h.gif
|
|
||||||
wht_glo_n.gif
|
|
||||||
wht_fts_h.gif
|
|
||||||
wht_fts_n.gif
|
|
||||||
wht_idx_h.gif
|
|
||||||
wht_idx_n.gif
|
|
||||||
wht_toc_h.gif
|
|
||||||
wht_toc_n.gif
|
|
||||||
wht_ws.gif
|
|
||||||
wht_ws_g.gif
|
|
||||||
wht_logo1.gif
|
|
||||||
wht_logo2.gif
|
|
||||||
wht_abgw.jpg
|
|
||||||
wht_abgi.jpg
|
|
||||||
wht_abge.jpg
|
|
||||||
wht_abtw.jpg
|
|
||||||
wht_abte.jpg
|
|
||||||
wht_abti.jpg
|
|
||||||
wht_spac.gif
|
|
||||||
wht_next.gif
|
|
||||||
wht_next_g.gif
|
|
||||||
wht_prev.gif
|
|
||||||
wht_prev_g.gif
|
|
||||||
wht_sync.gif
|
|
||||||
wht_hide.gif
|
|
||||||
wht_go.gif
|
|
||||||
whstart.ico
|
|
||||||
whestart.ico
|
|
||||||
whrstart.ico
|
|
||||||
whidhtml.htm
|
|
||||||
whfdhtml.htm
|
|
||||||
whskin_banner.htm
|
|
||||||
whtbar.js
|
|
||||||
whskin_pdhtml.htm
|
|
||||||
whskin_papplet.htm
|
|
||||||
whskin_plist.htm
|
|
||||||
whskin_tbars.htm
|
|
||||||
whskin_mbars.htm
|
|
||||||
wht_toc4.gif
|
|
||||||
wht_toc1.gif
|
|
||||||
wht_toc2.gif
|
|
||||||
wht_toc3.gif
|
|
||||||
whskin_frmset010.htm
|
|
||||||
whst_topics.xml
|
|
||||||
whskin_frmset01.htm
|
|
||||||
geom_hha.hhk
|
|
||||||
geom.hhc
|
|
||||||
geom.hhk
|
|
||||||
add_point_on_edge.htm
|
|
||||||
arc.htm
|
|
||||||
archimede.htm
|
|
||||||
basic_geometrical_objects.htm
|
|
||||||
basic_operations.htm
|
|
||||||
blocks.htm
|
|
||||||
blocks_operations.htm
|
|
||||||
boolean_operations.htm
|
|
||||||
box.htm
|
|
||||||
building_by_blocks.htm
|
|
||||||
chamfer.htm
|
|
||||||
changing_display_parameters.htm
|
|
||||||
changing_displaying_parameters.htm
|
|
||||||
check_free_boundaries.htm
|
|
||||||
check_free_faces.htm
|
|
||||||
circle.htm
|
|
||||||
close_contour.htm
|
|
||||||
common.htm
|
|
||||||
complex_objects.htm
|
|
||||||
compound.htm
|
|
||||||
cone.htm
|
|
||||||
curve.htm
|
|
||||||
cut.htm
|
|
||||||
cylinder.htm
|
|
||||||
edge.htm
|
|
||||||
ellipse.htm
|
|
||||||
explode.htm
|
|
||||||
explode_on_blocks.htm
|
|
||||||
extrusion.htm
|
|
||||||
face.htm
|
|
||||||
files\introduction_to_geom.htm
|
|
||||||
files\salome2_sp3_basicgui_functions.htm
|
|
||||||
files\salome2_sp3_booleangui_functions.htm
|
|
||||||
files\salome2_sp3_buildgui_functions.htm
|
|
||||||
files\salome2_sp3_displaygui_functions.htm
|
|
||||||
files\salome2_sp3_generationgui_functions.htm
|
|
||||||
files\salome2_sp3_geomtoolsgui_functions.htm
|
|
||||||
files\salome2_sp3_measuregui_functions.htm
|
|
||||||
files\salome2_sp3_operationgui_functions.htm
|
|
||||||
files\salome2_sp3_primitivegui_functions.htm
|
|
||||||
files\salome2_sp3_repairgui_functions.htm
|
|
||||||
files\salome2_sp3_transformationgui_functions.htm
|
|
||||||
fillet.htm
|
|
||||||
filling.htm
|
|
||||||
fuse.htm
|
|
||||||
geometrical_objects.htm
|
|
||||||
glue_faces.htm
|
|
||||||
groups.htm
|
|
||||||
line.htm
|
|
||||||
local_coordinate_system.htm
|
|
||||||
measurement_tools.htm
|
|
||||||
mirror_image.htm
|
|
||||||
modify_the_location.htm
|
|
||||||
multi_rotation.htm
|
|
||||||
multi_transformation.htm
|
|
||||||
multi_translation.htm
|
|
||||||
newentity_blocks.htm
|
|
||||||
offset_surface.htm
|
|
||||||
partition.htm
|
|
||||||
pipe_creation.htm
|
|
||||||
plane.htm
|
|
||||||
point.htm
|
|
||||||
primitives.htm
|
|
||||||
propagate.htm
|
|
||||||
repairing_operations.htm
|
|
||||||
revolution.htm
|
|
||||||
rotation.htm
|
|
||||||
scale_transform.htm
|
|
||||||
section.htm
|
|
||||||
sewing.htm
|
|
||||||
shape_processing.htm
|
|
||||||
shell.htm
|
|
||||||
sketcher.htm
|
|
||||||
sketcher_tui.htm
|
|
||||||
solid.htm
|
|
||||||
sphere.htm
|
|
||||||
suppress_faces.htm
|
|
||||||
suppress_holes.htm
|
|
||||||
suppress_internal_wires.htm
|
|
||||||
transformation_operations.htm
|
|
||||||
translation.htm
|
|
||||||
turus.htm
|
|
||||||
vector.htm
|
|
||||||
wire.htm
|
|
||||||
working_plane.htm
|
|
||||||
working_with_groups.htm
|
|
||||||
ehelp.xml
|
|
||||||
geom.glo
|
|
||||||
default.css
|
|
||||||
pics\chamfer_all.png
|
|
||||||
pics\edgesn.png
|
|
||||||
pics\boxes.png
|
|
||||||
pics\mtrans1.png
|
|
||||||
pics\transformation3.png
|
|
||||||
pics\mtransf2.png
|
|
||||||
pics\export.png
|
|
||||||
image15.jpg
|
|
||||||
image204.jpg
|
|
||||||
image56.gif
|
|
||||||
image149.jpg
|
|
||||||
image127.jpg
|
|
||||||
image23.gif
|
|
||||||
image12.gif
|
|
||||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif
|
|
||||||
files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif
|
|
||||||
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif
|
|
||||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif
|
|
||||||
pics\archimedesn1.png
|
|
||||||
pics\neo-basicprop.png
|
|
||||||
pics\mtrans2.png
|
|
||||||
pics\transformation4.png
|
|
||||||
pics\mtransf3.png
|
|
||||||
pics\plane1.png
|
|
||||||
image16.jpg
|
|
||||||
image57.gif
|
|
||||||
image35.gif
|
|
||||||
image128.jpg
|
|
||||||
image24.gif
|
|
||||||
image27.jpg
|
|
||||||
image13.gif
|
|
||||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif
|
|
||||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif
|
|
||||||
pics\suppress_faces1.png
|
|
||||||
pics\mirror_axissn1.png
|
|
||||||
pics\archimedesn2.png
|
|
||||||
pics\revolutionsn.png
|
|
||||||
pics\ellipsesn.png
|
|
||||||
pics\transformation10.png
|
|
||||||
pics\transformation5.png
|
|
||||||
pics\mtransf4.png
|
|
||||||
pics\plane2.png
|
|
||||||
image206.jpg
|
|
||||||
image25.gif
|
|
||||||
image129.jpg
|
|
||||||
image14.gif
|
|
||||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif
|
|
||||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif
|
|
||||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif
|
|
||||||
pics\suppress_faces2.png
|
|
||||||
pics\multi_translation1dsn.png
|
|
||||||
pics\mirror_axissn2.png
|
|
||||||
pics\multi_transformationsn2d.png
|
|
||||||
pics\archimedesn3.png
|
|
||||||
pics\wiresn.png
|
|
||||||
pics\transformation11.png
|
|
||||||
pics\transformation6.png
|
|
||||||
pics\block1.png
|
|
||||||
pics\creategroup.png
|
|
||||||
pics\pipe.png
|
|
||||||
pics\torus1.png
|
|
||||||
pics\plane3.png
|
|
||||||
image59.gif
|
|
||||||
image37.gif
|
|
||||||
image15.gif
|
|
||||||
image18.jpg
|
|
||||||
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif
|
|
||||||
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif
|
|
||||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif
|
|
||||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif
|
|
||||||
pics\multi_transformationsn1d.png
|
|
||||||
pics\fillingsn.png
|
|
||||||
pics\spheres.png
|
|
||||||
pics\polyline.png
|
|
||||||
pics\neo-obj1.png
|
|
||||||
pics\repair1.png
|
|
||||||
pics\transformation7.png
|
|
||||||
pics\block2.png
|
|
||||||
pics\torus2.png
|
|
||||||
image27.gif
|
|
||||||
image191.jpg
|
|
||||||
image180.jpg
|
|
||||||
image49.gif
|
|
||||||
image109.jpg
|
|
||||||
image16.gif
|
|
||||||
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif
|
|
||||||
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif
|
|
||||||
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif
|
|
||||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif
|
|
||||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif
|
|
||||||
pics\glue_faces1.png
|
|
||||||
pics\supp_int_wires1.png
|
|
||||||
pics\fusesn1.png
|
|
||||||
pics\transparencysn.png
|
|
||||||
pics\arcsn.png
|
|
||||||
pics\points.png
|
|
||||||
pics\neo-obj2.png
|
|
||||||
pics\neo-localcs1.png
|
|
||||||
pics\measures10.png
|
|
||||||
pics\repair2.png
|
|
||||||
pics\transformation8.png
|
|
||||||
pics\block3.png
|
|
||||||
image181.jpg
|
|
||||||
image170.jpg
|
|
||||||
image80.jpg
|
|
||||||
image17.gif
|
|
||||||
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif
|
|
||||||
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif
|
|
||||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif
|
|
||||||
image3.jpg
|
|
||||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif
|
|
||||||
pics\glue_faces2.png
|
|
||||||
pics\supp_int_wires2.png
|
|
||||||
pics\sectionsn.png
|
|
||||||
pics\fusesn2.png
|
|
||||||
pics\toruses.png
|
|
||||||
pics\circles.png
|
|
||||||
pics\neo-materials.png
|
|
||||||
pics\neo-obj3.png
|
|
||||||
pics\neo-localcs2.png
|
|
||||||
pics\neo-isos.png
|
|
||||||
pics\measures1.png
|
|
||||||
pics\repair3.png
|
|
||||||
pics\transformation9.png
|
|
||||||
pics\bool1.png
|
|
||||||
pics\partition1.png
|
|
||||||
pics\block4.png
|
|
||||||
pics\sphere1.png
|
|
||||||
image193.jpg
|
|
||||||
image29.gif
|
|
||||||
image171.jpg
|
|
||||||
image160.jpg
|
|
||||||
image81.jpg
|
|
||||||
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif
|
|
||||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif
|
|
||||||
pics\chamfer_faces.png
|
|
||||||
pics\fillet_prism.png
|
|
||||||
pics\rotationsn1.png
|
|
||||||
pics\disp_mode1sn.png
|
|
||||||
pics\pipesn.png
|
|
||||||
pics\pipe_wire_edgesn.png
|
|
||||||
pics\cones.png
|
|
||||||
pics\planes1.png
|
|
||||||
pics\lines.png
|
|
||||||
pics\neo-obj4.png
|
|
||||||
pics\neo-localcs3.png
|
|
||||||
pics\repair4.png
|
|
||||||
pics\bool2.png
|
|
||||||
pics\partition2.png
|
|
||||||
pics\block5.png
|
|
||||||
pics\sphere2.png
|
|
||||||
pics\point1.png
|
|
||||||
pics\import.png
|
|
||||||
image172.jpg
|
|
||||||
image150.jpg
|
|
||||||
image82.jpg
|
|
||||||
image19.gif
|
|
||||||
image5.jpg
|
|
||||||
pics\rotationsn2.png
|
|
||||||
pics\disp_mode2sn.png
|
|
||||||
pics\neo-detect2.png
|
|
||||||
pics\neo-section.png
|
|
||||||
pics\neo-obj5.png
|
|
||||||
pics\measures3.png
|
|
||||||
pics\repair5.png
|
|
||||||
pics\bool3.png
|
|
||||||
pics\chamfer1.png
|
|
||||||
pics\filling.png
|
|
||||||
pics\revolution.png
|
|
||||||
pics\arc.png
|
|
||||||
pics\ellipse.png
|
|
||||||
pics\circle1.png
|
|
||||||
image3.gif
|
|
||||||
image151.jpg
|
|
||||||
image94.jpg
|
|
||||||
image83.jpg
|
|
||||||
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif
|
|
||||||
pics\free_boudaries1.png
|
|
||||||
pics\multi_rotation1d1.png
|
|
||||||
pics\multi_translation2dsn.png
|
|
||||||
pics\offsetsn.png
|
|
||||||
pics\isos_u12_v12sn.png
|
|
||||||
pics\compoundsn.png
|
|
||||||
pics\prisms_basessn.png
|
|
||||||
pics\cylinders.png
|
|
||||||
pics\vectors.png
|
|
||||||
pics\neo-obj6.png
|
|
||||||
pics\measures4.png
|
|
||||||
pics\repair6.png
|
|
||||||
pics\chamfer2.png
|
|
||||||
pics\cone1.png
|
|
||||||
pics\circle2.png
|
|
||||||
pics\point3.png
|
|
||||||
image185.jpg
|
|
||||||
image163.jpg
|
|
||||||
image130.jpg
|
|
||||||
image95.jpg
|
|
||||||
image84.jpg
|
|
||||||
image4.gif
|
|
||||||
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif
|
|
||||||
pics\free_boudaries2.png
|
|
||||||
pics\multi_rotation2d1.png
|
|
||||||
pics\multi_rotation1d2.png
|
|
||||||
pics\mirror_pointsn1.png
|
|
||||||
pics\new-tolerance.png
|
|
||||||
pics\neo-obj7.png
|
|
||||||
pics\neo-point2.png
|
|
||||||
pics\measures5.png
|
|
||||||
pics\repair7.png
|
|
||||||
pics\chamfer3.png
|
|
||||||
pics\cone2.png
|
|
||||||
image197.jpg
|
|
||||||
image164.jpg
|
|
||||||
image96.jpg
|
|
||||||
image85.jpg
|
|
||||||
image52.jpg
|
|
||||||
image8.jpg
|
|
||||||
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif
|
|
||||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif
|
|
||||||
pics\chamfer_edge.png
|
|
||||||
pics\fillet_edge.png
|
|
||||||
pics\multi_rotation2d2.png
|
|
||||||
pics\scale_transformsn1.png
|
|
||||||
pics\mirror_pointsn2.png
|
|
||||||
pics\cutsn.png
|
|
||||||
pics\shellsn.png
|
|
||||||
pics\filling_compoundsn.png
|
|
||||||
pics\prismssn.png
|
|
||||||
pics\neo-mrot1.png
|
|
||||||
pics\repair8.png
|
|
||||||
pics\cylinder1.png
|
|
||||||
pics\vector1.png
|
|
||||||
image61.gif
|
|
||||||
image154.jpg
|
|
||||||
image121.jpg
|
|
||||||
image110.jpg
|
|
||||||
image97.jpg
|
|
||||||
image53.jpg
|
|
||||||
image9.jpg
|
|
||||||
image6.gif
|
|
||||||
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif
|
|
||||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif
|
|
||||||
pics\scale_transformsn2.png
|
|
||||||
pics\translationsn1.png
|
|
||||||
pics\facesn1.png
|
|
||||||
pics\neo-mrot2.png
|
|
||||||
pics\repair9.png
|
|
||||||
pics\cylinder2.png
|
|
||||||
pics\vector2.png
|
|
||||||
image188.jpg
|
|
||||||
image51.gif
|
|
||||||
image133.jpg
|
|
||||||
image122.jpg
|
|
||||||
image98.jpg
|
|
||||||
image76.jpg
|
|
||||||
image54.jpg
|
|
||||||
image7.gif
|
|
||||||
image10.jpg
|
|
||||||
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif
|
|
||||||
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif
|
|
||||||
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif
|
|
||||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif
|
|
||||||
i_blue.jpg
|
|
||||||
pics\free_faces1.png
|
|
||||||
pics\fillet_all.png
|
|
||||||
pics\translationsn2.png
|
|
||||||
pics\partitionsn1.png
|
|
||||||
pics\colorsn.png
|
|
||||||
pics\facesn2.png
|
|
||||||
pics\interpol.png
|
|
||||||
pics\measures8.png
|
|
||||||
pics\fillet1.png
|
|
||||||
pics\archimede.png
|
|
||||||
pics\workplane4.png
|
|
||||||
image189.jpg
|
|
||||||
image52.gif
|
|
||||||
image167.jpg
|
|
||||||
image156.jpg
|
|
||||||
image41.gif
|
|
||||||
image145.jpg
|
|
||||||
image112.jpg
|
|
||||||
files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif
|
|
||||||
image8.gif
|
|
||||||
image11.jpg
|
|
||||||
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif
|
|
||||||
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif
|
|
||||||
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif
|
|
||||||
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif
|
|
||||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif
|
|
||||||
pics\free_faces2.png
|
|
||||||
pics\mirror_planesn1.png
|
|
||||||
pics\block_explodesn.png
|
|
||||||
pics\partitionsn2.png
|
|
||||||
pics\solidsn.png
|
|
||||||
pics\facesn3.png
|
|
||||||
pics\distance.png
|
|
||||||
pics\neo-scetcher1.png
|
|
||||||
pics\neo-transparency.png
|
|
||||||
pics\measures9.png
|
|
||||||
pics\fillet2.png
|
|
||||||
pics\workplane5.png
|
|
||||||
image201.jpg
|
|
||||||
image53.gif
|
|
||||||
image168.jpg
|
|
||||||
image42.gif
|
|
||||||
image124.jpg
|
|
||||||
image113.jpg
|
|
||||||
image78.jpg
|
|
||||||
image20.gif
|
|
||||||
image67.jpg
|
|
||||||
image9.gif
|
|
||||||
image12.jpg
|
|
||||||
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif
|
|
||||||
files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif
|
|
||||||
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif
|
|
||||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif
|
|
||||||
pics\mirror_planesn2.png
|
|
||||||
pics\neo-scetcher2.png
|
|
||||||
pics\transformation1.png
|
|
||||||
pics\fillet3.png
|
|
||||||
pics\box1.png
|
|
||||||
pics\workplane6.png
|
|
||||||
pics\curve.png
|
|
||||||
pics\line.png
|
|
||||||
image10.gif
|
|
||||||
image202.jpg
|
|
||||||
image147.jpg
|
|
||||||
image32.gif
|
|
||||||
image79.jpg
|
|
||||||
image21.gif
|
|
||||||
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif
|
|
||||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif
|
|
||||||
files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif
|
|
||||||
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif
|
|
||||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif
|
|
||||||
pics\multi_translation_initialsn.png
|
|
||||||
pics\plane_on_face.png
|
|
||||||
pics\bezier.png
|
|
||||||
pics\repair10.png
|
|
||||||
pics\transformation2.png
|
|
||||||
pics\mtransf1.png
|
|
||||||
pics\editgroup.png
|
|
||||||
pics\extrusion.png
|
|
||||||
pics\box2.png
|
|
||||||
image44.gif
|
|
||||||
image22.gif
|
|
||||||
image11.gif
|
|
||||||
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif
|
|
||||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif
|
|
||||||
files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif
|
|
||||||
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif
|
|
||||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif
|
|
||||||
ehlpdhtm.js
|
|
||||||
geom.ppf
|
|
||||||
default_ns.css
|
|
||||||
whxdata\whtdata0.xml
|
|
||||||
whxdata\whftdata0.xml
|
|
||||||
whxdata\whfwdata0.xml
|
|
||||||
whxdata\whgdata0.xml
|
|
||||||
whdata\whtdata0.htm
|
|
||||||
whdata\whftdata0.htm
|
|
||||||
whdata\whfwdata0.htm
|
|
||||||
whdata\whgdata0.htm
|
|
||||||
whgdata\whlstt0.htm
|
|
||||||
whgdata\whlstt1.htm
|
|
||||||
whgdata\whlstt2.htm
|
|
||||||
whgdata\whlstt3.htm
|
|
||||||
whgdata\whlstt4.htm
|
|
||||||
whgdata\whlstt5.htm
|
|
||||||
whgdata\whlstt6.htm
|
|
||||||
whgdata\whlstt7.htm
|
|
||||||
whgdata\whlstt8.htm
|
|
||||||
whgdata\whlstt9.htm
|
|
||||||
whgdata\whlstt10.htm
|
|
||||||
whgdata\whlstt11.htm
|
|
||||||
whgdata\whlstt12.htm
|
|
||||||
whgdata\whlstt13.htm
|
|
||||||
whgdata\whlstt14.htm
|
|
||||||
whgdata\whlstt15.htm
|
|
||||||
whgdata\whlstt16.htm
|
|
||||||
whgdata\whlsti0.htm
|
|
||||||
whgdata\whlstfl0.htm
|
|
||||||
whgdata\whlstfl1.htm
|
|
||||||
whgdata\whlstfl2.htm
|
|
||||||
whgdata\whlstfl3.htm
|
|
||||||
whgdata\whlstfl4.htm
|
|
||||||
whgdata\whlstfl5.htm
|
|
||||||
whgdata\whlstfl6.htm
|
|
||||||
whgdata\whlstfl7.htm
|
|
||||||
whgdata\whlstfl8.htm
|
|
||||||
whgdata\whlstfl9.htm
|
|
||||||
whgdata\whlstfl10.htm
|
|
||||||
whgdata\whlstfl11.htm
|
|
||||||
whgdata\whlstfl12.htm
|
|
||||||
whgdata\whlstfl13.htm
|
|
||||||
whgdata\whlstfl14.htm
|
|
||||||
whgdata\whlstfl15.htm
|
|
||||||
whgdata\whlstfl16.htm
|
|
||||||
whgdata\whlstfl17.htm
|
|
||||||
whgdata\whlstfl18.htm
|
|
||||||
whgdata\whlstfl19.htm
|
|
||||||
whgdata\whlstfl20.htm
|
|
||||||
whgdata\whlstfl21.htm
|
|
||||||
whgdata\whlstfl22.htm
|
|
||||||
whgdata\whlstfl23.htm
|
|
||||||
whgdata\whlstfl24.htm
|
|
||||||
whgdata\whlstfl25.htm
|
|
||||||
whgdata\whlstf0.htm
|
|
||||||
whgdata\whlstf1.htm
|
|
||||||
whgdata\whlstf2.htm
|
|
||||||
whgdata\whlstf3.htm
|
|
||||||
whgdata\whlstf4.htm
|
|
||||||
whgdata\whlstf5.htm
|
|
||||||
whgdata\whlstf6.htm
|
|
||||||
whgdata\whlstf7.htm
|
|
||||||
whgdata\whlstf8.htm
|
|
||||||
whgdata\whlstf9.htm
|
|
||||||
whgdata\whlstf10.htm
|
|
||||||
whgdata\whlstf11.htm
|
|
||||||
whgdata\whlstf12.htm
|
|
||||||
whgdata\whlstf13.htm
|
|
||||||
whgdata\whlstf14.htm
|
|
||||||
whgdata\whlstg0.htm
|
|
||||||
geom.htm
|
|
||||||
geom_csh.htm
|
|
||||||
geom_rhc.htm
|
|