Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
$MeshFormat
$2.1 0 8
$EndMeshFormat
$Nodes
16384
1 -8.000000 -8.000000 0.000000
2 -8.000000 -7.875000 0.000000
3 -8.000000 -7.750000 0.000000
4 -8.000000 -7.625000 0.000000
5 -8.000000 -7.500000 0.000000
$MeshFormat
$2.1 0 8
$EndMeshFormat
$Nodes
256
1 -8.000000 -8.000000 0.000000
2 -8.000000 -7.000000 0.000000
3 -8.000000 -6.000000 0.000000
4 -8.000000 -5.000000 0.000000
5 -8.000000 -4.000000 0.000000
This file has been truncated, but you can view the full file.
$MeshFormat
2.2 0 8
$EndMeshFormat
$Nodes
7509
1 1.0714791 -0.129543218 2.01947295
2 0.545305075 0.0877176029 1.44875978
3 1.52410219 -0.0957984097 1.0343865
4 1.41036967 -0.18170703 1.87971637
5 2.8058918 -0.317963874 0.609563446
$MeshFormat
2.1 0 8
$EndMeshFormat
$Nodes
181
1 1.0714791 -0.129543218 2.01947295
2 0.545305075 0.0877176029 1.44875978
3 1.52410219 -0.0957984097 1.0343865
4 1.41036967 -0.18170703 1.87971637
5 2.8058918 -0.317963874 0.609563446
<?xml version="1.0"?>
<Node name="root" dt="0.02" >
<DefaultPipeline name="CollisionPipeline" verbose="0" />
<BruteForceDetection name="N2" />
<DefaultContactManager name="collision response" response="default" />
<DiscreteIntersection name="discreteIntersection1" />
<Node name="Liver" depend="topo dofs" >
<EulerImplicitSolver name="cg_odesolver" printLog="0" />
<CGLinearSolver template="GraphScattered" name="linear solver" iterations="25" tolerance="1e-009" threshold="1e-009" />
<MeshGmshLoader name="loader" filename="d:/work/phd/sofa/liver/liverfinal/testbygmsh/livertetra7509.msh" tetrahedraGroups=" -1 0 38144" translation="0 0 0" rotation="0 0 0" />
<?xml version="1.0"?>
<Node name="root" gravity="0 0 0" dt="0.05" >
<VisualStyle name="visualStyle1" displayFlags="showVisual showBehaviorModels" />
<DefaultPipeline name="defaultPipeline1" verbose="0" />
<BruteForceDetection name="N2" />
<DefaultContactManager name="defaultContactManager1" response="default" />
<MinProximityIntersection name="Proximity" alarmDistance="0.8" contactDistance="0.5" />
<DefaultCollisionGroupManager name="defaultCollisionGroupManager1" />
<Node name="TT" >
<EulerImplicitSolver name="cg_odesolver" printLog="0" />
########## SIG 6 - SIGABRT: usually caused by an abort() or assert() ##########
-> /home/zahra/sofa/Sofa17.06/build/lib/libSofaHelper.so.17.06.02(sofa::helper::BackTrace::dump()+0x23) [0x7f40b24b6c73]
-> /home/zahra/sofa/Sofa17.06/build/lib/libSofaHelper.so.17.06.02(sofa::helper::BackTrace::sig(int)+0x19c) [0x7f40b24b6fbc]
-> /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f40b18cb4b0]
-> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f40b18cb428]
-> /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f40b18cd02a]
-> /usr/lib/x86_64-linux-gn<strong>u/libstdc++.so.6(__gnu_cxx::__verbose_terminate_handler()+0x16d) [0x7f40b1f0584d]
-> /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f40b1f036b6]
-> /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f40b1f03701]
-> /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d919) [0x7f40b1f03919]
"""
TtestPython
is based on the scene
/home/zahra/sofa/Work/test/Ttest.scn
but it uses the SofaPython plugin.
Further informations on the usage of the plugin can be found in
sofa/applications/plugins/SofaPython/doc/SofaPython.pdf
To lance the scene, type
runSofa /home/zahra/sofa/Work/test/TtestPython.scn
@zbounik
zbounik / meshesCreation.py
Created October 15, 2018 16:05
meshcreation
"""
TtestPython
is based on the scene
/home/zahra/sofa/Work/test/Ttest.scn
but it uses the SofaPython plugin.
Further informations on the usage of the plugin can be found in
sofa/applications/plugins/SofaPython/doc/SofaPython.pdf
To lance the scene, type
runSofa /home/zahra/sofa/Work/test/TtestPython.scn
@zbounik
zbounik / livertetra7509.msh
Created October 16, 2018 12:08
livertetra
This file has been truncated, but you can view the full file.
$MeshFormat
2.2 0 8
$EndMeshFormat
$Nodes
7509
1 1.0714791 -0.129543218 2.01947295
2 0.545305075 0.0877176029 1.44875978
3 1.52410219 -0.0957984097 1.0343865
4 1.41036967 -0.18170703 1.87971637
5 2.8058918 -0.317963874 0.609563446