4.14 Exporting Geometry
Geometry can be exported from Cubit in a variety of formats, including the ACIS ".sat" and ".sab" formats as well as in more portable exchange formats like STEP and IGES.
4.14.1 Exporting ACIS Files
Geometry can be exported from within Cubit to the ACIS "sat" (ASCII) and "sab" (binary) formats. These formats can be used to exchange geometry between ACIS-compliant applications.
To export ACIS files:
Select File and then Export.
Select the location for the file to be saved.
Enter a File Name.
Select ACIS from the Save as type drop-down menu.
Click Save. A new window will appear.
Optionally specify any appropriate settings from this window.
Click Finish.
Export Acis [Debug] ’filename’ [<geometry_entity_list>] [Binary|Ascii] [Current] [Overwrite]
When exporting, the filename extension will determine the default file type, either ASCII or binary. A .sat extension will default to ASCII; a .sab extension will default to binary. If you use a different file extension you can specify the type with the [binary|ascii] option (with an unsupported extension exporting will default to ASCII but importing requires the type to be specified). Binary files can be significantly faster but are not guaranteed to be upward compatible nor cross-platform compatible (although testing has determined compatibility between NT and HP/UX).
In the GUI version, the current option will set the default filename for autosave (cntrl-S or File->Save (auto inc)) to the imported filename. Also, the filename is then set in the window titlebar.
When exporting with the "file overwrite" option on, the software will check to see if the file exists already, and if it does, exporting will fail in the command line version or ask to confirm the overwrite in the GUI version of Cubit.The overwrite option will override this option and overwrite the file.The "file overwrite" option defaults to ON in the GUI version, OFF in the command line version.
Set Geometry Version [version_number]
To retain any merging information during export of an ACIS file, set attribute on and set attribute off need to be used before and after the export acis command.
See also Importing ACIS Models.
4.14.2 Exporting Facet and STL Files
Facet files may be exported directly, or by converting from an ACIS representation. A facet file is very light-weight, containing only node and connectivity information. Facet files are ASCII only. An STL file is written in standard STL format. To export a facet file:
Select File and then Export.
Select the location for the file to be saved.
Enter a File Name.
Select Facets from the Save as type drop-down menu.
Click OK. A new window will appear.
Optionally select any appropriate settings from this window.
Click Finish.
Export Facets ’filename’ <entity_list> [Overwrite]
To export an STL file:
Select File and then Export.
Select the location for the file to be saved.
Enter a File Name.
Select STL from the Save as type drop-down menu.
Click OK. A new window will appear.
Optionally select any appropriate settings from this window.
Click Finish.
Export STL [ASCII|binary] ’<file_name>’ [<entity_list>] [tri <id_range>] [angle <value=15> ] [mesh|water tight] [overwrite]
4.14.3 Exporting IGES Files
IGES files can be read/written from Cubit using an added plugin available from Coreform. Contact mailto:sales@coreform.com?subject=Please%20provide%20details%20of%20IGES%20plugin%20for%20Cubit for details and pricing.
The ACIS IGES translator provides bi-directional functionality for data translation between ACIS and the IGES (Initial Graphic Exchange Standard) format.
To export IGES files:
Select File and then Export.
Select the location for the file to be saved.
Enter a File Name.
Select IGES from the Save as type drop-down menu.
Click Save. A new window will appear.
Optionally specify any appropriate settings from this window.
Click Finish.
Export Iges ’filename’ [<geometry_entity_list>][Solid] [Logfile [’filename’] [Display]] [Overwrite]
The logfile option is used to save information regarding the conversion to IGES format.This information saved to a file with the name specified by the user, or named ’iges_export.log’ by default.When running the GUI version of Cubit, the logfile can be displayed in a dialog window by using the display option.
The solid option allows solid volumes to be exported as Manifold Solid B-Rep Objects (MSBO). Without this option, the iges file is simply a collection of stand-alone surfaces.
The overwrite option works the same as with ACIS file export.
See Importing IGES Files for information on setting up the IGES import and export functionality.
Note that the IGES import and export functionality might not be available on all 64-bit platforms.
4.14.4 Exporting STEP Files
Cubit can export geometry to the STEP format, an emerging standard for storing geometry and other information. The STEP AP203 and STEP AP214 standards are supported.It is recommended to use AP214 for exchange of geometry information with Cubit.
To export STEP files:
Select File and then Export.
Select the location for the file to be saved.
Enter a File Name.
Select STEP from the Save as type drop-down menu.
Click Save. A new window will appear.
Optionally specify any appropriate settings from this window.
Click Finish.
Export Step ’filename’ [<geometry_entity_list>][Logfile [’filename’] [Display]] [Overwrite]
The logfile option is used to save information regarding the conversion to STEP format.This information saved to a file with the name specified by the user, or named ’step_export.log’ by default.When running the GUI version of Cubit, the logfile can be displayed in a dialog window by using the display option.
The overwrite option works the same as with ACIS file export.
See Importing STEP Files for information on setting up the STEP import and export functionality.
Note that the STEP import and export functionality might not be available on all 64-bit platforms.