\r
\r
def read_from_file(path):\r
+ """\r
+ read from file path, then return the pymeshio.mqo.Model.\r
+\r
+ :Parameters:\r
+ path\r
+ file path\r
+ """\r
with io.open(path, 'rb') as ios:\r
return read(ios)\r
\r
\r
def read(ios):\r
- print(type(ios), ios)\r
+ """\r
+ read from ios, then return the pymeshio.mqo.Model.\r
+\r
+ :Parameters:\r
+ ios\r
+ input stream (in io.IOBase)\r
+ """\r
assert(isinstance(ios, io.IOBase))\r
reader=Reader(ios)\r
model=mqo.Model()\r