Skip to content
Snippets Groups Projects
Commit c0cece36 authored by Boman Romain's avatar Boman Romain
Browse files

fix contact with cylinder test

parent a2855ca3
No related branches found
No related tags found
1 merge request!1new loads
Pipeline #23798 passed
...@@ -10,9 +10,6 @@ def parms(d={}): ...@@ -10,9 +10,6 @@ def parms(d={}):
import os import os
path = os.path.join(os.path.dirname(__file__),'10k') path = os.path.join(os.path.dirname(__file__),'10k')
p['bone'] = f'{path}/mandible.ply' p['bone'] = f'{path}/mandible.ply'
# p['contact_pts'] = f'{path}/teeth.off'
p['axis_pt1'] = [0.1458893, -73.13895, 227.3909]
p['axis_pt2'] = f'{path}/RTMJ.off'
p['muscles'] = [ p['muscles'] = [
{ {
'file': f'{path}/Lmuscle.ply', 'file': f'{path}/Lmuscle.ply',
...@@ -27,11 +24,18 @@ def parms(d={}): ...@@ -27,11 +24,18 @@ def parms(d={}):
'method': 'T' 'method': 'T'
} }
] ]
p['fixations'] = { p['fixations'] = [
'contact_pts': ['x','y','z'], {
'axis_pt1': ['x','y','z'], 'name': 'axis_pt1',
'axis_pt2': ['x','y','z'] 'nodes': f'{path}/LTMJ.off',
} 'direction': ['x', 'y', 'z']
},
{
'name': 'axis_pt2',
'nodes': [-8.716309, 79.13171, 233.8385],
'direction': ['x', 'z']
}
]
p['food'] = 'cylinder' p['food'] = 'cylinder'
R = 10 R = 10
p['cylinder'] = { p['cylinder'] = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment