Forum Replies Created
-
AuthorPosts
-
francescaBlocked
Thanks I will follow your instructions…but I have some problem with the visualization of some tutorial in Modeler…when I run some of them in Sofa I receive an error message: “Error running sofa,error code”.
Any idea?francescaBlockedmy vtk file described a triangular mesh. I visualize it on SOFA following the instructions in the tutorial StepByStep / Visualization / Meshloading and rendering (2/7) ,that is:
Clear the scene to start with just a root node.
Add a MeshVTKLoader node component and rename it “loader”.
Change the filename of the object to the path name of my organ.vtk
Add a OglModel.
Save my scene file by Selecting File> Save. We will refer to this file as myTutorial.scn.
In my XML editor, open myTutorial.scn. Look for the line:
OglModel template = “ExtVec3f” name = “oglModel8”
After the property name, add src = “@ loader”.
Save the file. Re-open myTutorial.scn in the Modeler.Now I would like to do something similar to the deformable model of the tongue for my organ…but when I edit the deformable tongue tutorial in modeler if I try to run it on SOFA I receive an error message: “Error running sofa,error code”.
INFO(SofaGUI): lastUsedGUI.ini not found; using default GUI.
INFO(SofaGUI): lastUsedGUI.ini not found; using default GUI.
FROM SOFA [ERR] >> 2016-02-02 18:59:08.328 runSofa[802:507] invalid drawableFROM SOFA [ERR] >>
francescaBlockedWell…thank you! Now I can load the mesh of my organ.
Now I have a root whit MeshVtkloader OglModel and VisualStyle node in the Modeler tree.I can run this scene in Sofa and visualize my organ.
I would like to know how to make my organ deformable whit a spring mass model or finite element simulation.Sorry I’m a beginner and I don’t know how to create these simple steps using the Modeler.francescaBlockedThank you so much … after installing QT5 now everything works perfectly
francescaBlockedOk, so the only way to install SOFA on Mac OS X is starting from the source code … I have followed the instructions on the site and launching bin / runSofa_d I get the following message:
WARNING(SofaGUI): Previously used GUI not registered. Using default GUI.
Loading OBJ topology : snake_body.obj
[WARNING] [MechanicalObject “CollisModel”] Writing to State vector position(V_COORD) with incorrect size : 497 != 1
PNG image /Users/clarit/sofa/share/textures/snakeColorMap.png: 2048x2048x24
[WARNING] [MechanicalObject “CollisModel”] Writing to State vector position(V_COORD) with incorrect size : 16 != 1
[WARNING] [MechanicalObject “CollisModel”] Writing to State vector position(V_COORD) with incorrect size : 336 != 1
[WARNING] [MechanicalObject “CollisModel”] Writing to State vector position(V_COORD) with incorrect size : 17 != 1
Computing 1000 iterations.what can I do ?
-
AuthorPosts