-
Joshua started the topic Setting camera position/orientation with SofaPython in the forum Using SOFA 1 month, 1 week ago
Hi,
I’m having a bit of trouble figuring out how to modify the camera position/orientation. In the scene below, changing the parameters of the
InteractiveCamera
doesn’t do anything, and the object doesn’t show up at all in theOglViewport
. I assume I’m screwing up something basic and would appreciate any help!`
from stlib.scene import…[Read more] -
Joshua replied to the topic BilateralInteractionConstraint reduces gravity by 100x in the forum Using SOFA 9 months, 2 weeks ago
Looks like that worked! Thanks so much, Hugo!
-
Joshua replied to the topic BilateralInteractionConstraint reduces gravity by 100x in the forum Using SOFA 11 months, 2 weeks ago
Following up, when I replace the attached soft body with a rigid one, the factor of 100 (or 1/dt based on your earlier post) disappears:
import Sofa
from stlib.scene import Scene
from stlib.visuals import VisualModelimport numpy as np
def createScene(rootNode):
scene = Scene(rootNode, plugins=["SoftRobots",…[Read more] -
Joshua replied to the topic BilateralInteractionConstraint reduces gravity by 100x in the forum Using SOFA 11 months, 3 weeks ago
Hi Hugo,
I really appreciate your reply, and look forward to hearing what you uncover when you get a chance.
Best,
Josh -
Joshua replied to the topic Segfault with MeshMatrixMass in the forum Using SOFA 1 year ago
Hi Hugo,
I’m using sofa 19.06, for which I downloaded the windows exe binaries here https://www.sofa-framework.org/download/. To run the simulation I just use runSofa.exe.Best,
Josh -
Joshua started the topic BilateralInteractionConstraint reduces gravity by 100x in the forum Using SOFA 1 year, 1 month ago
Hello,
I’m attempting to model a soft body attached to a rigid body. As suggested in several posts on the forum, I rigidly map the points of a surface mesh to the 6dof rigid body, and use a BilateralInteractionConstraint to attach the soft body to the rigid surface. This works as a method of attachment, but the constraint seems to dilute…[Read more] -
Joshua replied to the topic Segfault with MeshMatrixMass in the forum Using SOFA 1 year, 1 month ago
I get the same segfault when I use the finger.vtk included with the Soft Robots plugin CableGripper tutorial, https://github.com/SofaDefrost/Tutorials/blob/master/Cable-Gripper/data/mesh/finger.vtk
If you have a known working mesh, could you link to it so I can try?
-
Joshua replied to the topic Segfault with MeshMatrixMass in the forum Using SOFA 1 year, 1 month ago
Interesting. I don’t see those error messages on my end. I wonder why the DiagonalMassMatrix works?
-
Joshua replied to the topic Segfault with MeshMatrixMass in the forum Using SOFA 1 year, 1 month ago
Thanks for your help! The file is a VTK file generated with gmsh, containing points, lines, triangles and tetrahedra. finger.vtk
-
Joshua started the topic Segfault with MeshMatrixMass in the forum Using SOFA 1 year, 1 month ago
Hello,
I’m trying to use a MeshMatrixMass to simulate a soft material, but I keep getting segfaults. My code is below (it uses the template library from the Soft Robots Plugin):
import Sofa
from stlib.scene import Scenedef createScene(rootNode):
scene = Scene(rootNode, plugins=["SoftRobots",…[Read more] -
Joshua became a registered member 1 year, 1 month ago