Scheikl replied to the topic Setting camera position/orientation with SofaPython in the forum Using SOFA 1 month, 2 weeks ago
I have a related problem.
I am able to control the internal data of an
interactiveCamera, but it does nothing to the view itself, even though I made sure I am using the OpenGL view.
You can find a video of the behavior here: https://cloud.ipr.kit.edu/s/y2tjFW2Za4CX5p2
The code to set the pose is
def move_cam(camera, pose: Tuple[float,…
Hi @hugo ,
thanks for the follow-up! 🙂
Yes and no.
I would like tho get a measure of how much overlap is between two volumetric meshes.
I guess that should happen outside of the collision pipeline.
For example a small ball inside (at the center) of a large ball would not stand in collision with the larger ball.
So I am looking for something…[Read more]
Hi @twxu ,
sadly I am not familiar with the underlying code, but I guess there is some Matrix inversion involved which would make the computation scale roughly cubic.
I did not have the chance to work with cavity inside meshes yet.
Maybe someone from the SoftRobots Plugin (for example @@sescaida) could give you more hints on that?
You are very…[Read more]
LinearSolverConstraintCorrectionis actually a pretty expansive computation, as it solves the linear system at each time step anew.
Could you try the adapted scene as follows?
<BruteForceDetection name=”N2″ />…[Read more]
I actually don’t know how I would approach that with two deformable bodies…
Maybe you could try to adapt the code in the actuated arm of the SoftRobots Plugin.
Personally I would try to take that code and add the deformable…[Read more]
Scheikl replied to the topic Force Induced Topological Modification of Triangular Mesh in the forum Using SOFA 1 month, 4 weeks ago
happy new year!
Finding colliding elements between two specific collision models can be achieved with a ContactListener object: https://github.com/sofa-framework/sofa/blob/master/SofaKernel/modules/SofaBaseCollision/src/SofaBaseCollision/ContactListener.h
You can add that to your Scene with
listener = scene_node.addObject(…
Dear SOFA Community,
assume we have to collision models (model 1 and model 2) consisting of triangles (model 1) and points (model2).
From observation, I assume that if the force between two colliding objects exceeds a certain value (depending on
contactStiffnessin the collision models) the particular collision gets “ignored” resulting in…[Read more]
Scheikl replied to the topic ArticulatedSystemMapping: Breaking changes or misconception? in the forum Programming with SOFA 2 months, 2 weeks ago
no, the topic is still unsolved. 🙁
If anyone has an idea how to solve/avoid this issue, I would be happy to try it out and report on the results.
extension (py) not handledis usually caused by SOFA not finding the correct plugin to handle python files.
When starting SOFA (runSofa in
/bin), go to Edit->Plugin Manager and make sure “SofaPython” is listed as a plugin. If that is not the case, click “Add” and and select
Let me know if that fixes…[Read more]
- Load More