I will try again with LocalMinDistance.
For the rest_position, I was referring to your previous suggestion to impose the displacement on the rest_position and to add a RestShapeSpringForceField, rather then using LinearMovementConstraint. With what component can I do that?
Sorry for the late reply. Why do you not advise to use DiscreteIntersection? In my scene, many objects are very close to each other. With proximity intersections, I haven’t been able to set the contact distance small enough so that the objects are not in collision from the start and yet have realistic looking collisions.
Also, how can…[Read more]
The displacement is only imposed on one object. I don’t understand why the other object doesn’t deform or get pushed by it. I will try the RestShapeSpringForceField to see what it does.
Meanwhile, I’ve put a simplified scene here.
I’m trying to create a scene in Python where an instrument enter in collision with another object by following a predetermined path. I am using Discrete Intersections and the LinearMovementConstraint component to control the trajectory of the instrument.
However, the collision response doesn’t work. The intersections seems to be drawn…[Read more]
I tried to build the master branch, but I get several instances of
In file included from /home/franc/sofa/src/SofaGeneral/../modules/SofaDenseSolver/NewMatMatrix.h:29:
/home/franc/sofa/src/modules/SofaDenseSolver/NewMatVector.h:28:10: fatal error:
'newmat/newmatio.h' file not found
I will try to cherry pick all changes in the SofaCUDA…
Thanks for the help. With the commit fixing the issue, the code compiles, but runSofa crashes when starting. Here is the trace:
########## SIG 6 - SIGABRT: usually caused by an abort() or assert() ##########[Read more]
-> /home/franc/sofa/build/install/bin/../lib/libSofaHelper.so.18.12.00(sofa::helper::BackTrace::dump()+0x20) [0x7f864c6874b0]
I’m getting compilation errors when compiling SOFA v18.12 with the CUDA plugin on Linux. From the file CudaStandardTetrahedralFEMForceField.cu lines 353 and 580, it says that the identifiers “StandardTetrahedralFEMForceFieldCuda_BoyceAndArruda_deriveSPKTensor” and “StandardTetrahedralFEMForceFieldCuda_BoyceAndArruda_ElasticityTensor” are…[Read more]
I have an .obj file which includes multiple objects’ surface meshes. I would like to create different SOFA objects with them since they have different physical properties and probably needs different models (some are rigid and other deformable).
Is it possible to create a scene with this file, or do I need to split it in multiple .obj files?…[Read more]