Skip to content
Snippets Groups Projects
Commit fc29df38 authored by Martin Bauer's avatar Martin Bauer
Browse files

VTK output for boundary data

parent 2f8e82fe
No related merge requests found
......@@ -12,7 +12,7 @@ def imageToVTK(path, origin=(0.0, 0.0, 0.0), spacing=(1.0, 1.0, 1.0), cellData=N
keys = list(cellData.keys())
data = cellData[keys[0]]
if hasattr(data, 'shape'):
end = data.shape[:-1]
end = data.shape
elif data[0].ndim == 3 and data[1].ndim == 3 and data[0].ndim == 3:
keys = list(cellData.keys())
data = cellData[keys[0]]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment