This software is free but we ask that:

	1) Any incorporation of this software or pieces of this software
	   in commercial products are subject to prior written permission 
	   of JOANNEUM RESEARCH, Institute for information Systems.
	2) You let us know of any enhancements you make to the software.

We are interested also in any comments you might have or features 
and enhancements you would like to see in future releases. 

Please send these comments or any further questions to:

    _--_     _--_             
   (    )~~~(    )
    \           /		
     (  ' _ `  )		Georg THALLINGER / Harald MAYER                
      \       /			Institute for Information Systems   
    .__( `-' )  ___		JOANNEUM RESEARCH GRAZ /  AUSTRIA   
   /   /`---'`-'   \
  /   /          ._/   __
/'   /.-----\___/     /  )
\___//          `----'   !	e-mail: thallinger@pbox.joanneum.ac.at  
     \            ______/	        mayer@pbox.joanneum.ac.at
      `--_____----'		phone:  (++43/316) 8020-240           
       \    /			fax:	(++43/316) 8020-191
        !   !
        /  /__
       (______)

AVS Modules							 write geom(6)

NAME
     write geom - convert and save geometry in various formats

SUMMARY
     Name	   write geom

     Authors       Georg H. Thallinger, thallinger@pbox.joanneum.ac.at
		   			JOANNEUM RESEARCH

     Type	   render

     Inputs	   geometry

     Outputs	   -

     Parameters	   Name		   Type		  Default	Min	   Max
		   Filename        string         ""            ""         ""
		   Format          choice         text          
			
DESCRIPTION

     The write_geom module saves the geometry in a file. Currently there 
     is a choice of three formats: avs-text, avs-binary, dxf 
     (drawing exchange format by AUTODESK). The dxf-routines supply a 
     rudimentary header, every object is placed on a single layer (PRISMS
     converts every layer in an object). The dxf-output is at last readable 
     by PRISMS, ALIAS and of course AutoCAD.

INPUTS

     Geometry (required; geometry) 
	  An AVS geometry, created with the libgeom library or by
          another AVS module. 

PARAMETERS

     Filename
	  The name of the file the converted geometry should be stored.
     
     Format
	  The format the geometry should be stored.
	  text   ... store in AVS-ascii format, can be read by GEOMread_text.
	  binary ... store in AVS-binary format, can be read by GEOMread_obj,
		     Read Geom and the Geometry Viewer.
	  dxf    ... store in AutoDESK's DXF format.

OUTPUTS

     -

EXAMPLE
     In	this example, a geometry is read by READ GEOM displayed by the 
     Geometry Viewer and stored by WRITE GEOM.

		READ GEOM
		    |___________________
		    |			|
		WRITE GEOM       GEOMETRY VIEWER


RELATED	MODULES
     read geom, and all modules producing geometry 

LIMITATIONS
     The function for DXF output does not support geometric entities of type
     GEOM_SPHERE, GEOM_MESH and GEOM_LABEL. 
     Due to the DXF format specification the produced DXF-files get rather 
     big even for small geometries.
				   


Release	2.0			  Stellar			 write geom(6)
