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