Package Pmv :: Module fileCommands :: Class STLWriter
[hide private]
[frames] | no frames]

Class STLWriter

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
                  mvCommand.MVCommand --+
                                        |
                                       STLWriter

Command to write coords&normals of currently displayed geometries as
    ASCII STL files (STL = stereolithography, don't confuse with standard
    template library)
    
Package : Pmv
    
Module  : fileCommands
    
Class   : STLWriter
    
Command : writeSTL
    
Synopsis:

        None<---Write STL ( filename, sphereQuality=2,
cylinderQuality=10 )
    



Instance Methods [hide private]
  doit(self, filename, sphereQuality=2, cylinderQuality=10)
Write all displayed geoms of all displayed molecules in the STL format
  __call__(self, filename, **kw)
None <--- Write STL ( filename, sphereQuality=2, cylinderQuality=10 )
  guiCallback(self)

Inherited from mvCommand.MVCommand: __init__, strArg

Inherited from mvCommand.MVCommand (private): _strArg

Inherited from ViewerFramework.VFCommand.Command: __repr__, addCallbackAfter, addCallbackBefore, addUndoCall, afterDoit, beforeDoit, buildFormDescr, buildLogArgList, checkDependencies, cleanup, customizeGUI, doitWrapper, getArguments, getHelp, getLastUsedValues, getLogArgs, getValNamedArgs, log, logString, onAddCmdToViewer, onAddNewCmd, onCmdRun, setLastUsedValues, setupUndoAfter, setupUndoBefore, showForm, tkCb, updateGeom, warningMsg


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

doit(self, filename, sphereQuality=2, cylinderQuality=10)

source code 
Write all displayed geoms of all displayed molecules in the STL format
Overrides: ViewerFramework.VFCommand.Command.doit

__call__(self, filename, **kw)
(Call operator)

source code 
None <--- Write STL ( filename, sphereQuality=2, cylinderQuality=10 )
Overrides: ViewerFramework.VFCommand.Command.__call__

guiCallback(self)

source code 
None
Overrides: mvCommand.MVCommand.guiCallback