]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm
Salome HOME
Merge with OCC-V2_1_0_deb
[modules/geom.git] / doc / salome / gui / GEOM / files / salome2_sp3_geomtoolsgui_functions.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>Titre</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 p.whs1 { font-size:12pt; }\r
18 img_whs2 { border-style:none; border:none; float:none; width:30px; height:30px; }\r
19 p.whs3 { margin-left:40px; }\r
20 img_whs4 { border-style:none; border:none; width:250px; height:136px; }\r
21 p.whs5 { font-size:12pt; font-family:'Times New Roman' , serif; }\r
22 -->\r
23 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
24 <!--\r
25 function reDo() {\r
26   if (innerWidth != origWidth || innerHeight != origHeight)\r
27      location.reload();\r
28 }\r
29 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
30         origWidth = innerWidth;\r
31         origHeight = innerHeight;\r
32         onresize = reDo;\r
33 }\r
34 onerror = null; \r
35 //-->\r
36 </script>\r
37 <style type="text/css">\r
38 <!--\r
39 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
40 -->\r
41 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
42 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
43 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
44 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
45 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
46 </head>\r
47 <body><script type="text/javascript" language="javascript1.2">\r
48 <!--\r
49 if (window.gbWhTopic)\r
50 {\r
51         if (window.addTocInfo)\r
52         {\r
53         addTocInfo("GEOM module\nImporting\\exporting geometrical objects");\r
54 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
55 \r
56         }\r
57         if (window.writeBtnStyle)\r
58                 writeBtnStyle();\r
59 \r
60         if (window.writeIntopicBar)\r
61                 writeIntopicBar(1);\r
62 \r
63         if (window.setRelStartPage)\r
64         {\r
65         setRelStartPage("../geom.htm");\r
66 \r
67                 autoSync(1);\r
68                 sendSyncInfo();\r
69                 sendAveInfoOut();\r
70         }\r
71 }\r
72 else\r
73         if (window.gbIE4)\r
74                 document.location.reload();\r
75 //-->\r
76 </script>\r
77 <h1>Importing\exporting geometrical objects</h1>\r
78 \r
79 <p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> <span style="font-weight: normal;">In GEOM you can import \r
80  and export geometrical objects from\into BREP, IGES, STEP </span></b><b><span \r
81  style="font-weight: normal;">files. </span></b></p>\r
82 \r
83 &nbsp; \r
84 \r
85 <p class=TODO>To import geometrical objects from a BREP, IGES, STEP file:</p>\r
86 \r
87 <p class=TODO>&nbsp;</p>\r
88 \r
89 <p class="whs3">From the <span style="font-weight: bold;"><B>File \r
90  </B></span>menu choose <span style="font-weight: bold;"><B>Import </B></span>and \r
91  select the required format of the file for importation. Then you will \r
92  see a standard dialog box allowing to search for and choose *.brep, *.iges \r
93  or *.step &nbsp;file:</p>\r
94 \r
95 <p class="whs3">&nbsp;</p>\r
96 \r
97 <p class="whs3"><img src="../image134.jpg" width="250px" height="136px" border="0" class="img_whs4"></p>\r
98 \r
99 <p class="whs3">&nbsp;</p>\r
100 \r
101 <p class="whs3">Select the required file and click <span \r
102  style="font-weight: bold;"><B>OK</B></span>. You file will be imported into GEOM \r
103  and its contents (geometrical objects) will be displayed in the <span \r
104  style="font-weight: bold;"><B>Object Browser</B></span>. </p>\r
105 \r
106 <p class="whs3">&nbsp;</p>\r
107 \r
108 <p class="whs3"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
109  <span style="font-style: italic;"><I>geompy.Import(FileName, FormatName)</I></span>, \r
110  where FileName is a name of file which contains a shape, FormatName is \r
111  a string which describes a format of the file.</p>\r
112 \r
113 <p>&nbsp;</p>\r
114 \r
115 <p class=TODO>To export geometrical objects into a BREP, IGES, STEP file:</p>\r
116 \r
117 <p class=TODO>&nbsp;</p>\r
118 \r
119 <p class="whs3">From the <span style="font-weight: bold;"><B>File \r
120  </B></span>menu choose <span style="font-weight: bold;"><B>Export </B></span>and \r
121  select the required format of the file for exportation. Then you will \r
122  see a standard dialog box allowing to enter the name and select the location \r
123  for the file which will be exported:</p>\r
124 \r
125 <p class="whs3">&nbsp;</p>\r
126 \r
127 <p class="whs3"><img src="../image134.jpg" width="250px" height="136px" border="0" class="img_whs4"></p>\r
128 \r
129 <p class="whs3">&nbsp;</p>\r
130 \r
131 <p class="whs3">Click <span style="font-weight: bold;"><B>OK</B></span> \r
132  to confirm your exportation. &nbsp;</p>\r
133 \r
134 <p class="whs3">&nbsp;</p>\r
135 \r
136 <p class="whs3"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
137  <span style="font-style: italic;"><I>geompy.Export(Shape, FileName, FormatName)</I></span>, \r
138  where Shape is a shape to be exported, FileName is a name of a file to \r
139  which the shape is exported, FormatName is a string which describes the \r
140  file format.</p>\r
141 \r
142 <p class="whs5">&nbsp;</p>\r
143 \r
144 <li class=kadov-p><p class="whs5">&nbsp;</p></li>\r
145 \r
146 <p class="whs5">&nbsp;</p>\r
147 \r
148 <script type="text/javascript" language="javascript1.2">\r
149 <!--\r
150 if (window.writeIntopicBar)\r
151         writeIntopicBar(0);\r
152 //-->\r
153 </script>\r
154 </body>\r
155 </html>\r