]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/curve.htm
Salome HOME
bb7870b595dada6e359fb8639b3455578955ca02
[modules/geom.git] / doc / salome / gui / GEOM / curve.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>Curve</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 { border:none; width:20px; height:20px; border-style:none; }\r
18 p.whs2 { font-size:12pt; }\r
19 ul.whs3 { list-style:disc; }\r
20 p.whs4 { font-size:12pt; font-style:italic; }\r
21 p.whs5 { font-size:12pt; font-style:italic; margin-left:40px; }\r
22 img_whs6 { border:none; width:312px; height:289px; float:none; border-style:none; }\r
23 p.whs7 { font-size:12pt; font-style:normal; font-weight:bold; }\r
24 p.whs8 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; }\r
25 img_whs9 { border:none; float:none; width:310px; height:308px; border-style:none; }\r
26 img_whs10 { border:none; width:313px; height:310px; float:none; border-style:none; }\r
27 img_whs11 { border:none; float:none; width:291px; height:313px; border-style:none; }\r
28 p.whs12 { font-size:12pt; margin-left:40px; }\r
29 -->\r
30 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
31 <!--\r
32 function reDo() {\r
33   if (innerWidth != origWidth || innerHeight != origHeight)\r
34      location.reload();\r
35 }\r
36 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
37         origWidth = innerWidth;\r
38         origHeight = innerHeight;\r
39         onresize = reDo;\r
40 }\r
41 onerror = null; \r
42 //-->\r
43 </script>\r
44 <style type="text/css">\r
45 <!--\r
46 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
47 -->\r
48 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
49 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
50 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
51 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
52 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
53 </head>\r
54 <body><script type="text/javascript" language="javascript1.2">\r
55 <!--\r
56 if (window.gbWhTopic)\r
57 {\r
58         if (window.addTocInfo)\r
59         {\r
60         addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nCurve");\r
61 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
62 \r
63         }\r
64         if (window.writeBtnStyle)\r
65                 writeBtnStyle();\r
66 \r
67         if (window.writeIntopicBar)\r
68                 writeIntopicBar(1);\r
69 \r
70         if (window.setRelStartPage)\r
71         {\r
72         setRelStartPage("geom.htm");\r
73 \r
74                 autoSync(1);\r
75                 sendSyncInfo();\r
76                 sendAveInfoOut();\r
77         }\r
78 }\r
79 else\r
80         if (window.gbIE4)\r
81                 document.location.reload();\r
82 //-->\r
83 </script>\r
84 <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"> &nbsp;</b></font></span>Curve</h1>\r
85 \r
86 <p>To create a <span style="font-weight: bold;"><B>Curve</B></span> in the <span \r
87  style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New \r
88  Entity - &gt; Basic - &gt; Curve</B></span></p>\r
89 \r
90 <p>&nbsp;</p>\r
91 \r
92 <p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create \r
93  a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Curve</B></font></span><span \r
94  style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> in the 3D space. Each time you define it by \r
95  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 \r
96  style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> through which the curve passes. The three </font></span><span \r
97  style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Curve Construction</B></font></span><span \r
98  style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> menu choices correspond to three possible types \r
99  of curves: Polyline, Besier or B-spline (Interpolated). </font></span></p>\r
100 \r
101 <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span \r
102  style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">of \r
103  each operation will be a</span></b> GEOM_Object (edge).</font></span></p>\r
104 \r
105 <p>&nbsp;</p>\r
106 \r
107 <p class="whs2"><b style="font-weight: bold;">TUI Commands:</b> \r
108  </p>\r
109 \r
110 <ul type="disc" class="whs3">\r
111         \r
112         <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span></p></li>\r
113         \r
114         <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span></p></li>\r
115         \r
116         <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span></p></li>\r
117 </ul>\r
118 \r
119 <p class="whs2">ListOfShape is a list of points through which \r
120  the curve passes.</p>\r
121 \r
122 <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> \r
123  Name + at least 2 points which will serve as nodes on the curve.</font></span></p>\r
124 \r
125 <p class="whs4">&nbsp;</p>\r
126 \r
127 <p class="whs5"><img src="pics/curve.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs6"> </p>\r
128 \r
129 <p class="whs4">&nbsp;</p>\r
130 \r
131 <p class="whs7">Examples:</p>\r
132 \r
133 <p class="whs2">&nbsp;</p>\r
134 \r
135 <p class="whs8">Polyline \r
136  &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
137  style="font-size: 12pt;\r
138                 font-weight: bold;\r
139                 font-style: italic;\r
140                 x-text-underline: off;\r
141                 /*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font size=3 style="font-size:12pt;"><I><B>&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;Bezier \r
142  &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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B-Spline</B></I></font></span></p>\r
143 \r
144 <p class="whs2"><img src="pics/polyline.png" x-maintain-ratio="TRUE" width="310px" height="308px" border="0" class="img_whs9"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/bezier.png" x-maintain-ratio="TRUE" width="313px" height="310px" border="0" class="img_whs10"> &nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/interpol.png" x-maintain-ratio="TRUE" width="291px" height="313px" border="0" class="img_whs11"></p>\r
145 \r
146 <p class="whs12">&nbsp;</p>\r
147 \r
148 <p class="whs2">Our TUI Scripts provide you with useful examples \r
149  of creation of <a href="basic_geometrical_objects.htm#bookmark4">Basic \r
150  Geometric Objects</a>. </p>\r
151 \r
152 <p>&nbsp;</p>\r
153 \r
154 <p class="whs2">&nbsp;</p>\r
155 \r
156 <script type="text/javascript" language="javascript1.2">\r
157 <!--\r
158 if (window.writeIntopicBar)\r
159         writeIntopicBar(0);\r
160 //-->\r
161 </script>\r
162 </body>\r
163 </html>\r