write geom - convert and save geometry in various formats

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)