cad2h3d

Translates any HyperMesh supported CAD file into an H3D (.h3d) file.

Syntax

cad2h3d cad_source_file h3d_target_file visualization_only ?cad_translator?

Application

Translator

Description

The tool is available from the <altair_home>/hm/bin/<platform> directory.

Inputs

cad_source_file
The name and path of the CAD file to translate. This can be any HyperMesh supported CAD file.
h3d_target_file
The name and path of the H3D file to write.
visualization_only
An option that specifies whether the H3D is for visualization only.
  • If set to 1, this enables the @ImportForVisualizationOnly option for the CAD readers, which skip performing certain import and cleanup steps to get a model for visualization quality, but not analysis quality.
  • If set to 0, the normal CAD import process is used.
cad_translator
An optional argument that specifies which CAD translator to use. By default, the "#Detect" translator is used to automatically determine the CAD reader to use. However, for cases where that fails, specifying the required translator is necessary.
The translator can be specified in one of two ways:
  • Absolute path of the translator
  • Translator name (for example, #iges, #iges/iges, #iges/iges_reader)

Example

To translate the file C:/cube.iges into C:/cube.h3d:
cad2h3d C:/cube.iges C:/cube.h3d 0
or
cad2h3d C:/cube.iges C:/cube.h3d 0 #iges
or
cad2h3d C:/cube.iges C:/cube.h3d 0 #iges/iges
or
cad2h3d C:/cube.iges C:/cube.h3d 0 #iges/iges_reader