]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/add_point_on_edge.htm
Salome HOME
Update GEOM documentation.
[modules/geom.git] / doc / salome / gui / GEOM / add_point_on_edge.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>Add Point on Edge</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:22px; height:22px; border-style:none; }\r
18 p.whs2 { font-size:12pt; }\r
19 p.whs3 { font-size:12pt; font-weight:normal; }\r
20 p.whs4 { margin-left:40px; font-size:12pt; font-weight:bold; }\r
21 img_whs5 { border:none; width:312px; height:388px; float:none; border-style:none; }\r
22 p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
23 p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }\r
24 p.whs8 { margin-left:80px; font-size:12pt; text-indent:-40px; }\r
25 img_whs9 { border:none; width:200px; height:231px; border-style:none; }\r
26 img_whs10 { border:none; width:185px; height:231px; border-style:none; }\r
27 p.whs11 { font-size:12pt; text-indent:-68px; margin-left:72px; }\r
28 p.whs12 { font-weight:bold; }\r
29 -->\r
30 </style><script type="text/javascript" language="JavaScript">\r
31 <!--\r
32 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
33 {\r
34   var strNSS = "<style type='text/css'>";\r
35   strNSS += "p.whs6 {text-indent:1pt; }";\r
36   strNSS += "p.whs7 {text-indent:1pt; }";\r
37   strNSS += "p.whs8 {text-indent:1pt; }";\r
38   strNSS += "p.whs11 {text-indent:1pt; }";\r
39   strNSS +="</style>";\r
40   document.write(strNSS);\r
41 }\r
42 //-->\r
43 </script>\r
44 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
45 <!--\r
46 function reDo() {\r
47   if (innerWidth != origWidth || innerHeight != origHeight)\r
48      location.reload();\r
49 }\r
50 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
51         origWidth = innerWidth;\r
52         origHeight = innerHeight;\r
53         onresize = reDo;\r
54 }\r
55 onerror = null; \r
56 //-->\r
57 </script>\r
58 <style type="text/css">\r
59 <!--\r
60 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
61 -->\r
62 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
63 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
64 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
65 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
66 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
67 </head>\r
68 <body><script type="text/javascript" language="javascript1.2">\r
69 <!--\r
70 if (window.gbWhTopic)\r
71 {\r
72         if (window.addTocInfo)\r
73         {\r
74         addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nAdd Point on Edge");\r
75 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
76 \r
77         }\r
78         if (window.writeBtnStyle)\r
79                 writeBtnStyle();\r
80 \r
81         if (window.writeIntopicBar)\r
82                 writeIntopicBar(1);\r
83 \r
84         if (window.setRelStartPage)\r
85         {\r
86         setRelStartPage("geom.htm");\r
87 \r
88                 autoSync(1);\r
89                 sendSyncInfo();\r
90                 sendAveInfoOut();\r
91         }\r
92 }\r
93 else\r
94         if (window.gbIE4)\r
95                 document.location.reload();\r
96 //-->\r
97 </script>\r
98 <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>\r
99 \r
100 <p class="whs2"><b style="font-weight: normal;">T</b>o <span \r
101  style="font-weight: bold;"><B>Add Point on Edge</B></span> in the Main Menu select \r
102  <span style="font-weight: bold;"><B>Repair - &gt; Add Point on Edge.</B></span></p>\r
103 \r
104 <p>&nbsp;</p>\r
105 \r
106 <p class="whs2">This operation splits an edge in two in accordance \r
107  with the specified mode (by length or by parameter) and a value specifying \r
108  the position of the point on edge (for example val =0.5; mode = Length). \r
109  This operation is available in <span style="font-weight: bold;"><B>OCC Viewer</B></span> \r
110  only. </p>\r
111 \r
112 <p class="whs2">&nbsp;</p>\r
113 \r
114 <p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
115 \r
116 <p class="whs2">&nbsp;</p>\r
117 \r
118 <p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i> \r
119  </i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID, \r
120  Value, IsByParameter)</I></span>, where Shape is a shape which contains an \r
121  edge to be divided, EdgeID is the ID of the edge to be divided, if it \r
122  = -1, then Shape is an edge, Value is a paramter on the edge or a length. \r
123  IsByParameter if it is True then Value is the edge parameter in the range \r
124  [0:1] otherwise it is a length of the edge in the range [0:1]</p>\r
125 \r
126 <p class="whs2">&nbsp;</p>\r
127 \r
128 <p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
129  Name + 1 Edge + 1 value setting the position of the point according to \r
130  one of the selected modes</p>\r
131 \r
132 <p class="whs2">&nbsp;</p>\r
133 \r
134 <p class="whs3"><b style="font-weight: bold;">Dialog \r
135  Box:</b></p>\r
136 \r
137 <p class="whs3">&nbsp;</p>\r
138 \r
139 <p class="whs4"><img src="pics/repair8.png" x-maintain-ratio="TRUE" width="312px" height="388px" border="0" class="img_whs5"></p>\r
140 \r
141 <p class="whs6">&nbsp;</p>\r
142 \r
143 <p class="whs7">Example:</p>\r
144 \r
145 <p class="whs6">&nbsp;</p>\r
146 \r
147 <p class="whs8"><img src="image167.jpg" width="200px" height="231px" border="0" class="img_whs9"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="image168.jpg" width="185px" height="231px" border="0" class="img_whs10"></p>\r
148 \r
149 <p class="whs11">&nbsp;</p>\r
150 \r
151 <p class="whs12"><span style="font-weight: normal;">Our</span> \r
152  TUI Scripts<span style="font-weight: normal;"> provide you with useful \r
153  examples of the use of</span> <a href="repairing_operations.htm#bookmark7">Repairing \r
154  Operations</a>. </p>\r
155 \r
156 <p>&nbsp;</p>\r
157 \r
158 <script type="text/javascript" language="javascript1.2">\r
159 <!--\r
160 if (window.writeIntopicBar)\r
161         writeIntopicBar(0);\r
162 //-->\r
163 </script>\r
164 </body>\r
165 </html>\r