Salome HOME
742dffc5712ba7755b85e76ab452ac13e1be6121
[modules/geom.git] / doc / salome / gui / GEOM / plane.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\r
6 <title>Plane</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
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style type="text/css">\r
16 <!--\r
17 img_whs1 { width:20px; height:20px; border-style:none; }\r
18 p.whs2 { font-size:12pt; }\r
19 img_whs3 { border:none; width:312px; height:346px; float:none; border-style:none; }\r
20 p.whs4 { font-size:12pt; font-weight:bold; }\r
21 img_whs5 { border:none; width:312px; height:385px; float:none; border-style:none; }\r
22 table.whs6 { x-cell-content-align:top; width:72.604%; border-spacing:0px; }\r
23 col.whs7 { width:32.089%; }\r
24 col.whs8 { width:32.008%; }\r
25 col.whs9 { width:35.903%; }\r
26 tr.whs10 { x-cell-content-align:top; }\r
27 td.whs11 { 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; }\r
28 img_whs12 { border:none; width:258px; height:249px; float:none; border-style:none; }\r
29 td.whs13 { width:32.008%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }\r
30 img_whs14 { border:none; width:291px; height:181px; float:none; border-style:none; }\r
31 td.whs15 { width:35.903%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
32 -->\r
33 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
34 <!--\r
35 function reDo() {\r
36   if (innerWidth != origWidth || innerHeight != origHeight)\r
37      location.reload();\r
38 }\r
39 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
40         origWidth = innerWidth;\r
41         origHeight = innerHeight;\r
42         onresize = reDo;\r
43 }\r
44 onerror = null; \r
45 //-->\r
46 </script>\r
47 <style type="text/css">\r
48 <!--\r
49 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
50 -->\r
51 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
52 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
53 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
54 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
55 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
56 </head>\r
57 <body><script type="text/javascript" language="javascript1.2">\r
58 <!--\r
59 if (window.gbWhTopic)\r
60 {\r
61         if (window.addTocInfo)\r
62         {\r
63         addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nPlane");\r
64 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
65 \r
66         }\r
67         if (window.writeBtnStyle)\r
68                 writeBtnStyle();\r
69 \r
70         if (window.writeIntopicBar)\r
71                 writeIntopicBar(1);\r
72 \r
73         if (window.setRelStartPage)\r
74         {\r
75         setRelStartPage("geom.htm");\r
76 \r
77                 autoSync(1);\r
78                 sendSyncInfo();\r
79                 sendAveInfoOut();\r
80         }\r
81 }\r
82 else\r
83         if (window.gbIE4)\r
84                 document.location.reload();\r
85 //-->\r
86 </script>\r
87 <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_image33.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Plane</h1>\r
88 \r
89 <p>To create a <span style="font-weight: bold;"><B>Plane</B></span> in the <span \r
90  style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New \r
91  Entity - &gt; Basic - &gt; Plane</B></span></p>\r
92 \r
93 <p>&nbsp;</p>\r
94 \r
95 <p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create \r
96  a point in the 3D space.</font></span></p>\r
97 \r
98 <p><b style="font-weight: bold;"><span style="font-weight: normal;">The</span><span \r
99  style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> Result </font></span><span style="font-weight: normal;">of \r
100  each operation will be a</span></b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> GEOM_Object \r
101  (face).</font></span></p>\r
102 \r
103 <p class="whs2">&nbsp;</p>\r
104 \r
105 <p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Plane</B></span> \r
106  by a <span style="font-weight: bold;"><B>Point </B></span>through which &nbsp;the \r
107  plane passes, a <span style="font-weight: bold;"><B>Vector </B></span>giving \r
108  a normal of the plane and a <span style="font-weight: bold;"><B>Size of the \r
109  Plane</B></span> (size of a side of quadrangle face, representing the plane).</p>\r
110 \r
111 <p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI \r
112  Command:</b> </B></span><span style="font-style: italic;"><I>geompy.MakePlane(Point, \r
113  Vector, TrimSize)</I></span></p>\r
114 \r
115 <p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name \r
116  + 1 vertex + 1 vector &nbsp;+ \r
117  1 value (to define the size of the plane).</p>\r
118 \r
119 <p class="whs2"><b style="font-weight: bold;"><img src="pics/plane1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs3"></b></p>\r
120 \r
121 <p class="whs2">&nbsp;</p>\r
122 \r
123 <p class="whs2">Secondly, you can define a <span style="font-weight: bold;"><B>Plane</B></span> \r
124  by three <span style="font-weight: bold;"><B>Points </B></span>through which \r
125  &nbsp;the plane \r
126  passes.</p>\r
127 \r
128 <p class="whs4"><b style="font-weight: bold;">TUI \r
129  Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakePlaneThreePnt(Point1, \r
130  Point2, Point3, TrimSize)</I></span> </p>\r
131 \r
132 <p class="whs4"><b style="font-weight: bold;">Arguments: \r
133  </b><span style="font-weight: normal;">Name + 1 vertex + 3 points (for \r
134  the direction) + 1 value (to define the size of the plane).</span></p>\r
135 \r
136 <p class="whs4">&nbsp;</p>\r
137 \r
138 <p class="whs2"><img src="pics/plane2.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs5"></p>\r
139 \r
140 <p class="whs2">&nbsp;</p>\r
141 \r
142 <p class="whs2">Finally, you can define a <span style="font-weight: bold;"><B>Plane</B></span>, \r
143  similar to the existing one, but with another size of representing face. \r
144  </p>\r
145 \r
146 <p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI \r
147  Command:</b> </B></span>geompy.MakePlaneFace(Face, TrimSize) </p>\r
148 \r
149 <p class="whs2"><span><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments: \r
150  </b></font></span>Name + 1 selection + 1 value (to define the size of the plane).</p>\r
151 \r
152 <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/plane3.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs5"></font></span> \r
153 \r
154 <p class="whs2">&nbsp;</p>\r
155 \r
156 <p class="whs4">Examples:</p>\r
157 \r
158 <p class="whs2">&nbsp;</p>\r
159 \r
160 <p class="whs4"><span style="font-weight: normal; font-style: italic;"><I>Planes</I></span> \r
161  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span \r
162  style="font-weight: normal; font-style: italic;"><I>A \r
163  Plane created on a Plane of another size</I></span></p>\r
164 \r
165 <p class="whs2">&nbsp;</p>\r
166 \r
167 <table x-use-null-cells cellspacing="0" width="72.604%" class="whs6">\r
168 <col class="whs7">\r
169 <col class="whs8">\r
170 <col class="whs9">\r
171 \r
172 <tr valign="top" class="whs10">\r
173 <td width="32.089%" class="whs11">\r
174 <p class="whs2"><img src="pics/planes1.png" x-maintain-ratio="TRUE" width="258px" height="249px" border="0" class="img_whs12"></td>\r
175 <td width="32.008%" class="whs13">\r
176 <p class="whs2"><img src="pics/plane_on_face.png" x-maintain-ratio="TRUE" width="291px" height="181px" border="0" class="img_whs14"></td>\r
177 <td width="35.903%" class="whs15">\r
178 <p class="whs2">&nbsp;</td></tr>\r
179 </table>\r
180 \r
181 <p class="whs2">&nbsp;</p>\r
182 \r
183 <p class="whs2">Our TUI Scripts provide you with useful examples \r
184  of creation of <a href="basic_geometrical_objects.htm#bookmark6">Basic \r
185  Geometric Objects</a>. </p>\r
186 \r
187 <p>&nbsp;</p>\r
188 \r
189 <script type="text/javascript" language="javascript1.2">\r
190 <!--\r
191 if (window.writeIntopicBar)\r
192         writeIntopicBar(0);\r
193 //-->\r
194 </script>\r
195 </body>\r
196 </html>\r