1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
6 <title>Multi Rotation</title>
\r
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">
\r
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
\r
9 <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
\r
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='default.css'>");}
\r
15 <style type="text/css">
\r
17 img_whs1 { width:20px; height:20px; border-style:none; }
\r
18 p.whs2 { font-size:12pt; }
\r
19 p.whs3 { font-size:12pt; font-weight:bold; }
\r
20 p.whs4 { font-size:12pt; font-weight:normal; }
\r
21 img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }
\r
22 img_whs6 { border:none; float:none; width:315px; height:259px; border-style:none; }
\r
23 img_whs7 { border:none; float:none; width:301px; height:258px; border-style:none; }
\r
24 img_whs8 { border:none; width:312px; height:450px; float:none; border-style:none; }
\r
25 img_whs9 { border:none; float:none; width:341px; height:446px; border-style:none; }
\r
26 img_whs10 { border:none; float:none; width:369px; height:447px; border-style:none; }
\r
27 p.whs11 { font-size:12pt; margin-left:40px; }
\r
29 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
32 if (innerWidth != origWidth || innerHeight != origHeight)
\r
35 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
36 origWidth = innerWidth;
\r
37 origHeight = innerHeight;
\r
43 <style type="text/css">
\r
45 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
47 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
\r
48 <script type="text/javascript" language="javascript" src="whver.js"></script>
\r
49 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
\r
50 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
\r
51 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
\r
53 <body><script type="text/javascript" language="javascript1.2">
\r
55 if (window.gbWhTopic)
\r
57 if (window.addTocInfo)
\r
59 addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nMulti Rotation");
\r
60 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
63 if (window.writeBtnStyle)
\r
66 if (window.writeIntopicBar)
\r
69 if (window.setRelStartPage)
\r
71 setRelStartPage("geom.htm");
\r
80 document.location.reload();
\r
83 <h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Multi
\r
86 <p class="whs2"><b style="font-weight: normal;">T</b>o produce
\r
87 a <span style="font-weight: bold;"><B>Multi Rotation</B></span> in the Main Menu
\r
88 select <span style="font-weight: bold;"><B>Operations - > Transformation
\r
89 - > Multi Rotation</B></span> </p>
\r
91 <p class="whs2"> </p>
\r
93 <p class="whs2">This operation creates several geometrical
\r
94 objects rotated in <span style="font-weight: bold;"><B>one </B></span>or <span
\r
95 style="font-weight: bold;"><B>two </B></span>dimentions basing on the initial
\r
96 geometrical object. </p>
\r
98 <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
\r
99 style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will
\r
100 be one or several</span></b> GEOM_Objects (compound).</font></span></p>
\r
104 <p class="whs2">To produce a <span style="font-weight: bold;"><B>Simple
\r
105 Multi Rotation</B></span> (in one dimension) you need to define a <span style="font-weight: bold;"><B>Shape</B></span>
\r
106 to be rotated, an <span style="font-weight: bold;"><B>Axis</B></span> of rotation
\r
107 and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape
\r
108 must be rotated. <span style="font-weight: bold;"><B>Rotation Angle</B></span>
\r
109 will be 2*PI/NbTimes</p>
\r
111 <p class="whs3"><b style="font-weight: bold;">TUI
\r
112 Command: </b><span style="font-style: italic; font-weight: normal;"><I>geompy.MakeMultiRotation1D(Shape,
\r
113 Axis, NbTimes)</I></span></p>
\r
115 <p class="whs3"><b style="font-weight: bold;">Arguments:
\r
116 </b><span style="font-weight: normal;">Name + 1 shape + 1 vector for direction
\r
117 + 1 value (repetition).</span></p>
\r
119 <p class="whs3"> </p>
\r
121 <p class="whs4">There is a <span style="font-weight: bold;"><B>TUI
\r
122 Command</B></span> <span style="font-style: italic;"><I>geompy.MakeMultiRotation1D(Shape,
\r
123 Dir, Point, NbTimes)</I></span><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">
\r
124 which works in the same way, but the Axis is defined by
\r
125 direction and point. </font></span></p>
\r
127 <p class="whs3"> </p>
\r
129 <p class="whs2"><img src="pics/neo-mrot1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"> <img src="pics/multi_rotation1d1.png" x-maintain-ratio="TRUE" width="315px" height="259px" border="0" class="img_whs6"> <img src="pics/multi_rotation1d2.png" x-maintain-ratio="TRUE" width="301px" height="258px" border="0" class="img_whs7"></p>
\r
131 <p class="whs2"> </p>
\r
133 <p class="whs2"><span style="font-weight: bold;"><B>Double Multi
\r
134 Rotation</B></span> (in two dimensions) rotates the given <span style="font-weight: bold;"><B>Object</B></span>
\r
135 around the given <span style="font-weight: bold;"><B>Axis</B></span> on the given
\r
136 <span style="font-weight: bold;"><B>Angle</B></span> a given <span style="font-weight: bold;"><B>Number
\r
137 of Times</B></span> and multi-translates each rotation result. Translation
\r
138 direction passes through the center of gravity of the rotated shape and
\r
139 its projection on the rotation axis. <span style="font-weight: bold;"><B>Reverse
\r
140 </B></span>checkbox allows to set the direction of rotation.</p>
\r
142 <p class="whs2"><b style="font-weight: bold;">T<span style="font-weight: bold;"><B>UI
\r
143 Command: </B></span><span style="font-weight: normal;">g</span></b><span style="font-style: italic;"><I>eompy.MakeMultiRotation2D(Shape,
\r
144 Axis, Angle, NbTimes1, Step, NbTimes2)</I></span></p>
\r
146 <p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span
\r
147 style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 vector
\r
148 for direction + 1 angle + 1 value (repetition) + 1 step value + 1 value
\r
151 <p class="whs2"> </p>
\r
153 <p class="whs2">There is a <span style="font-weight: bold;"><B>TUI
\r
154 Command</B></span> <span style="font-style: italic;"><I>geompy.MakeMultiRotation2D(Shape,
\r
155 Dir, Point, Angle, nbtimes1, Step, nbtimes2</I></span><span style="font-style: italic;"><I>)</I></span>
\r
156 which works in the same way, but the Axis is defined by
\r
157 direction and point. </p>
\r
159 <p class="whs2"> </p>
\r
161 <p class="whs2"><img src="pics/neo-mrot2.png" x-maintain-ratio="TRUE" width="312px" height="450px" border="0" class="img_whs8"></p>
\r
163 <p class="whs2"> </p>
\r
165 <p class="whs2"> <img src="pics/multi_rotation2d1.png" x-maintain-ratio="TRUE" width="341px" height="446px" border="0" class="img_whs9"> <img src="pics/multi_rotation2d2.png" x-maintain-ratio="TRUE" width="369px" height="447px" border="0" class="img_whs10"></p>
\r
167 <p class="whs11"> </p>
\r
169 <p class="whs11">Our <span style="font-weight: bold;"><B>TUI
\r
170 Scripts</B></span> provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark9">Transformation
\r
171 Operations</a>. </p>
\r
175 <script type="text/javascript" language="javascript1.2">
\r
177 if (window.writeIntopicBar)
\r
178 writeIntopicBar(0);
\r