File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11
11
[ ![ GitHub stars] ( https://img.shields.io/github/stars/nschloe/meshio.svg?style=flat-square&logo=github&label=Stars&logoColor=white )] ( https://github.com/nschloe/meshio )
12
12
[ ![ PyPi downloads] ( https://img.shields.io/pypi/dm/meshio.svg?style=flat-square )] ( https://pypistats.org/packages/meshio )
13
13
14
- [ ![ Discord] ( https://img.shields.io/static/v1?logo=discord&label=chat&message=on%20discord&color=7289da&style=flat-square )] ( https://discord.gg/hnTJ5MRX2Y )
14
+ [ ![ Discord] ( https://img.shields.io/static/v1?logo=discord&label=chat&message=on%20discord&color=7289da&style=flat-square )] ( https://discord.gg/Z6DMsJh4Hr )
15
15
16
16
[ ![ gh-actions] ( https://img.shields.io/github/workflow/status/nschloe/meshio/ci?style=flat-square )] ( https://github.com/nschloe/meshio/actions?query=workflow%3Aci )
17
17
[ ![ codecov] ( https://img.shields.io/codecov/c/github/nschloe/meshio.svg?style=flat-square )] ( https://codecov.io/gh/nschloe/meshio )
Original file line number Diff line number Diff line change @@ -236,6 +236,10 @@ def read_ascii_buffer(f):
236
236
# adapt for 0-base
237
237
cells .append ((meshio_type , out [:, :points_per_cell ] - 1 ))
238
238
cell_data ["medit:ref" ].append (out [:, - 1 ])
239
+ elif items [0 ] == "Corners" :
240
+ # those are just discarded
241
+ num_corners = int (f .readline ())
242
+ np .fromfile (f , count = num_corners , dtype = dtype , sep = " " )
239
243
elif items [0 ] == "Normals" :
240
244
# those are just discarded
241
245
num_normals = int (f .readline ())
You can’t perform that action at this time.
0 commit comments