1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\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
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='../default.css'>");}
\r
15 <style type="text/css">
\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
24 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
27 if (innerWidth != origWidth || innerHeight != origHeight)
\r
30 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
31 origWidth = innerWidth;
\r
32 origHeight = innerHeight;
\r
38 <style type="text/css">
\r
40 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\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
48 <body><script type="text/javascript" language="javascript1.2">
\r
50 if (window.gbWhTopic)
\r
52 if (window.addTocInfo)
\r
54 addTocInfo("GEOM module\nImporting\\exporting geometrical objects");
\r
55 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
58 if (window.writeBtnStyle)
\r
61 if (window.writeIntopicBar)
\r
64 if (window.setRelStartPage)
\r
66 setRelStartPage("../geom.htm");
\r
75 document.location.reload();
\r
78 <h1>Importing\exporting geometrical objects</h1>
\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
86 <p class=TODO>To import geometrical objects from a BREP, IGES, STEP file:</p>
\r
88 <p class=TODO> </p>
\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 file:</p>
\r
96 <p class="whs3"> </p>
\r
98 <p class="whs3"><img src="../image1.gif" width="517px" height="342px" border="0" class="img_whs4"></p>
\r
100 <p class="whs3"> </p>
\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
107 <p class="whs3"> </p>
\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
116 <p class=TODO>To export geometrical objects into a BREP, IGES, STEP file:</p>
\r
118 <p class=TODO> </p>
\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
126 <p class="whs3"> </p>
\r
128 <p class="whs3"><img src="../image2.jpg" width="519px" height="339px" border="0" class="img_whs5"></p>
\r
130 <p class="whs3"> </p>
\r
132 <p class="whs3">Click <span style="font-weight: bold;"><B>OK</B></span>
\r
133 to confirm your exportation. </p>
\r
135 <p class="whs3"> </p>
\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
143 <p class="whs6"> </p>
\r
145 <li class=kadov-p><p class="whs6"> </p></li>
\r
147 <p class="whs6"> </p>
\r
149 <script type="text/javascript" language="javascript1.2">
\r
151 if (window.writeIntopicBar)
\r
152 writeIntopicBar(0);
\r