Forum Replies Created
-
AuthorPosts
-
younesssssBlocked
Hi @daserk,
Sorry for my late response.
I have some questions.
When I read the output I see your problem is related tolibGL
. Did you install it?What is the output of these commands.
1.docker run $extra_run_args $image runSofa
2.docker run $extra_run_args $image runSofa -g batch -l SofaPython -n 100
In Sofa, you also have the headless option (See https://github.com/sofa-framework/sofa/tree/a1ad067766b804b2985db227ac41bb504098a6d6/modules/SofaHeadlessRecorder for more).
Then you can generate the output videos of your simulation the only downside is that your simulation is not interactive
7 September 2021 at 15:29 in reply to: Creating an isolated environment for working with Sofa #20327younesssssBlockedHi @daserk,
I am sorry, I can’t get access to your output file.
Can you just paste it here directly ?
Thanks.7 September 2021 at 15:24 in reply to: Creating an isolated environment for working with Sofa #20326younesssssBlockedHi @daserk,
I am sorry, I can’t get access to your output file.
Can you just paste it here directly ?Thanks.
younesssssBlockedHi @julien,
I think it’s a rotation issue between these two coordinates systems (SOFA and Blender).
Export three normals Nx (1, 0, 0), Ny (0, 1, 0) and Nz (0, 0, 1) from one of the coordinate systems to the other in order to obtain the transformation.younesssssBlockedHi @Steph
I think the easiest way to do this is to clone STLIB from Github and add it to your path.
This way we are sure you have all the files.Sorry for my late answer.
younesssssBlockedyounesssssBlockedThen add
Path_to_\SOFA_v20.12.02_Win64\plugins\STLIB\python
in your path since you want to use python2younesssssBlockedHi @Steph & @Tori ,
did you add the splib and stlib folder to your path?
/PATH_TO_STLIB_FOLDER/python
if your are usingpython 2.7
and/PATH_TO_STLIB/python3/src
if your are usingpython3
.However, some scenes in the tutorial do not work with python3.
It needs a few modifications, like swtichcreatsChild
withaddChild
and
from stlib3.scene.Scene import Scene
instead offrom stlib.scene import MainHeader, ContactHeader
For binairies add
/PATH_TO_INSTALL/lib/python3/site-packages/
or/PATH_TO_INSTALL/lib/python2/site-packages/
, and check that these folders are actually on your computer.younesssssBlockedHi @DiegoMtz,
did you add the splib folder to your path?
/PATH_TO_STLIB_FOLDER/python
if your are usingpython 2.7
and/PATH_TO_STLIB/python3/src
if your are usingpython3
.
However, some scenes in the tutorial do not work with python3.For binairies add
/PATH_TO_INSTALL/lib/python3/site-packages/
.younesssssBlockedYou can send it using a link via MEGA
younesssssBlockedHi @momo2000, can you send your scene ?
Thanks.younesssssBlockedHi @momo ,
Before fix the with SparseLUSolver, change the Poisson Ratio and put something between (0.3 and 0.4, preferably start with 0.4). While I still think you can find the exact Poisson ratio and the Young Modulus of your material in the literature.younesssssBlockedBigup to you @hugo, for the job you are doing here :+1: and for the community in general.
younesssssBlockedHi @momo2000, without having seen the entire scene I really can’t.
Inside theElasticMaterialObject
the solver isSparseLDLSolver
maybe change it withSparseLUSolver
.
But I just have a question, why yourpoissonRatio=0.27
? (Because the smallest I use to is 0.3 for the steel).
11 August 2020 at 21:17 in reply to: [SOLVED] Error:Building Sofa 20.06 version to add SoftRobot plugin #17027younesssssBlockedYou can have a look on this page page
11 August 2020 at 16:51 in reply to: [SOLVED] Error:Building Sofa 20.06 version to add SoftRobot plugin #17025younesssssBlockedYes @hugo did it two weeks ago.
Two solve your problem @Cai, you have two options.First: Switch SOFA v.20.06 with the SOFA master then don’t need to change SoftRobots.
Second: Keep SOFA v.20.06, but for SoftRobots go back to the version before “https://github.com/SofaDefrost/SoftRobots/pull/56” pull request witch is (a4370a7aee4d445b5435d2a14cf35d209087be56).
best,
younesssssBlockedHello @Pasquale94
I think you must add in your .bashrc (or .zshrc) the location of your runSofa
For instance : export PATH=”/home/sofa/build/bin:$PATH”younesssssBlocked1.
The result of :
find /home/younes/travail/plugin/SoftRobotsOnTheWeb/src/tools/docker/install -name "libSofaMeshCollision*"
is/home/younes/travail/plugin/SoftRobotsOnTheWeb/src/tools/docker/install/lib/libSofaMeshCollision.so /home/younes/travail/plugin/SoftRobotsOnTheWeb/src/tools/docker/install/lib/libSofaMeshCollision.so.20.06.99
logic since I copy them from
build/lib/
b) the command
ldd /home/younes/travail/plugin/SoftRobotsOnTheWeb/src/tools/docker/install/bin/runSofa
giveslibSofaMeshCollision.so.20.06.99 => /home/younes/travail/sofa/headlessGui/build/lib/libSofaMeshCollision.so.20.06.99 (0x00007f9c0a3be000)
2. The result of
git rev-parse --short HEAD
0b7f88e5cb
. I am using the https://github.com/guparan/sofa.git/update-headless-recorder-ffmpeg-UPDATED -
AuthorPosts