1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
5 <!--(==============================================================)-->
\r
6 <!--(Document created with RoboEditor. )============================-->
\r
7 <!--(==============================================================)-->
\r
11 <title>Titre</title>
\r
13 <!--(Meta)==========================================================-->
\r
15 <meta HTTP-EQUIV=Content-Type CONTENT="text/html; charset=windows-1252">
\r
16 <meta NAME=subject CONTENT=Sujet>
\r
17 <meta NAME=keywords CONTENT=Etude>
\r
18 <meta NAME=Client CONTENT=Client>
\r
19 <meta NAME=Department CONTENT="Dйveloppements spйcifiques open cascade">
\r
20 <meta NAME=Division CONTENT="Une filiale EADS Matra Datavision">
\r
21 <meta NAME=Owner CONTENT=OCC>
\r
22 <meta NAME=Project CONTENT=ProjectRef>
\r
23 <meta NAME=Folder CONTENT=FF>
\r
24 <meta NAME=Study CONTENT=SSS>
\r
25 <meta NAME=Reference CONTENT=Reference>
\r
26 <meta NAME=Template CONTENT="E:\AppTools\Office\Templates\Word\MDTV US\CSD-custYYXX-SPxNN-SSS-V-REV.dot">
\r
27 <meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
\r
28 <meta name=generator-major-version content=0.1>
\r
29 <meta name=generator-minor-version content=1>
\r
30 <meta name=filetype content=kadov>
\r
31 <meta name=filetype-version content=1>
\r
32 <meta name=page-count content=1>
\r
33 <meta name=layout-height content=1096>
\r
34 <meta name=layout-width content=532>
\r
37 <!--(Links)=========================================================-->
\r
39 <link rel='stylesheet' href='../default_ns.css'>
\r
40 <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
\r
42 if (navigator.appName !="Netscape")
\r
43 { document.write("<link rel='stylesheet' href='../default.css'>");}
\r
46 <style type="text/css">
\r
48 p.whs1 {font-size: 12pt;}
\r
49 img_whs2 {border-style: none; border: none; float: none; width: 30px; height: 30px;}
\r
50 p.whs3 {margin-left: 40px;}
\r
51 img_whs4 {border-style: none; border: none; width: 250px; height: 136px;}
\r
52 p.whs5 {font-size: 12pt; font-family: 'Times New Roman', serif;}
\r
55 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
58 if (innerWidth != origWidth || innerHeight != origHeight)
\r
61 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
62 origWidth = innerWidth;
\r
63 origHeight = innerHeight;
\r
69 <style type="text/css">
\r
71 div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}
\r
74 <script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
\r
75 <script type="text/javascript" language="javascript" src="../whver.js"></script>
\r
76 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
\r
77 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
\r
78 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
\r
81 <!--(Body)==========================================================-->
\r
86 <script type="text/javascript" language="javascript1.2">
\r
88 if (window.gbWhTopic)
\r
90 if (window.addTocInfo)
\r
92 addTocInfo("GEOM module\nImporting\\exporting geometrical objects");
\r
93 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
96 if (window.writeBtnStyle)
\r
99 if (window.writeIntopicBar)
\r
100 writeIntopicBar(1);
\r
102 if (window.setRelStartPage)
\r
104 setRelStartPage("../geom.html");
\r
112 document.location.reload();
\r
115 <h1>Importing\exporting geometrical objects</h1>
\r
117 <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
118 and export geometrical objects from\into BREP, IGES, STEP </span></b><b><span
\r
119 style="font-weight: normal;">files. </span></b></p>
\r
123 <p class=TODO>To import geometrical objects from a BREP, IGES, STEP file:</p>
\r
125 <p class=TODO> </p>
\r
127 <p class="whs3">From the <span style="font-weight: bold;"><B>File
\r
128 </B></span>menu choose <span style="font-weight: bold;"><B>Import </B></span>and
\r
129 select the required format of the file for importation. Then you will
\r
130 see a standard dialog box allowing to search for and choose *.brep, *.iges
\r
131 or *.step file:</p>
\r
133 <p class="whs3"> </p>
\r
135 <p class="whs3"><img src="../image134.jpg" width="250px" height="136px" border="0" class="img_whs4"></p>
\r
137 <p class="whs3"> </p>
\r
139 <p class="whs3">Select the required file and click <span
\r
140 style="font-weight: bold;"><B>OK</B></span>. You file will be imported into GEOM
\r
141 and its contents (geometrical objects) will be displayed in the <span
\r
142 style="font-weight: bold;"><B>Object Browser</B></span>. </p>
\r
144 <p class="whs3"> </p>
\r
146 <p class="whs3"><span style="font-weight: bold;"><B>TUI command:</B></span>
\r
147 <span style="font-style: italic;"><I>geompy.Import(FileName, FormatName)</I></span>,
\r
148 where FileName is a name of file which contains a shape, FormatName is
\r
149 a string which describes a format of the file.</p>
\r
153 <p class=TODO>To export geometrical objects into a BREP, IGES, STEP file:</p>
\r
155 <p class=TODO> </p>
\r
157 <p class="whs3">From the <span style="font-weight: bold;"><B>File
\r
158 </B></span>menu choose <span style="font-weight: bold;"><B>Export </B></span>and
\r
159 select the required format of the file for exportation. Then you will
\r
160 see a standard dialog box allowing to enter the name and select the location
\r
161 for the file which will be exported:</p>
\r
163 <p class="whs3"> </p>
\r
165 <p class="whs3"><img src="../image134.jpg" width="250px" height="136px" border="0" class="img_whs4"></p>
\r
167 <p class="whs3"> </p>
\r
169 <p class="whs3">Click <span style="font-weight: bold;"><B>OK</B></span>
\r
170 to confirm your exportation. </p>
\r
172 <p class="whs3"> </p>
\r
174 <p class="whs3"><span style="font-weight: bold;"><B>TUI command:</B></span>
\r
175 <span style="font-style: italic;"><I>geompy.Export(Shape, FileName, FormatName)</I></span>,
\r
176 where Shape is a shape to be exported, FileName is a name of a file to
\r
177 which the shape is exported, FormatName is a string which describes the
\r
180 <p class="whs5"> </p>
\r
182 <li class=kadov-p><p class="whs5"> </p></li>
\r
184 <p class="whs5"> </p>
\r
186 <script type="text/javascript" language="javascript1.2">
\r
188 if (window.writeIntopicBar)
\r
189 writeIntopicBar(0);
\r