-
Scheikl replied to the topic Moving to GitHub discussions –> let's vote! in the forum Announcements / Infos 3 weeks, 3 days ago
I’d give the reply above a thumbs up, if I could. ;D
-
Scheikl replied to the topic Setting camera position/orientation with SofaPython in the forum Using SOFA 1 month, 2 weeks ago
-
Scheikl replied to the topic Setting camera position/orientation with SofaPython in the forum Using SOFA 1 month, 2 weeks ago
Hi!
I have a related problem.
I am able to control the internal data of aninteractiveCamera
, 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
[Read more]
def move_cam(camera, pose: Tuple[float,… -
Scheikl replied to the topic Constraining a spring in the forum Using SOFA 1 month, 2 weeks ago
Hi @andrija987,
sorry for the late reply, and that I could not help you solve the problem. 🙁I am looking forward to the new issue, maybe we can approach that from another angle.
Cheers,
Paul -
Scheikl replied to the topic Best way to detect and quantify interpenetration in the forum Using SOFA 1 month, 3 weeks ago
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] -
Scheikl replied to the topic Simulation incredibly slow in the forum Using SOFA 1 month, 3 weeks ago
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]
-
Scheikl replied to the topic Simulation incredibly slow in the forum Using SOFA 1 month, 3 weeks ago
Hi @twxu,
the computation time increases with your model size.Are your models maybe a bit too large?
The Liver of the demo sceneexamples/demos/liver.scn
, for example, has 181 points.Cheers,
Paul -
Scheikl replied to the topic Simulation incredibly slow in the forum Using SOFA 1 month, 3 weeks ago
Hi @twxu,
oh, yes you are absolutely right.
You can generate that by setting recompute to true.<PrecomputedConstraintCorrection recompute="true" />
Cheers,
Paul -
Scheikl replied to the topic Simulation incredibly slow in the forum Using SOFA 1 month, 3 weeks ago
Hi @twxu,
LinearSolverConstraintCorrection
is actually a pretty expansive computation, as it solves the linear system at each time step anew.Could you try the adapted scene as follows?
<root node>
<FreeMotionAnimationLoop />
<GenericConstraintSolver />
<DefaultPipeline />
<BruteForceDetection name=”N2″ />…[Read more] -
Scheikl replied to the topic Constraining a spring in the forum Using SOFA 1 month, 3 weeks ago
Hi @andrija987,
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.
https://github.com/SofaDefrost/SoftRobots/blob/master/docs/tutorials/Tripod/details/actuatedarm.pyPersonally I would try to take that code and add the deformable…[Read more]
-
Scheikl replied to the topic Constraining a spring in the forum Using SOFA 1 month, 4 weeks ago
Hi @andrija987,
no worries. 🙂The beam part should not be necessary.
As long as you have someRigid3
objects it should work fine.
I can highly recommend the Tutorials in the SoftRobots Plugin.
ForArticulatedSystemMapping
this one should be quite…[Read more] -
Scheikl replied to the topic Force Induced Topological Modification of Triangular Mesh in the forum Using SOFA 1 month, 4 weeks ago
Hi @sukhraj,
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
[Read more]
listener = scene_node.addObject(… -
Scheikl replied to the topic Deleting Springs via SofaPython3 in the forum Using SOFA 2 months ago
-
Scheikl replied to the topic Deleting Springs via SofaPython3 in the forum Using SOFA 2 months, 1 week ago
-
Scheikl started the topic Best way to detect and quantify interpenetration in the forum Using SOFA 2 months, 2 weeks ago
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
contactStiffness
in the collision models) the particular collision gets “ignored” resulting in…[Read more] -
Scheikl replied to the topic Deleting Springs via SofaPython3 in the forum Using SOFA 2 months, 2 weeks ago
Hi @jnbrunet,
sorry for the late reply!Oh okay, that makes sense.
Would a scene with default meshes from
sofa/share
be okay?
https://cloud.ipr.kit.edu/s/STwn3oAHNn4dnnGCheers,
Paul -
Scheikl replied to the topic ArticulatedSystemMapping: Breaking changes or misconception? in the forum Programming with SOFA 2 months, 2 weeks ago
Hey @hugo,
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.
Cheers,
Paul -
Scheikl replied to the topic Unable to load .py scene from SoftRobot plugin in the forum Using SOFA 2 months, 2 weeks ago
Hi Peter,
sadly I don’t have access to a windows computer, so I can’t really help you more on this.Cheers,
Paul -
Scheikl replied to the topic Unable to load .py scene from SoftRobot plugin in the forum Using SOFA 2 months, 2 weeks ago
Hi Peter,
I just realized I not catch that you are working with the windows version of SOFA.
There should be aSofaPython.lib
inside oflib
.Cheers,
Paul -
Scheikl replied to the topic Unable to load .py scene from SoftRobot plugin in the forum Using SOFA 2 months, 2 weeks ago
Hi Peter,
theextension (py) not handled
is 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 selectlibSofaPython.so
from/lib
.Let me know if that fixes…[Read more]
- Load More