weixin_39645019
weixin_39645019
2020-12-09 07:21

Error in computing centerline in VMTK

Hello I wanted to use Meshing based on centerlines tool in order to create a good mesh but when I was working with vmtk tutorial and this comment "vmtkcenterlines -seedselector openprofiles -ifile aneu_int.stl -ofile centerlines.vtp" which is based on an example of Gmesh WIki , I mean this page " https://geuz.org/trac/gmsh/wiki/FSIMesh", I got this error:
ERROR: In C:\prova64-vmtk\vmtk-build\VTK\IO\vtkSTLReader.cxx, line 446 vtkSTLReader (0000000004AA34D0): STLReader error reading file: aneu_int.stl Premature EOF while reading end solid. I was wondering if you answer to this question as soon as possible. Thank you Nasrollah

该提问来源于开源项目:vmtk/vmtk

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

7条回答

  • weixin_39738152 weixin_39738152 5月前

    I downloaded the file and saw the error. The error is the result of a bug in VTK that has been fixed in VTK 6, see http://www.vtk.org/Bug/view.php?id=13160. It doesn't show with most STL files. Work for porting vmtk to VTK 6 is underway.

    In any case, the pipe you reported produces the following correct centerlines. screen shot 2015-04-06 at 18 00 15

    点赞 评论 复制链接分享
  • weixin_39645019 weixin_39645019 5月前

    Thanks for your response

    点赞 评论 复制链接分享
  • weixin_39738152 weixin_39738152 5月前

    Hi, apparently the stl file is corrupted (truncated?). The error should be reproducible with just

    
    vmtksurfacereader -ifile aneu_int.stl
    

    Can you open the file with any other software (e.g. gmesh or paraview) for a check?

    点赞 评论 复制链接分享
  • weixin_39645019 weixin_39645019 5月前

    Hi, The file could be opened with paraview or gmesh software very well. However, I wanted to reproduce the centerline file on my own which is available in this page " https://geuz.org/trac/gmsh/wiki/FSIMesh", I used this comment "vmtkcenterlines -seedselector openprofiles -ifile aneu_int.stl -ofile centerlines.vtp" but unfortunately, I got the previous error.

    点赞 评论 复制链接分享
  • weixin_39738152 weixin_39738152 5月前

    Can you send the file over? I'll take a look.

    Luca On Apr 6, 2015 9:21 AM, "Nasrollah" notifications.com wrote:

    Hi, The file could be opened with paraview or gmesh software very well. However, I wanted to reproduce the centerline file on my own which is available in this page " https://geuz.org/trac/gmsh/wiki/FSIMesh", I used this comment "vmtkcenterlines -seedselector openprofiles -ifile aneu_int.stl -ofile centerlines.vtp" but unfortunately, I got the previous error.

    — Reply to this email directly or view it on GitHub https://github.com/vmtk/vmtk/issues/134#issuecomment-89957397.

    点赞 评论 复制链接分享
  • weixin_39645019 weixin_39645019 5月前

    this file can be downloaded from this page " https://geuz.org/trac/gmsh/wiki/FSIMesh"

    点赞 评论 复制链接分享
  • weixin_39738152 weixin_39738152 5月前

    Thanks

    点赞 评论 复制链接分享

相关推荐