PyFoam.Applications.DisplayBlockMesh module

Old implementation using Tkinter. This is no longer supported. If possible use the Qt-Variant

class PyFoam.Applications.DisplayBlockMesh.DisplayBlockMesh[source]

Bases: PyFoam.Applications.PyFoamApplication.PyFoamApplication

__init__()[source]
Parameters:
  • description – description of the command
  • epilog – text to be printed after the options-help
  • examples – usage examples to be printed after the epilog
  • usage – Usage
  • interspersed – Is the command line allowed to be interspersed (options after the arguments)
  • args – Command line arguments when using the Application as a ‘class’ from a script
  • nr – Number of required arguments
  • changeVersion – May this application change the version of OF used?
  • exactNr – Must not have more than the required number of arguments
  • subcommands – parse and use subcommands from the command line. Either True or a list with subcommands
  • inputApp – Application with input data. Used to allow a ‘pipe-like’ behaviour if the class is used from a Script
  • localConfigurationFile – Use this file (or list of files) as a local configuration
  • findLocalConfigurationFile – Method to find a configuration file BEFORE the actual parameters are parsed
  • allowCurses – This application can wrap the output in a curses-window
__module__ = 'PyFoam.Applications.DisplayBlockMesh'
addBlock(index)[source]
addLine(index1, index2)[source]
addPoint(coord, factor=1)[source]
addProps()[source]
addUndefined(i)[source]
addVertex(index)[source]
colorBlock(value)[source]
colorPatch(value)[source]
makeArc(data)[source]
makeDirection(index1, index2, label)[source]
makeFace(lst)[source]
makeSpline(lst)[source]
quit()[source]
readFile()[source]
reread()[source]
run()[source]

Run the real application

setAxes()[source]
PyFoam.Applications.DisplayBlockMesh.doImports()[source]