geom/doc/salome/gui/GEOM/revolution.htm

141 lines
5.3 KiB
HTML
Raw Normal View History

2005-11-24 20:34:00 +05:00
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Revolution</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; }
2005-11-24 20:34:00 +05:00
img_whs4 { border:none; width:312px; height:350px; float:none; border-style:none; }
img_whs5 { border:none; width:268px; height:275px; float:none; border-style:none; }
2005-11-24 20:34:00 +05:00
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
2005-11-24 20:34:00 +05:00
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
2005-11-24 20:34:00 +05:00
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
2005-11-24 20:34:00 +05:00
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
2005-11-24 20:34:00 +05:00
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nRevolution");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
2005-11-24 20:34:00 +05:00
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
2005-11-24 20:34:00 +05:00
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
2005-11-24 20:34:00 +05:00
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
2005-11-24 20:34:00 +05:00
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif" width="20px" height="20px" border="0" class="img_whs1"></font></span>Revolution</h1>
<p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create
an extruded shape by </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Revolution</B></font></span>
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
style="font-weight: bold;"><B>New Entity - &gt; Generation &nbsp;-
&gt; Revolution</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">To create an extruded shape by <span style="font-weight: bold;"><B>Revolution</B></span>
you need to define the source <span style="font-weight: bold;"><B>Object</B></span>
to rotate, the <span style="font-weight: bold;"><B>Axis</B></span> of revolution
and the <span style="font-weight: bold;"><B>Angle</B></span> by which the Shape
has to be rotated around the <span style="font-weight: bold;"><B>Axis</B></span>
(in degrees).</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
the operation will be a</span></b> GEOM_Object (edge, face, solid or compsolid).</font></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeRevolution(Shape, Axis,
Angle)</I></span>.</p>
<p class="whs2"><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="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/revolution.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs4"></p>
<p class="whs3">&nbsp;</p>
2005-11-24 20:34:00 +05:00
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/revolutionsn.png" x-maintain-ratio="TRUE" width="268px" height="275px" border="0" class="img_whs5"> &nbsp;</p>
2005-11-24 20:34:00 +05:00
<p class="whs2">&nbsp;</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#bookmark1">Complex
Geometric Objects</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>