Forum Replies Created
-
AuthorPosts
-
LujainBlocked
Hi Hugo,
Thanks for ur reply!
The mesh that i got also contains nodes inside. I think it is already volumetric mesh now. The off file that i loaded in meshoffloader contains nodes both in surface and inside and also triangles(surface). The strange thing is if i only saved nodes in surface, it looks disorder in meshoffloader.
Now I dont know how to use or deal with these data in SOFA just using the volumtric elements that i have get, without using other components to generate again.
I am also confused with the convert between the format of these files, i.e.,.off,.obj,.msh,.stl,…
By the way, CGALPlugin cant be loaded in my work and i didn’t solve this problem, so i didnt use this plugin.
Best,
Lujain28 March 2017 at 09:05 in reply to: [SOLVED] Queries about tetrahedralization with the CGAL Plugin. #8837LujainBlockedHi Alex,
I have already compiled sofa, as the link shown.
And cgal4.9 has some problems to compile so i changed cgal4.7.
But for bad luck it still can’t work.
25 March 2017 at 13:14 in reply to: [SOLVED] Queries about tetrahedralization with the CGAL Plugin. #8829LujainBlockedHi guys,
I saw some messages about ur successful use of CGAL. Can I ask some questions about it?
I met some problems when i tried to test CGAL by using MeshGenerationFromImage in ..\SOFA16.12\sofaproject\sofasrc\applications\plugins\CGALPlugin\scenes. But it informed me:`[INFO] [SofaPython] Added ‘F:/SOFA16.12/sofaproject/sofasrc/applications/plugins/image/python’ to sys.path
[INFO] [SofaPython] Added ‘F:/SOFA16.12/sofaproject/sofasrc/applications/plugins/SofaPython/python’ to sys.path
[INFO] [PluginManager] Loaded plugin: F:/SOFA16.12/sofaproject/sofabuild/bin/Release/SofaPython.dll0殑!W] [PluginManager] Plugin loading failed (F:/SOFA16.12/sofaproject/sofabuild/bin/Release/CGALPlugin.dll): ~
[INFO] [PluginManager] Loaded plugin: F:/SOFA16.12/sofaproject/sofabuild/bin/Release/image.dll
[INFO] [PluginManager] Loaded plugin: F:/SOFA16.12/sofaproject/sofabuild/bin/Release/image_gui.dll
[WARNING] [MeshTopology] Could not setup Data link between @generator.outputPoints and points.
[WARNING] [MeshTopology] Could not setup Data link between @generator.outputTetras and tetras.
[ERROR] [DAGNode “root”] Object type “MeshGenerationFromImage” creation Failed
[ERROR] [SceneLoaderXML] Node initialization failed.[WARNING] [VTKExporter] File data/output.vtu NOT FOUND in :F:/SOFA16.12/sofaproject/sofasrc/examples:F:/SOFA16.12/sofaproject/sofasrc/share
File data/output.vtu NOT FOUND in :F:/SOFA16.12/sofaproject/sofasrc/examples:F:/SOFA16.12/sofaproject/sofasrc/share
Error creating file data/output.vtuHave you ever met this kind of problem? And how to fix it?
Thanks in advance.LujainBlockedHi Hugo,
I forgot to ask you about which CGAL version did you use before. I tried CGAL4.7 on my machine and it works well. But it met with another problem that is when i made a test about CGALplugin, it informed me about information below:
[INFO] [SofaPython] Added 'F:/SOFA16.12/sofaproject/sofasrc/applications/plugins/image/python' to sys.path [INFO] [SofaPython] Added 'F:/SOFA16.12/sofaproject/sofasrc/applications/plugins/SofaPython/python' to sys.path [INFO] [PluginManager] Loaded plugin: F:/SOFA16.12/sofaproject/sofabuild/bin/Release/SofaPython.dll 0殑!W] [PluginManager] Plugin loading failed (F:/SOFA16.12/sofaproject/sofabuild/bin/Release/CGALPlugin.dll): ~ [INFO] [PluginManager] Loaded plugin: F:/SOFA16.12/sofaproject/sofabuild/bin/Release/image.dll [INFO] [PluginManager] Loaded plugin: F:/SOFA16.12/sofaproject/sofabuild/bin/Release/image_gui.dll [WARNING] [MeshTopology] Could not setup Data link between @generator.outputPoints and points. [WARNING] [MeshTopology] Could not setup Data link between @generator.outputTetras and tetras. [ERROR] [DAGNode "root"] Object type "MeshGenerationFromImage" creation Failed [ERROR] [SceneLoaderXML] Node initialization failed. [WARNING] [VTKExporter] File data/output.vtu NOT FOUND in :F:/SOFA16.12/sofaproject/sofasrc/examples:F:/SOFA16.12/sofaproject/sofasrc/share File data/output.vtu NOT FOUND in :F:/SOFA16.12/sofaproject/sofasrc/examples:F:/SOFA16.12/sofaproject/sofasrc/share Error creating file data/output.vtu
Do you know this kind of problem?
Best wished!
LujainLujainBlockedHi Hugo,
Thank you promptly! What a bad luck for the problem we have met. C++ template programming…
I also met this error at first:
error: "BOOST_PARAMETER_MAX_ARITY must be at least 12 for CGAL::Mesh_3"
I made some modification about the file global_parameters.h in ..\CGAL-4.9\include\CGAL\Mesh_3 by reference the link http://cgal-discuss.949826.n4.nabble.com/Getting-error-quot-BOOST-PARAMETER-MAX-ARITY-must-be-at-least-12-for-CGAL-Mesh-3-quot-in-CGAL-4-9-td4662304.html#a4662307
And this error was solved but another come. Looking forward ur good news!
Besr Regards!
LujainLujainBlockedHi Hugo,
I soled the problem cuz I saved wrong format of the data.
Anyway, Thanks for ur reply everytime!
Best Regards!
Lujain
LujainBlockedHi Hugo,
I guess this kind of problem maybe be caused by the servere system. But for bad luck I didnt get the point. I tried in another server and all works fine! All are the same in the process except the result. Very very very strange. This is why I guess it was caused by the server.
Now I am using SOFA in another server to do some research.
Best Regards!
LujainBlockedHi everyone,
Finally I solved the problem that i have met before, thanks you all!
LujainBlockedHi Hugo,
Thank you for ur reply.
I have never changed everything in the code and i am sure i followed the instructions in the doc. I also built v16.05 successfully before.
Now I have no idea about the problem happened in v16.12. Besides, I have gone through the forum to found some ideas about this problem. Finally no result for bad luck. I also tried vs2013 but the same problems. what should i do?LujainBlockedError LNK1181 cannot open input file ‘..\..\..\lib\Release\SofaHelper.lib’ SofaDefaultType J:\SOFA16.12\sofa-16.12\sofabuild\SofaKernel\SofaFramework\SofaDefaultType\LINK 1 Error C2181 illegal else without matching if (compiling source file J:\SOFA16.12\sofa-16.12\sofasrc\SofaKernel\framework\sofa\helper\Quater.cpp) SofaHelper j:\sofa16.12\sofa-16.12\sofasrc\sofakernel\framework\sofa\helper\Quater.inl 490 Error C2181 illegal else without matching if (compiling source file J:\SOFA16.12\sofa-16.12\sofasrc\SofaKernel\framework\sofa\helper\Quater.cpp) SofaHelper j:\sofa16.12\sofa-16.12\sofasrc\sofakernel\framework\sofa\helper\Quater.inl 524
LujainBlockedHi ruiliang,
I also came accross the problem that you have solved, as infromation follows:
Severity Code Description Project File Line Suppression State Error LNK1181 cannot open input file '..\..\..\lib\Release\SofaHelper.lib' SofaDefaultType J:\SOFA16.12\sofa-16.12\sofabuild\SofaKernel\SofaFramework\SofaDefaultType\LINK 1 Error C2181 illegal else without matching if (compiling source file J:\SOFA16.12\sofa-16.12\sofasrc\SofaKernel\framework\sofa\helper\Quater.cpp) SofaHelper j:\sofa16.12\sofa-16.12\sofasrc\sofakernel\framework\sofa\helper\Quater.inl 490 Error C2181 illegal else without matching if (compiling source file J:\SOFA16.12\sofa-16.12\sofasrc\SofaKernel\framework\sofa\helper\Quater.cpp) SofaHelper j:\sofa16.12\sofa-16.12\sofasrc\sofakernel\framework\sofa\helper\Quater.inl 524
I didnt solve the problem using the method you have mentioned. Can you help?
Thanks in advance.22 February 2017 at 07:52 in reply to: [SOLVED] How to achieve simulation of liver deformation using SOFA framework? #8663LujainBlockedDear Hugo,
Thanks so much for ur reply and it helps me a lot!
I am trying to build the new verison 16.12 using VS2015 these days but i met some mistakes when i did it.I built successfully the version 16.05 long time ago. So I wonder whether it is a lot of difference between the v16.05 and v16.12. Can I still use the v16.05 to go on my work?I will paste my building mistakes after i change the English version of VS.
Thanks again for ur reply.13 February 2017 at 07:00 in reply to: [SOLVED] How to achieve simulation of liver deformation using SOFA framework? #8565LujainBlockedHi Hugo,
Sorry for very late reply and thanks for your reply.
Now my problem is how to generate the liver model from a CT Scan. In other words, I dont know how to connect the liver demo in SOFA with my CT scan data. Can the liver demo be superimposed on the CT image after I modify some mechanical parameters?
I am looking forward ur reply! thanks in advance!
-
AuthorPosts