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