MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
FoamConstruction.vtkconv Namespace Reference

Converts binary VTK to ASCII VTK file. More...

Functions

def main (filenameIn, filenameOut, origin, spacing)
 Main function for the conversion. More...
 

Detailed Description

Converts binary VTK to ASCII VTK file.

Author
Pavel Ferkl

Function Documentation

◆ main()

def FoamConstruction.vtkconv.main (   filenameIn,
  filenameOut,
  origin,
  spacing 
)

Main function for the conversion.

Intended for VTK files with 3D voxel data. Adjusts origin and spacing.

Parameters
[in]filenameInbinary VTK file name
[in]filenameOutASCII VTK file name
[in]originof coordinate system
[in]distancebetween the points

Definition at line 21 of file vtkconv.py.