TEC_TO_OBJ
Convert TECPLOT Finite Element Files to OBJ Format


TEC_TO_OBJ is a FORTRAN90 program which can read a TECPLOT file defining a 3D surface of triangles or quadrilaterals, and write a corresponding Alias OBJ file.

TEC_TO_OBJ can only read a very specific type of TECPLOT FILE, namely, one in which the spatial dimension is 3, and in which the objects are triangular finite elements.

This means that the first three lines of the TECPLOT file should look something like this:

        TITLE = "human.tec created by IVREAD."
        VARIABLES = "X", "Y", "Z", "R", "G", "B"
        ZONE N = 64, E = 96, DATAPACKING = POINT, ZONETYPE = FETRIANGLE
      
or
        TITLE = "human.tec created by IVREAD."
        VARIABLES = "X", "Y", "Z", "R", "G", "B"
        ZONE N = 64, E = 48, DATAPACKING = POINT, ZONETYPE = FEQUADRILATERAL
      
where the important things are:

The TECPLOT home page is
http://www.tecplot.com/

Usage:

tec_to_obj file.tec
reads the TECPLOT file file.tec and creates the Alias OBJ file file.obj.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

IVCON is a C++ program which reads an Alias OBJ file and writes out an equivalent file in a variety of formats.

IVREAD is a FORTRAN90 program which reads an Alias OBJ file and write out an equivalent file in a variety of formats.

OBJ is a data directory which contains a description of the Alias OBJ data file format.

OBJ_2_PLY is a C program which reads an Alias OBJ file and writes a PLY file.

OBJ_IO is a FORTRAN90 library which reads or writes an Alias OBJ file.

OBJ2OPENGL is a PERL script which converts an Alias OBJ file to a C/C++ include file appropriate for use with Open GL;

PLY_TO_OBJ is a C program which reads a PLY 3D graphics file and writes an equivalent OBJ graphics file.

TEC is a data directory which contains a description of TECPLOT files.

TEC_IO is a FORTRAN90 library which reads or writes a TECPLOT file definite a finite element dataset.

TEC_TO_FEM is an executable FORTRAN90 program which convert a TECPLOT graphics file defining a finite element dataset into a set of FEM files.

TEC_TO_OBJ2 is an executable FORTRAN90 program which is a minor revision of TEC_TO_OBJ and which tries to read data from multiple zones in a TECPLOT file and write it to an OBJ file.

TEC_TO_UCD is an executable FORTRAN90 program which reads a TECPLOT file defining a finite element dataset, and write a corresponding AVS UCD (Unstructured Cell Data) file.

TEC_WRITE is a FORTRAN90 which can write TEC files.

Reference:

  1. http://www.alias.com/eng/index.shtml, The Alias web site.
  2. obj_format.txt, some information about the Alias OBJ format.
  3. Tecplot, Inc,
    TECPLOT Reference Manual,
    Version 10, Release 4,
    Tecplot, Inc, 2005.
  4. Tecplot, Inc,
    TECPLOT User's Manual,
    Version 10,
    Tecplot, Inc, 2005.

Source Code:

Examples and Tests:

HUMANOID_TRI is a TECPLOT file describing a humanoid shape using finite element triangles.

HUMANOID_QUAD is a TECPLOT file describing a humanoid shape using finite element quadrilaterals.

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 01 February 2008.