OGREXMLCONVERTER(1) General Commands Manual OGREXMLCONVERTER(1)NAME
OgreXMLConverter - converts data between XML and Ogre binary formats
SYNOPSIS
OgreXMLConverter [-i] [-e] [-l lodlevels] [-d loddist] [[-p lodpercent][-f lodnumtris]] sourcefile [destfile]
DESCRIPTION
OgreXMLConverter converts data between XML and Ogre binary formats.
OPTIONS
A summary of options is included below.
-i Interactive mode - prompt for options
-e DON'T generate edge lists (for stencil shadows)
-r DON'T reorganise vertex buffers to OGRE recommended format
-t Generate tangents (for normal mapping)
The following options are only applicable when converting XML to Mesh:
-l lodlevels
Number of LOD levels
-d loddist
Distance increment to reduce LOD
-p lodpercent
Percentage triangle reduction amount per LOD
-f lodnumtris
Fixed vertex reduction per LOD
sourcefile
Name of the file to convert
destfile
Optional name of file to write to. If you don't specify this OGRE works it out through the extension and the XML contents if the
source is XML. For example test.mesh becomes test.xml, test.xml becomes test.mesh if the XML document root is <mesh> etc.
AUTHOR
This manual page was written by Moritz Muehlenhoff <jmm@inutil.org> for the Debian GNU/Linux system, but may be used by others.
Nov 17, 2004 OGREXMLCONVERTER(1)
Check Out this Related Man Page
DOLFIN-CONVERT(1) General Commands Manual DOLFIN-CONVERT(1)NAME
dolfin-convert - Convert to DOLFIN XML format
SYNOPSIS
dolfin-convert [OPTIONS] ... input.x output.y
OPTIONS -h, --help
Display help text and exit.
-i format, --input format
Specify input format.
-o format, --output format
Specify output format.
Supported formats:
xml - DOLFIN XML mesh format (current)
xml-old
- DOLFIN XML mesh format (DOLFIN 0.6.2 and earlier)
mesh - Medit, generated by tetgen with option -g
gmsh - Gmsh, version 2.0 file format
metis - Metis graph file format
scotch - Scotch graph file format
diffpack
- Diffpack tetrahedral grid format
abaqus - Abaqus tetrahedral grid format
ExodusII
- Sandia Format (requires ncdump utility from NetCDF)
NetCDF - NetCDF format (requires ncdump utility from NetCDF)
StarCD - StarCD terahedral grid format
If --input or --output are not specified, the format will be deduced from the suffix:
.xml - xml
.mesh - mesh
.gmsh - gmsh
.msh - gmsh
.gra - metis
.grf - scotch
.grid - diffpack
.inp - abaqus
.e - ExodusII
.exo - ExodusII
.ncdf - NetCDF
.vrt - StarCD
.cell - StarCD
BUGS
Send comments, questions, bug reports etc. to dolfin@lists.launchpad.net.
AUTHOR
dolfin-convert was originally written by Anders Logg <logg@simula.no>. Several others have contributed to add support for different mesh
formats. This manual page was written by Johannes Ring <johannr@simula.no>.
DOLFIN-CONVERT(1)
Here is the file named tuwork..........
209 200 WZ 6529 SKTNCA01X4X C POI LODI LODI 738 SKTNCA0127T LOD
Here is the scipt.......
cat tuwork |
while
read rva
do
num=`echo $rva | cut -d" " -f1-2`
reg=`echo $rva | cut -c10`
ocn=`echo $rva | cut -c12-15`
x=`echo $rva | cut -c29`... (3 Replies)
Hello ,
I have the folloiwing command :
sed -n "$var,$final w $destfile" $sourcefile
where :
$var - $final represent the range of line numbers to be written in $destfile
However I require this command to work in a loop for which i need the sed command to keep appending the output to the... (2 Replies)