Skip to content
Snippets Groups Projects

new loads

Merged Boman Romain requested to merge loads into master
2 files
+ 52
46
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -9,10 +9,6 @@ def parms(d={}):
import os
path = os.path.join(os.path.dirname(__file__),'10k')
p['bone'] = f'{path}/mandible.stl'
p['contact_pts'] = [[-10.20362, -17.46838, -229.9061],
[-11.92466, 26.3042, -229.5354]]
p['axis_pt1'] = f'{path}/LTMJ.off'
p['axis_pt2'] = [-8.716309, 79.13171, 233.8385]
p['muscles'] = [
{
'file': f'{path}/Lmuscle.stl',
@@ -28,11 +24,24 @@ def parms(d={}):
'method': 'T'
}
]
p['fixations'] = {
'contact_pts': ['x'],
'axis_pt1': ['x', 'y', 'z'],
'axis_pt2': ['x', 'z']
}
p['fixations'] = [
{
'name': 'contact_pts',
'nodes': [[-10.20362, -17.46838, -229.9061],
[-11.92466, 26.3042, -229.5354]],
'direction': 'x'
},
{
'name': 'axis_pt1',
'nodes': f'{path}/LTMJ.off',
'direction': ['x', 'y', 'z']
},
{
'name': 'axis_pt2',
'nodes': [-8.716309, 79.13171, 233.8385],
'direction': ['x', 'z']
}
]
# material properties
p['density'] = 1.850e-9 # [T/mm³]
Loading