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-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
23 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
26 if (innerWidth != origWidth || innerHeight != origHeight)
\r
29 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
30 origWidth = innerWidth;
\r
31 origHeight = innerHeight;
\r
37 <style type="text/css">
\r
39 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\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
47 <body><script type="text/javascript" language="javascript1.2">
\r
49 if (window.gbWhTopic)
\r
51 if (window.addTocInfo)
\r
53 addTocInfo("GEOM module\nImporting\\exporting geometrical objects");
\r
54 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
57 if (window.writeBtnStyle)
\r
60 if (window.writeIntopicBar)
\r
63 if (window.setRelStartPage)
\r
65 setRelStartPage("../geom.htm");
\r
74 document.location.reload();
\r
77 <h1>Importing\exporting geometrical objects</h1>
\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
85 <p class=TODO>To import geometrical objects from a BREP, IGES, STEP file:</p>
\r
87 <p class=TODO> </p>
\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 file:</p>
\r
95 <p class="whs3"> </p>
\r
97 <p class="whs3"><img src="../image134.jpg" width="250px" height="136px" border="0" class="img_whs4"></p>
\r
99 <p class="whs3"> </p>
\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
106 <p class="whs3"> </p>
\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
115 <p class=TODO>To export geometrical objects into a BREP, IGES, STEP file:</p>
\r
117 <p class=TODO> </p>
\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
125 <p class="whs3"> </p>
\r
127 <p class="whs3"><img src="../image134.jpg" width="250px" height="136px" border="0" class="img_whs4"></p>
\r
129 <p class="whs3"> </p>
\r
131 <p class="whs3">Click <span style="font-weight: bold;"><B>OK</B></span>
\r
132 to confirm your exportation. </p>
\r
134 <p class="whs3"> </p>
\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
142 <p class="whs5"> </p>
\r
144 <li class=kadov-p><p class="whs5"> </p></li>
\r
146 <p class="whs5"> </p>
\r
148 <script type="text/javascript" language="javascript1.2">
\r
150 if (window.writeIntopicBar)
\r
151 writeIntopicBar(0);
\r