Forum Replies Created
-
AuthorPosts
-
Alex BilgerBlocked
Hi Jason,
the component SurfacePressureForceField is probably what you need. The corresponding example is examples/Components/forcefield/SurfacePressureForceField.scn
Cheers,
Alex BilgerBlockedHi,
there is a family of components (modules/SofaExporter) that do what you want. You could use VTKExporter or OBJExporter for example. Note that you need a visual model if you use OBJExporter. You can also write your own exporter.
Alex
Alex BilgerBlockedHi,
that’s a very technical question. I hope you will get answers.
You will probably have to do this:
– create a plugin in sofa
– link the plugin with a library which allows you to get data from the Arduino
– write a controller to get the position from the Arduino and update a mechanical object positionIf you succeed, please post some instructions if somebody else want to do the same thing.
Thanks,
Alex BilgerBlockedHi,
it looks like a bug and renaming the files is a way to bypass the bug.
For the second type of errors, can you tell us what is the preset you added?
Alex
Alex BilgerBlockedHi,
I’m not under windows, so I will not be able to help you.
However, it seems there is a problem with your Qt installation.
What version do you use?
Can you check that the file ‘ui_GUI.h’ is somewhere in the build directory?
How did you install Qt?Alex BilgerBlockedHi,
I don’t know about Windows compilation errors, but you can have a look on the following documentation page and check your code: https://www.sofa-framework.org/documentation/general-documentation/dev-start-coding/
Hope this helps
Alex BilgerBlockedI would say it makes sense. The best to understand the parameters would be to understand the algorithm which utilizes it. Good luck
Alex BilgerBlockedReading your post, your two questions are somehow related. For example, the software you mentioned (Maya, Blender and 3dsMax) are great tools to create obj files (if you need obj). But if you’re looking for tools to create volume meshes, I agree that you should not use the mentioned tools.
You can generate volume meshes with Sofa if you have a surface (component MeshTetraStuffing for simple meshes, or MeshGenerationFromPolyhedron to use the CGAL library) or a segmented 3D image (MeshGenerationFromImage). But you will end up with various parameters. Unfortunately, you need to understand them. There is no method to generate what you want without configuring it.
To understand a parameter: 1) Read the description (in the Modeler for example), 2) Look for examples in the ‘examples’ folder and try to tune the parameters to see the effect on the simulation, 3) Read the C++ code if you can, 4) Your question about the parameters is too generic but you can ask a specific question on the forum. -
AuthorPosts