HappyDoc Generated Documentation ./Shape/shapecmd.py

. / Shape / shapecmd.py 

Functions   
  hk_icosahedral_geometry 
hk_icosahedral_geometry (
        radius,
        hk,
        sphere_factor=None,
        orientation=None,
        )
  shape_command 
shape_command ( cmdname,  args )

Command to create standard geometric shapes as surfaces primarily for masking volume data.

Syntax: shape cylinder|icosahedron|sphere [radius ] [divisions ] [height ] [color ] [mesh true|false] [sphereFactor ] [orientation ] [lattice ]

where orientation applies only to icosahedron and can be one of 222, 2n5, n25, 2n3 or any of those with r appended. The lattice parameter is two non-negative integers separated by a comma and controls the layout of hexagons for an icosahedron.

  make_shape 
make_shape (
        shapeName,
        radius=None,
        height=None,
        divisions=None,
        color=None,
        mesh=None,
        linewidth=None,
        sphereFactor=None,
        orientation=None,
        lattice=None,
        )
Exceptions   

MidasError, ('Unknown shape "%s", use %s' %(shapeName, ', '.join( shape_names ) ) )
MidasError, '%s must be positive, got "%s"' %(name, str( val ) )
MidasError, 'Invalid lattice "%s", must be two integers separated by a comma' % str( lattice )
MidasError, ('Unknown orientation "%s", use %s' %(orientation, ', '.join( csnames ) ) )
MidasError, '%s must be number, got "%s"' %(name, str( val ) )
MidasError, 'Unknown color "%s"' % str( val )

  cylinder_geometry 
cylinder_geometry (
        radius,
        height,
        divisions,
        )
  icosahedral_geometry 
icosahedral_geometry (
        radius,
        divisions,
        sphere_factor=None,
        orientation=None,
        )
  abbreviation_table 
abbreviation_table ( names )

Return table mapping unique abbreviations for names to the full name.

Classes   

This document was automatically generated Fri May 30 21:13:42 2008 by HappyDoc version 3.1