This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$MeshFormat | |
2.1 0 8 | |
$EndMeshFormat | |
$Nodes | |
181 | |
1 1.38516741 0.00504613028 2.13825853 | |
2 0.837436418 -4.4604606e-06 1.58245411 | |
3 1.88946381 -6.88601966e-06 1.12456873 | |
4 1.74692792 0.00155555342 1.98931511 | |
5 3.22389258 -0.000920639253 0.699638017 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$MeshFormat | |
2.1 0 8 | |
$EndMeshFormat | |
$Nodes | |
181 | |
1 1.38516741 0.00504613028 2.13825853 | |
2 0.824273759 0.000223564319 1.54913614 | |
3 1.87175547 -0.000829251357 1.11214156 | |
4 1.74692792 0.00155555342 1.98931511 | |
5 3.22389258 -0.000920639253 0.699638017 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Sofa | |
def createScene(rootNode): | |
rootNode.createObject('RequiredPlugin', name='SofaPython') | |
mySimulation = AttachConstraint_Zahra2_surface_OK3(rootNode,[]) | |
return 0; | |
class AttachConstraint_Zahra2_surface_OK3 (Sofa.PythonScriptController): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
o liver | |
v -0.979259 2.23512 2.61245 | |
v -1.44496 2.54722 2.03906 | |
v -0.48104 2.87797 1.94243 | |
v -0.642848 2.34542 2.57241 | |
v 0.775631 3.14952 1.89897 | |
v -1.23424 2.79815 1.49751 | |
v -0.386844 3.37354 1.27487 | |
v -0.598176 3.75514 -0.017133 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Sofa | |
#### deleting the contents of the saved mesh folders from previous run | |
# | |
#impo | |
def createScene(rootNode): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g 1_oglModel17 | |
usemtl mat1 | |
v 1.385167 0.005046 2.138259 | |
v 0.824274 0.000224 1.549136 | |
v 1.871755 -0.000829 1.112142 | |
v 1.746928 0.001556 1.989315 | |
v 3.223893 -0.000921 0.699638 | |
v 0.938412 -0.004287 0.835793 | |
v 1.833801 -0.001465 0.201896 | |
v 1.198768 -0.001880 -1.192717 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Nov 12 06:25:00 2018 | |
@author: zahra | |
""" | |
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Sofa | |
#### deleting the contents of the saved mesh folders from previous run | |
# | |
#impo | |
def createScene(rootNode): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Wed Jan 23 13:13:55 2019 | |
@author: zahra | |
""" | |
import Sofa | |
def createScene(rootNode): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$MeshFormat | |
2.1 0 8 | |
$EndMeshFormat | |
$Nodes | |
181 | |
1 0.985058769 -0.000215190853 3.0050458 | |
2 0.462693679 -1.65846054e-05 2.36905006 | |
3 1.53628507 -0.000874579225 2.0103706 | |
4 1.35698463 -0.000164326391 2.89121592 | |
5 2.92624805 -0.00127259082 1.67581666 |
NewerOlder