Home › Forum › SOFA › Using SOFA › SkeletonPlugin: Error in CGAL
Tagged: 64_bits, MacOS, Plugin_other, SOFA_1912
- This topic has 1 reply, 2 voices, and was last updated 4 years, 6 months ago by Hugo.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
2 May 2020 at 00:48 #15995Star warBlocked
Dear sofa,
I succeed to build the SkeletonPlugin and also I run successfully on the origin scene named as “MeshSkeletonization.scn”. I can see the skeleton of a rapter like the image represented in the Github
However, In the scene’s file, if I only activate the “Vessels”, the program is aborted with the error of the following on CGAL.
Changed scene:<Node name="Vessels" activated="1"> <MeshObjLoader name='myLoader' filename='data/mesh/vessels.obj'/> <OglModel name="visualModel" src='@myLoader' color="1 0.6 0.6 1"/> <MeshSkeletonization template="Vec3d" name="skel" inputVertices="@myLoader.position" inputTriangles="@myLoader.triangles" /> </Node> <Node name="elephant" activated="0"> <MeshObjLoader name='myLoader' filename='data/mesh/elephant.obj'/> <OglModel name="visualModel" src='@myLoader' color="1 0.6 0.6 1"/> <!-- <MeshSkeletonization template="Vec3d" name="skel" /> --> <MeshSkeletonization template="Vec3d" name="skel" filename="data/mesh/elephant.off" /> </Node> <Node name="dragon" activated="0"> <MeshObjLoader name='myLoader' filename='data/mesh/raptor8k1.obj'/> <OglModel name="visualModel" src='@myLoader' color="1 0.6 0.6 1"/> <MeshSkeletonization template="Vec3d" name="skel" inputVertices="@myLoader.position" inputTriangles="@myLoader.triangles" /> </Node>
Error from the program runsofa:
[INFO] [PluginManager] Loaded plugin: /Users/steven/Code/sofa/sofa/v19.12/build2/plugins/SkeletonPlugin/lib/libSkeletonPlugin.dylib [INFO] [SceneCheckerVisitor] Validating node "root" with checks: [SceneCheckAPIChange, SceneCheckDuplicatedName, SceneCheckMissingRequiredPlugin, SceneCheckUsingAlias] [INFO] [SceneCheckAPIChange] No 'APIVersion' component in scene. Using the default APIVersion level: 19.06 [INFO] [SceneCheckerVisitor] Finished validating node "root". Loading Polyhedron from MeshObjLoader. Number of vertices of the input mesh: 230 <strong>CGAL error: assertion violation!</strong> Expression : CGAL::is_closed(tmesh) File : /usr/local/Cellar/cgal/5.0.2/include/CGAL/Side_of_triangle_mesh.h Line : 146 Explanation: Refer to the bug-reporting instructions at https://www.cgal.org/bug_report.html libc++abi.dylib: terminating with uncaught exception of type CGAL::Assertion_exception: CGAL ERROR: assertion violation! Expr: CGAL::is_closed(tmesh) File: /usr/local/Cellar/cgal/5.0.2/include/CGAL/Side_of_triangle_mesh.h Line: 146
Thank you.
Enxing4 May 2020 at 22:19 #16014 -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.