Skip to content

Commit

Permalink
add support for line segments in export.vtk
Browse files Browse the repository at this point in the history
  • Loading branch information
CVerhoosel authored and joostvanzwieten committed Jul 14, 2020
1 parent 1fa025e commit 768b8be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nutils/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def vtk(name, cells, points, kwargs=...):
'''

vtkcelltype = {
2: numpy.array( 3, dtype='>u4'), # VTK_LINE
3: numpy.array( 5, dtype='>u4'), # VTK_TRIANGLE
4: numpy.array(10, dtype='>u4')} # VTK_TETRA
vtkndim = {
Expand Down

0 comments on commit 768b8be

Please sign in to comment.