From 867824701fa45c5b1ac59459a54eed2cb2b5f03d Mon Sep 17 00:00:00 2001
From: Romain Boman <r.boman@uliege.be>
Date: Sun, 29 May 2022 13:58:52 +0200
Subject: [PATCH] use relative paths for mesh files

---
 models/CLIpro/CLIpro_150k_15_1.py                      | 3 ++-
 models/CLIpro/CLIpro_150k_15_2.py                      | 3 ++-
 models/CLIpro/CLIpro_150k_7_1.py                       | 3 ++-
 models/CLIpro/CLIpro_150k_7_2.py                       | 3 ++-
 models/CLIpro/CLIpro_250k_15_1.py                      | 3 ++-
 models/CLIpro/CLIpro_250k_15_2.py                      | 3 ++-
 models/CLIpro/CLIpro_250k_7_1.py                       | 3 ++-
 models/CLIpro/CLIpro_250k_7_2.py                       | 3 ++-
 models/CLIpro/CLIpro_500k_15_1.py                      | 3 ++-
 models/CLIpro/CLIpro_500k_15_2.py                      | 3 ++-
 models/CLIpro/CLIpro_500k_7_1.py                       | 3 ++-
 models/CLIpro/CLIpro_500k_7_2.py                       | 3 ++-
 models/CLIpro/CLIpro_750k_15_1.py                      | 3 ++-
 models/CLIpro/CLIpro_750k_15_2.py                      | 3 ++-
 models/CLIpro/CLIpro_750k_7_1.py                       | 3 ++-
 models/CLIpro/CLIpro_750k_7_2.py                       | 3 ++-
 models/Dolico_bon/Dolico_bon_150k_15_1.py              | 3 ++-
 models/Dolico_bon/Dolico_bon_150k_15_2.py              | 3 ++-
 models/Dolico_bon/Dolico_bon_150k_7_1.py               | 3 ++-
 models/Dolico_bon/Dolico_bon_150k_7_2.py               | 3 ++-
 models/Dolico_bon/Dolico_bon_250k_15_1.py              | 3 ++-
 models/Dolico_bon/Dolico_bon_250k_15_2.py              | 3 ++-
 models/Dolico_bon/Dolico_bon_250k_7_1.py               | 3 ++-
 models/Dolico_bon/Dolico_bon_250k_7_2.py               | 3 ++-
 models/Dolico_bon/Dolico_bon_500k_15_1.py              | 3 ++-
 models/Dolico_bon/Dolico_bon_500k_15_2.py              | 3 ++-
 models/Dolico_bon/Dolico_bon_500k_7_1.py               | 3 ++-
 models/Dolico_bon/Dolico_bon_500k_7_2.py               | 3 ++-
 models/Dolico_bon/Dolico_bon_750k_15_1.py              | 3 ++-
 models/Dolico_bon/Dolico_bon_750k_15_2.py              | 3 ++-
 models/Dolico_bon/Dolico_bon_750k_7_1.py               | 3 ++-
 models/Dolico_bon/Dolico_bon_750k_7_2.py               | 3 ++-
 models/Dolico_osb/Dolico_osb_150k_15_1.py              | 3 ++-
 models/Dolico_osb/Dolico_osb_150k_15_2.py              | 3 ++-
 models/Dolico_osb/Dolico_osb_150k_7_1.py               | 3 ++-
 models/Dolico_osb/Dolico_osb_150k_7_2.py               | 3 ++-
 models/Dolico_osb/Dolico_osb_250k_15_1.py              | 3 ++-
 models/Dolico_osb/Dolico_osb_250k_15_2.py              | 3 ++-
 models/Dolico_osb/Dolico_osb_250k_7_1.py               | 3 ++-
 models/Dolico_osb/Dolico_osb_250k_7_2.py               | 3 ++-
 models/Dolico_osb/Dolico_osb_500k_15_1.py              | 3 ++-
 models/Dolico_osb/Dolico_osb_500k_15_2.py              | 3 ++-
 models/Dolico_osb/Dolico_osb_500k_7_1.py               | 3 ++-
 models/Dolico_osb/Dolico_osb_500k_7_2.py               | 3 ++-
 models/Dolico_osb/Dolico_osb_750k_15_1.py              | 3 ++-
 models/Dolico_osb/Dolico_osb_750k_15_2.py              | 3 ++-
 models/Dolico_osb/Dolico_osb_750k_7_1.py               | 3 ++-
 models/Dolico_osb/Dolico_osb_750k_7_2.py               | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_150k_15_1.py | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_150k_15_2.py | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_150k_7_1.py  | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_150k_7_2.py  | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_20k.py       | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_250k.py      | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_250k_15_1.py | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_250k_15_2.py | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_250k_7_1.py  | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_250k_7_2.py  | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_500k_15_1.py | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_500k_15_2.py | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_500k_7_1.py  | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_500k_7_2.py  | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_750k.py      | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_750k_15_1.py | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_750k_15_2.py | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_750k_7_1.py  | 3 ++-
 models/PLTtymFrankencarpus/PLTtympFranken_750k_7_2.py  | 3 ++-
 models/Panthera_pardus/Panthera_pardus_RC_30.py        | 3 ++-
 models/TYLber/TYLber_150k_15_1.py                      | 3 ++-
 models/TYLber/TYLber_150k_15_2.py                      | 3 ++-
 models/TYLber/TYLber_150k_7_1.py                       | 3 ++-
 models/TYLber/TYLber_150k_7_2.py                       | 3 ++-
 models/TYLber/TYLber_250k_15_1.py                      | 3 ++-
 models/TYLber/TYLber_250k_15_2_bad.py                  | 3 ++-
 models/TYLber/TYLber_250k_7_1.py                       | 3 ++-
 models/TYLber/TYLber_250k_7_2_bad.py                   | 3 ++-
 models/TYLber/TYLber_500k_15_1.py                      | 3 ++-
 models/TYLber/TYLber_500k_15_2.py                      | 3 ++-
 models/TYLber/TYLber_500k_7_1.py                       | 3 ++-
 models/TYLber/TYLber_500k_7_2.py                       | 3 ++-
 models/TYLber/TYLber_750k_15_1.py                      | 3 ++-
 models/TYLber/TYLber_750k_15_2.py                      | 3 ++-
 models/TYLber/TYLber_750k_7_1.py                       | 3 ++-
 models/TYLber/TYLber_750k_7_2.py                       | 3 ++-
 models/TYLnep/TYLnep_150k_15_1.py                      | 3 ++-
 models/TYLnep/TYLnep_150k_15_2.py                      | 3 ++-
 models/TYLnep/TYLnep_150k_7_1.py                       | 3 ++-
 models/TYLnep/TYLnep_150k_7_2.py                       | 3 ++-
 models/TYLnep/TYLnep_250k_15_1.py                      | 3 ++-
 models/TYLnep/TYLnep_250k_15_2.py                      | 3 ++-
 models/TYLnep/TYLnep_250k_7_1.py                       | 3 ++-
 models/TYLnep/TYLnep_250k_7_2.py                       | 3 ++-
 models/TYLnep/TYLnep_500k_15_1.py                      | 3 ++-
 models/TYLnep/TYLnep_500k_15_2.py                      | 3 ++-
 models/TYLnep/TYLnep_500k_7_1.py                       | 3 ++-
 models/TYLnep/TYLnep_500k_7_2.py                       | 3 ++-
 models/TYLnep/TYLnep_750k_15_1.py                      | 3 ++-
 models/TYLnep/TYLnep_750k_15_2.py                      | 3 ++-
 models/TYLnep/TYLnep_750k_7_1.py                       | 3 ++-
 models/TYLnep/TYLnep_750k_7_2.py                       | 3 ++-
 models/Tapirus_indicus/T_indicus_shoulder50k.py        | 3 ++-
 models/dolicorhynchops/dolicorhynchops_10k.py          | 3 ++-
 models/dolicorhynchops/dolicorhynchops_10k_contact.py  | 3 ++-
 models/dolicorhynchops/dolicorhynchops_149k.py         | 3 ++-
 104 files changed, 208 insertions(+), 104 deletions(-)

diff --git a/models/CLIpro/CLIpro_150k_15_1.py b/models/CLIpro/CLIpro_150k_15_1.py
index 2b18339..98e634d 100644
--- a/models/CLIpro/CLIpro_150k_15_1.py
+++ b/models/CLIpro/CLIpro_150k_15_1.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/CLIpro_jaw_150k.stl'
     p['contact_pts'] = [[-13.654129, -90.974480, 4.162612],
                 [14.185822, -89.850540, 8.610174]]
diff --git a/models/CLIpro/CLIpro_150k_15_2.py b/models/CLIpro/CLIpro_150k_15_2.py
index 57f4c89..d865591 100644
--- a/models/CLIpro/CLIpro_150k_15_2.py
+++ b/models/CLIpro/CLIpro_150k_15_2.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/CLIpro_jaw_150k.stl'
     p['contact_pts'] = [[-34.115112, 21.823414, 10.233394],
                 [32.383774, 21.721252, 11.580667]]
diff --git a/models/CLIpro/CLIpro_150k_7_1.py b/models/CLIpro/CLIpro_150k_7_1.py
index 14c2f51..8445ecb 100644
--- a/models/CLIpro/CLIpro_150k_7_1.py
+++ b/models/CLIpro/CLIpro_150k_7_1.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/CLIpro_jaw_150k.stl'
     p['contact_pts'] = [[-13.654129, -90.974480, 4.162612],
                 [14.185822, -89.850540, 8.610174]]
diff --git a/models/CLIpro/CLIpro_150k_7_2.py b/models/CLIpro/CLIpro_150k_7_2.py
index 8867e42..8b3ce04 100644
--- a/models/CLIpro/CLIpro_150k_7_2.py
+++ b/models/CLIpro/CLIpro_150k_7_2.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/CLIpro_jaw_150k.stl'
     p['contact_pts'] = [[-34.115112, 21.823414, 10.233394],
                 [32.383774, 21.721252, 11.580667]]
diff --git a/models/CLIpro/CLIpro_250k_15_1.py b/models/CLIpro/CLIpro_250k_15_1.py
index 8505227..9246f0d 100644
--- a/models/CLIpro/CLIpro_250k_15_1.py
+++ b/models/CLIpro/CLIpro_250k_15_1.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/CLIpro_jaw_250k.stl'
     p['contact_pts'] = [[-13.921872, -90.258591, 8.862718],
                 [13.158182, -91.377449, 7.355043]]
diff --git a/models/CLIpro/CLIpro_250k_15_2.py b/models/CLIpro/CLIpro_250k_15_2.py
index 842c725..2fabddd 100644
--- a/models/CLIpro/CLIpro_250k_15_2.py
+++ b/models/CLIpro/CLIpro_250k_15_2.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/CLIpro_jaw_250k.stl'
     p['contact_pts'] = [[-34.058887, 21.742476, 9.846808],
                 [33.013206, 24.755995, -0.564457]]
diff --git a/models/CLIpro/CLIpro_250k_7_1.py b/models/CLIpro/CLIpro_250k_7_1.py
index cba4b7f..a3089b7 100644
--- a/models/CLIpro/CLIpro_250k_7_1.py
+++ b/models/CLIpro/CLIpro_250k_7_1.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/CLIpro_jaw_250k.stl'
     p['contact_pts'] = [[-13.921872, -90.258591, 8.862718],
                 [13.158182, -91.377449, 7.355043]]
diff --git a/models/CLIpro/CLIpro_250k_7_2.py b/models/CLIpro/CLIpro_250k_7_2.py
index b8bcf34..ab25a9e 100644
--- a/models/CLIpro/CLIpro_250k_7_2.py
+++ b/models/CLIpro/CLIpro_250k_7_2.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/CLIpro_jaw_250k.stl'
     p['contact_pts'] = [[-34.058887, 21.742476, 9.846808],
                 [33.013206, 24.755995, -0.564457]]
diff --git a/models/CLIpro/CLIpro_500k_15_1.py b/models/CLIpro/CLIpro_500k_15_1.py
index b4d53cb..135b4aa 100644
--- a/models/CLIpro/CLIpro_500k_15_1.py
+++ b/models/CLIpro/CLIpro_500k_15_1.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/CLIpro_jaw_500k.stl'
     p['contact_pts'] = [[-12.880455, -92.642342, -0.673375],
                 [12.990344, -91.013168, 7.432779]]
diff --git a/models/CLIpro/CLIpro_500k_15_2.py b/models/CLIpro/CLIpro_500k_15_2.py
index 217aeaa..7bd6137 100644
--- a/models/CLIpro/CLIpro_500k_15_2.py
+++ b/models/CLIpro/CLIpro_500k_15_2.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/CLIpro_jaw_500k.stl'
     p['contact_pts'] = [[-33.575844, 26.282110, -0.445806],
                 [32.137966, 22.818340, 7.904116]]
diff --git a/models/CLIpro/CLIpro_500k_7_1.py b/models/CLIpro/CLIpro_500k_7_1.py
index 6e26121..0acbf7b 100644
--- a/models/CLIpro/CLIpro_500k_7_1.py
+++ b/models/CLIpro/CLIpro_500k_7_1.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/CLIpro_jaw_500k.stl'
     p['contact_pts'] = [[-12.880455, -92.642342, -0.673375],
                 [12.990344, -91.013168, 7.432779]]
diff --git a/models/CLIpro/CLIpro_500k_7_2.py b/models/CLIpro/CLIpro_500k_7_2.py
index a10ad26..dfa226d 100644
--- a/models/CLIpro/CLIpro_500k_7_2.py
+++ b/models/CLIpro/CLIpro_500k_7_2.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/CLIpro_jaw_500k.stl'
     p['contact_pts'] = [[-33.575844, 26.282110, -0.445806],
                 [32.137966, 22.818340, 7.904116]]
diff --git a/models/CLIpro/CLIpro_750k_15_1.py b/models/CLIpro/CLIpro_750k_15_1.py
index 27ee4a9..b175d08 100644
--- a/models/CLIpro/CLIpro_750k_15_1.py
+++ b/models/CLIpro/CLIpro_750k_15_1.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/CLIpro_jaw_750k.stl'
     p['contact_pts'] = [[-14.743377, -90.163612, 9.011174],
                 [13.049115, -90.677956, 7.640814]]
diff --git a/models/CLIpro/CLIpro_750k_15_2.py b/models/CLIpro/CLIpro_750k_15_2.py
index fc01273..c3dfdb4 100644
--- a/models/CLIpro/CLIpro_750k_15_2.py
+++ b/models/CLIpro/CLIpro_750k_15_2.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/CLIpro_jaw_750k.stl'
     p['contact_pts'] = [[-34.126896, 21.475969, 10.220996],
                 [32.139095, 22.748108, 8.446575]]
diff --git a/models/CLIpro/CLIpro_750k_7_1.py b/models/CLIpro/CLIpro_750k_7_1.py
index 6aa016c..0708d75 100644
--- a/models/CLIpro/CLIpro_750k_7_1.py
+++ b/models/CLIpro/CLIpro_750k_7_1.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/CLIpro_jaw_750k.stl'
     p['contact_pts'] = [[-14.743377, -90.163612, 9.011174],
                 [13.049115, -90.677956, 7.640814]]
diff --git a/models/CLIpro/CLIpro_750k_7_2.py b/models/CLIpro/CLIpro_750k_7_2.py
index 613ad6d..006d0a5 100644
--- a/models/CLIpro/CLIpro_750k_7_2.py
+++ b/models/CLIpro/CLIpro_750k_7_2.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'CLIpro/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/CLIpro_jaw_750k.stl'
     p['contact_pts'] = [[-34.126896, 21.475969, 10.220996],
                 [32.139095, 22.748108, 8.446575]]
diff --git a/models/Dolico_bon/Dolico_bon_150k_15_1.py b/models/Dolico_bon/Dolico_bon_150k_15_1.py
index 572e9e5..3a23803 100644
--- a/models/Dolico_bon/Dolico_bon_150k_15_1.py
+++ b/models/Dolico_bon/Dolico_bon_150k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/Dolico_bon_150k.stl'
     p['contact_pts'] = [[4.212819, -267.574554, 28.792574],
                 [36.007748, -269.322662, 27.255693]]
diff --git a/models/Dolico_bon/Dolico_bon_150k_15_2.py b/models/Dolico_bon/Dolico_bon_150k_15_2.py
index 786201c..8f47b82 100644
--- a/models/Dolico_bon/Dolico_bon_150k_15_2.py
+++ b/models/Dolico_bon/Dolico_bon_150k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/Dolico_bon_150k.stl'
     p['contact_pts'] = [[-14.645494, 62.509026, 23.022108],
                 [44.984268, 67.347466, -2.159538]]
diff --git a/models/Dolico_bon/Dolico_bon_150k_7_1.py b/models/Dolico_bon/Dolico_bon_150k_7_1.py
index 283bcc4..6ac47c9 100644
--- a/models/Dolico_bon/Dolico_bon_150k_7_1.py
+++ b/models/Dolico_bon/Dolico_bon_150k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/Dolico_bon_150k.stl'
     p['contact_pts'] = [[4.212819, -267.574554, 28.792574],
                 [36.007748, -269.322662, 27.255693]]
diff --git a/models/Dolico_bon/Dolico_bon_150k_7_2.py b/models/Dolico_bon/Dolico_bon_150k_7_2.py
index 216b3bc..150f5d9 100644
--- a/models/Dolico_bon/Dolico_bon_150k_7_2.py
+++ b/models/Dolico_bon/Dolico_bon_150k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/Dolico_bon_150k.stl'
     p['contact_pts'] = [[-14.645494, 62.509026, 23.022108],
                 [44.984268, 67.347466, -2.159538]]
diff --git a/models/Dolico_bon/Dolico_bon_250k_15_1.py b/models/Dolico_bon/Dolico_bon_250k_15_1.py
index 43234fe..bcce403 100644
--- a/models/Dolico_bon/Dolico_bon_250k_15_1.py
+++ b/models/Dolico_bon/Dolico_bon_250k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/Dolico_bon_250k.stl'
     p['contact_pts'] = [[4.212819, -267.574554, 28.792574],
                 [36.279472, -269.853271, 26.685869]]
diff --git a/models/Dolico_bon/Dolico_bon_250k_15_2.py b/models/Dolico_bon/Dolico_bon_250k_15_2.py
index d91b624..c7528d5 100644
--- a/models/Dolico_bon/Dolico_bon_250k_15_2.py
+++ b/models/Dolico_bon/Dolico_bon_250k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/Dolico_bon_250k.stl'
     p['contact_pts'] = [[-10.472356, 31.800030, -3.685302],
                 [50.958504, 38.902874, -5.352512]]
diff --git a/models/Dolico_bon/Dolico_bon_250k_7_1.py b/models/Dolico_bon/Dolico_bon_250k_7_1.py
index bb74468..d5e4ab8 100644
--- a/models/Dolico_bon/Dolico_bon_250k_7_1.py
+++ b/models/Dolico_bon/Dolico_bon_250k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/Dolico_bon_250k.stl'
     p['contact_pts'] = [[4.212819, -267.574554, 28.792574],
                 [36.279472, -269.853271, 26.685869]]
diff --git a/models/Dolico_bon/Dolico_bon_250k_7_2.py b/models/Dolico_bon/Dolico_bon_250k_7_2.py
index 2dc8d7b..0725381 100644
--- a/models/Dolico_bon/Dolico_bon_250k_7_2.py
+++ b/models/Dolico_bon/Dolico_bon_250k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/Dolico_bon_250k.stl'
     p['contact_pts'] = [[-10.472356, 31.800030, -3.685302],
                 [50.958504, 38.902874, -5.352512]]
diff --git a/models/Dolico_bon/Dolico_bon_500k_15_1.py b/models/Dolico_bon/Dolico_bon_500k_15_1.py
index 7c71556..d505ce3 100644
--- a/models/Dolico_bon/Dolico_bon_500k_15_1.py
+++ b/models/Dolico_bon/Dolico_bon_500k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/Dolico_bon_500k.stl'
     p['contact_pts'] = [[4.858893, -266.720367, 28.316463],
                 [36.279472, -269.853271, 26.685869]]
diff --git a/models/Dolico_bon/Dolico_bon_500k_15_2.py b/models/Dolico_bon/Dolico_bon_500k_15_2.py
index a96b462..7ea291c 100644
--- a/models/Dolico_bon/Dolico_bon_500k_15_2.py
+++ b/models/Dolico_bon/Dolico_bon_500k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/Dolico_bon_500k.stl'
     p['contact_pts'] = [[-16.827028, 42.577381, -1.938522],
                 [44.807407, 48.136395, -0.112404]]
diff --git a/models/Dolico_bon/Dolico_bon_500k_7_1.py b/models/Dolico_bon/Dolico_bon_500k_7_1.py
index b7f48b4..8019cbe 100644
--- a/models/Dolico_bon/Dolico_bon_500k_7_1.py
+++ b/models/Dolico_bon/Dolico_bon_500k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/Dolico_bon_500k.stl'
     p['contact_pts'] = [[4.858893, -266.720367, 28.316463],
                 [36.279472, -269.853271, 26.685869]]
diff --git a/models/Dolico_bon/Dolico_bon_500k_7_2.py b/models/Dolico_bon/Dolico_bon_500k_7_2.py
index 02f8872..bba38c9 100644
--- a/models/Dolico_bon/Dolico_bon_500k_7_2.py
+++ b/models/Dolico_bon/Dolico_bon_500k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/Dolico_bon_500k.stl'
     p['contact_pts'] = [[-16.827028, 42.577381, -1.938522],
                 [44.807407, 48.136395, -0.112404]]
diff --git a/models/Dolico_bon/Dolico_bon_750k_15_1.py b/models/Dolico_bon/Dolico_bon_750k_15_1.py
index adf9123..88abe9a 100644
--- a/models/Dolico_bon/Dolico_bon_750k_15_1.py
+++ b/models/Dolico_bon/Dolico_bon_750k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/Dolico_bon_750k.stl'
     p['contact_pts'] = [[5.189603, -266.977203, 28.278206],
                 [36.279472, -269.853271, 26.685869]]
diff --git a/models/Dolico_bon/Dolico_bon_750k_15_2.py b/models/Dolico_bon/Dolico_bon_750k_15_2.py
index 2c83fe4..c306743 100644
--- a/models/Dolico_bon/Dolico_bon_750k_15_2.py
+++ b/models/Dolico_bon/Dolico_bon_750k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/Dolico_bon_750k.stl'
     p['contact_pts'] = [[-18.989965, 40.841747, -1.935307],
                 [34.655277, 41.826595, -7.642198]]
diff --git a/models/Dolico_bon/Dolico_bon_750k_7_1.py b/models/Dolico_bon/Dolico_bon_750k_7_1.py
index fdad0cb..f7ff3ec 100644
--- a/models/Dolico_bon/Dolico_bon_750k_7_1.py
+++ b/models/Dolico_bon/Dolico_bon_750k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/Dolico_bon_750k.stl'
     p['contact_pts'] = [[5.189603, -266.977203, 28.278206],
                 [36.279472, -269.853271, 26.685869]]
diff --git a/models/Dolico_bon/Dolico_bon_750k_7_2.py b/models/Dolico_bon/Dolico_bon_750k_7_2.py
index e6d9398..4f2fb0d 100644
--- a/models/Dolico_bon/Dolico_bon_750k_7_2.py
+++ b/models/Dolico_bon/Dolico_bon_750k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_bon/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/Dolico_bon_750k.stl'
     p['contact_pts'] = [[-18.989965, 40.841747, -1.935307],
                 [34.655277, 41.826595, -7.642198]]
diff --git a/models/Dolico_osb/Dolico_osb_150k_15_1.py b/models/Dolico_osb/Dolico_osb_150k_15_1.py
index 7eadcfb..b7321bc 100644
--- a/models/Dolico_osb/Dolico_osb_150k_15_1.py
+++ b/models/Dolico_osb/Dolico_osb_150k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/Dolico_osb_150k.stl'
     p['contact_pts'] = [[70.939697, -369.730804, 305.997803],
                 [72.499474, -367.223450, 278.139832]]
diff --git a/models/Dolico_osb/Dolico_osb_150k_15_2.py b/models/Dolico_osb/Dolico_osb_150k_15_2.py
index dbd2a6f..30ac1f2 100644
--- a/models/Dolico_osb/Dolico_osb_150k_15_2.py
+++ b/models/Dolico_osb/Dolico_osb_150k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/Dolico_osb_150k.stl'
     p['contact_pts'] = [[52.009193, -201.873154, 307.677521],
                 [64.623055, -199.101791, 282.517853]]
diff --git a/models/Dolico_osb/Dolico_osb_150k_7_1.py b/models/Dolico_osb/Dolico_osb_150k_7_1.py
index 7a3c389..ce7ece3 100644
--- a/models/Dolico_osb/Dolico_osb_150k_7_1.py
+++ b/models/Dolico_osb/Dolico_osb_150k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/Dolico_osb_150k.stl'
     p['contact_pts'] = [[70.939697, -369.730804, 305.997803],
                 [72.499474, -367.223450, 278.139832]]
diff --git a/models/Dolico_osb/Dolico_osb_150k_7_2.py b/models/Dolico_osb/Dolico_osb_150k_7_2.py
index 70f477b..fe8001d 100644
--- a/models/Dolico_osb/Dolico_osb_150k_7_2.py
+++ b/models/Dolico_osb/Dolico_osb_150k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/Dolico_osb_150k.stl'
     p['contact_pts'] = [[52.009193, -201.873154, 307.677521],
                 [64.623055, -199.101791, 282.517853]]
diff --git a/models/Dolico_osb/Dolico_osb_250k_15_1.py b/models/Dolico_osb/Dolico_osb_250k_15_1.py
index b86b268..9e28214 100644
--- a/models/Dolico_osb/Dolico_osb_250k_15_1.py
+++ b/models/Dolico_osb/Dolico_osb_250k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/Dolico_osb_250k.stl'
     p['contact_pts'] = [[71.647064, -367.307281, 303.918365],
                 [71.428085, -366.684906, 278.119751]]
diff --git a/models/Dolico_osb/Dolico_osb_250k_15_2.py b/models/Dolico_osb/Dolico_osb_250k_15_2.py
index 9c3536f..5aa17c6 100644
--- a/models/Dolico_osb/Dolico_osb_250k_15_2.py
+++ b/models/Dolico_osb/Dolico_osb_250k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/Dolico_osb_250k.stl'
     p['contact_pts'] = [[58.887959, -197.486603, 305.862701],
                 [64.476349, -199.363113, 282.813385]]
diff --git a/models/Dolico_osb/Dolico_osb_250k_7_1.py b/models/Dolico_osb/Dolico_osb_250k_7_1.py
index e395d32..863e8ed 100644
--- a/models/Dolico_osb/Dolico_osb_250k_7_1.py
+++ b/models/Dolico_osb/Dolico_osb_250k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/Dolico_osb_250k.stl'
     p['contact_pts'] = [[71.647064, -367.307281, 303.918365],
                 [71.428085, -366.684906, 278.119751]]
diff --git a/models/Dolico_osb/Dolico_osb_250k_7_2.py b/models/Dolico_osb/Dolico_osb_250k_7_2.py
index 5eb6276..3cc552a 100644
--- a/models/Dolico_osb/Dolico_osb_250k_7_2.py
+++ b/models/Dolico_osb/Dolico_osb_250k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/Dolico_osb_250k.stl'
     p['contact_pts'] = [[58.887959, -197.486603, 305.862701],
                 [64.476349, -199.363113, 282.813385]]
diff --git a/models/Dolico_osb/Dolico_osb_500k_15_1.py b/models/Dolico_osb/Dolico_osb_500k_15_1.py
index dedf422..3c2136e 100644
--- a/models/Dolico_osb/Dolico_osb_500k_15_1.py
+++ b/models/Dolico_osb/Dolico_osb_500k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/Dolico_osb_500k.stl'
     p['contact_pts'] = [[72.492805, -367.768738, 304.363922],
                 [72.060631, -366.996246, 278.112061]]
diff --git a/models/Dolico_osb/Dolico_osb_500k_15_2.py b/models/Dolico_osb/Dolico_osb_500k_15_2.py
index f43d760..b04f0a9 100644
--- a/models/Dolico_osb/Dolico_osb_500k_15_2.py
+++ b/models/Dolico_osb/Dolico_osb_500k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/Dolico_osb_500k.stl'
     p['contact_pts'] = [[58.887959, -197.486603, 305.862701],
                 [58.952919, -197.350830, 280.833832]]
diff --git a/models/Dolico_osb/Dolico_osb_500k_7_1.py b/models/Dolico_osb/Dolico_osb_500k_7_1.py
index 31d5169..a844223 100644
--- a/models/Dolico_osb/Dolico_osb_500k_7_1.py
+++ b/models/Dolico_osb/Dolico_osb_500k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/Dolico_osb_500k.stl'
     p['contact_pts'] = [[72.492805, -367.768738, 304.363922],
                 [72.060631, -366.996246, 278.112061]]
diff --git a/models/Dolico_osb/Dolico_osb_500k_7_2.py b/models/Dolico_osb/Dolico_osb_500k_7_2.py
index 1e4d4d9..4e0b51e 100644
--- a/models/Dolico_osb/Dolico_osb_500k_7_2.py
+++ b/models/Dolico_osb/Dolico_osb_500k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/Dolico_osb_500k.stl'
     p['contact_pts'] = [[58.887959, -197.486603, 305.862701],
                 [58.952919, -197.350830, 280.833832]]
diff --git a/models/Dolico_osb/Dolico_osb_750k_15_1.py b/models/Dolico_osb/Dolico_osb_750k_15_1.py
index 3492557..0d7f41d 100644
--- a/models/Dolico_osb/Dolico_osb_750k_15_1.py
+++ b/models/Dolico_osb/Dolico_osb_750k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/Dolico_osb_750k.stl'
     p['contact_pts'] = [[72.896973, -368.044189, 304.529999],
                 [72.543152, -367.867920, 278.888367]]
diff --git a/models/Dolico_osb/Dolico_osb_750k_15_2.py b/models/Dolico_osb/Dolico_osb_750k_15_2.py
index 9c649d8..2e44fd0 100644
--- a/models/Dolico_osb/Dolico_osb_750k_15_2.py
+++ b/models/Dolico_osb/Dolico_osb_750k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/Dolico_osb_750k.stl'
     p['contact_pts'] = [[58.887959, -197.486603, 305.862701],
                 [58.952919, -197.350830, 280.833832]]
diff --git a/models/Dolico_osb/Dolico_osb_750k_7_1.py b/models/Dolico_osb/Dolico_osb_750k_7_1.py
index 40310f0..8351126 100644
--- a/models/Dolico_osb/Dolico_osb_750k_7_1.py
+++ b/models/Dolico_osb/Dolico_osb_750k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/Dolico_osb_750k.stl'
     p['contact_pts'] = [[72.896973, -368.044189, 304.529999],
                 [72.543152, -367.867920, 278.888367]]
diff --git a/models/Dolico_osb/Dolico_osb_750k_7_2.py b/models/Dolico_osb/Dolico_osb_750k_7_2.py
index ffb95d7..42f4e08 100644
--- a/models/Dolico_osb/Dolico_osb_750k_7_2.py
+++ b/models/Dolico_osb/Dolico_osb_750k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Dolico_osb/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/Dolico_osb_750k.stl'
     p['contact_pts'] = [[58.887959, -197.486603, 305.862701],
                 [58.952919, -197.350830, 280.833832]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_150k_15_1.py b/models/PLTtymFrankencarpus/PLTtympFranken_150k_15_1.py
index f7a086e..a593e9b 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_150k_15_1.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_150k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/PLTtym_150k_symph.stl'
     p['contact_pts'] = [[-140.484802, 32.752762, 185.435608],
                 [-141.219009, -31.436172, 178.064987]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_150k_15_2.py b/models/PLTtymFrankencarpus/PLTtympFranken_150k_15_2.py
index c68301c..16fe330 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_150k_15_2.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_150k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/PLTtym_150k_symph.stl'
     p['contact_pts'] = [[-47.591175, 59.634678, 182.979019],
                 [-47.909733, -48.301151, 176.236832]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_150k_7_1.py b/models/PLTtymFrankencarpus/PLTtympFranken_150k_7_1.py
index 848ac00..f7b38aa 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_150k_7_1.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_150k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/PLTtym_150k_symph.stl'
     p['contact_pts'] = [[-140.484802, 32.752762, 185.435608],
                 [-141.219009, -31.436172, 178.064987]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_150k_7_2.py b/models/PLTtymFrankencarpus/PLTtympFranken_150k_7_2.py
index f0fe2bd..7b82628 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_150k_7_2.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_150k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/PLTtym_150k_symph.stl'
     p['contact_pts'] = [[-47.591175, 59.634678, 182.979019],
                 [-47.909733, -48.301151, 176.236832]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_20k.py b/models/PLTtymFrankencarpus/PLTtympFranken_20k.py
index 3f2d6ef..3a1addc 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_20k.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_20k.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/20k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'20k')
     p['bone'] = f'{path}/PLTtym_20k_symph_lfs.stl'
     p['contact_pts'] = [[-139.862946, 34.411610, 186.322037],
                   [-140.781250, -29.009081, 185.878799]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_250k.py b/models/PLTtymFrankencarpus/PLTtympFranken_250k.py
index c28c6a3..352bcac 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_250k.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_250k.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/PLTtym_250k_symph_lfs.stl'
     p['contact_pts'] = [[-140.616379, 34.634388, 178.193710],
                 [-141.087341, -31.283962, 177.457901]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_250k_15_1.py b/models/PLTtymFrankencarpus/PLTtympFranken_250k_15_1.py
index 66b65fe..84893b7 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_250k_15_1.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_250k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/PLTtym_250k_symph.stl'
     p['contact_pts'] = [[-140.616379, 34.634388, 178.193710],
                 [-141.087341, -31.283962, 177.457901]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_250k_15_2.py b/models/PLTtymFrankencarpus/PLTtympFranken_250k_15_2.py
index 48d6033..9d3fb40 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_250k_15_2.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_250k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/PLTtym_250k_symph.stl'
     p['contact_pts'] = [[-47.591175, 59.634678, 182.979019],
                 [-47.556026, -48.933891, 180.280045]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_250k_7_1.py b/models/PLTtymFrankencarpus/PLTtympFranken_250k_7_1.py
index 3a46c02..049b78c 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_250k_7_1.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_250k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/PLTtym_250k_symph.stl'
     p['contact_pts'] = [[-140.616379, 34.634388, 178.193710],
                 [-141.087341, -31.283962, 177.457901]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_250k_7_2.py b/models/PLTtymFrankencarpus/PLTtympFranken_250k_7_2.py
index 7b89e04..5484e68 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_250k_7_2.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_250k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/PLTtym_250k_symph.stl'
     p['contact_pts'] = [[-47.591175, 59.634678, 182.979019],
                 [-47.556026, -48.933891, 180.280045]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_500k_15_1.py b/models/PLTtymFrankencarpus/PLTtympFranken_500k_15_1.py
index 300c964..37fb7f6 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_500k_15_1.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_500k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/PLTtym_500k_symph.stl'
     p['contact_pts'] = [[-140.616379, 34.634388, 178.193710],
                 [-141.554642, -31.049093, 176.841354]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_500k_15_2.py b/models/PLTtymFrankencarpus/PLTtympFranken_500k_15_2.py
index 34a73db..52f288d 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_500k_15_2.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_500k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/PLTtym_500k_symph.stl'
     p['contact_pts'] = [[-48.250050, 60.041912, 182.285355],
                 [-47.561031, -48.934483, 180.753647]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_500k_7_1.py b/models/PLTtymFrankencarpus/PLTtympFranken_500k_7_1.py
index b612f65..e777645 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_500k_7_1.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_500k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/PLTtym_500k_symph.stl'
     p['contact_pts'] = [[-140.616379, 34.634388, 178.193710],
                 [-141.554642, -31.049093, 176.841354]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_500k_7_2.py b/models/PLTtymFrankencarpus/PLTtympFranken_500k_7_2.py
index 87ca034..a5e1f54 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_500k_7_2.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_500k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/PLTtym_500k_symph.stl'
     p['contact_pts'] = [[-48.250050, 60.041912, 182.285355],
                 [-47.561031, -48.934483, 180.753647]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_750k.py b/models/PLTtymFrankencarpus/PLTtympFranken_750k.py
index a97b9f3..406573a 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_750k.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_750k.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/PLTtym_750k_symph_lfs.stl'
     p['contact_pts'] = [[-140.392929, 34.519073, 177.620209],
                 [-141.554642, -31.049093, 176.841354]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_750k_15_1.py b/models/PLTtymFrankencarpus/PLTtympFranken_750k_15_1.py
index 17139a3..cc1fea2 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_750k_15_1.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_750k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/PLTtym_750k_symph.stl'
     p['contact_pts'] = [[-140.392929, 34.519073, 177.620209],
                 [-141.554642, -31.049093, 176.841354]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_750k_15_2.py b/models/PLTtymFrankencarpus/PLTtympFranken_750k_15_2.py
index 2161d7d..109309f 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_750k_15_2.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_750k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/PLTtym_750k_symph.stl'
     p['contact_pts'] = [[-48.250050, 60.041912, 182.285355],
                 [-47.400860, -48.840836, 180.895721]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_750k_7_1.py b/models/PLTtymFrankencarpus/PLTtympFranken_750k_7_1.py
index 48f7ea3..78c5464 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_750k_7_1.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_750k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/PLTtym_750k_symph.stl'
     p['contact_pts'] = [[-140.392929, 34.519073, 177.620209],
                 [-141.554642, -31.049093, 176.841354]]
diff --git a/models/PLTtymFrankencarpus/PLTtympFranken_750k_7_2.py b/models/PLTtymFrankencarpus/PLTtympFranken_750k_7_2.py
index 0ab4f07..43ff571 100644
--- a/models/PLTtymFrankencarpus/PLTtympFranken_750k_7_2.py
+++ b/models/PLTtymFrankencarpus/PLTtympFranken_750k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'PLTtymFrankencarpus/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/PLTtym_750k_symph.stl'
     p['contact_pts'] = [[-48.250050, 60.041912, 182.285355],
                 [-47.400860, -48.840836, 180.895721]]
diff --git a/models/Panthera_pardus/Panthera_pardus_RC_30.py b/models/Panthera_pardus/Panthera_pardus_RC_30.py
index 67358cc..31b3e6e 100644
--- a/models/Panthera_pardus/Panthera_pardus_RC_30.py
+++ b/models/Panthera_pardus/Panthera_pardus_RC_30.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Panthera_pardus/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/Panthera_pardus_AMNH_113745_mandible.stl'
     p['contact_pts'] = [16.4418, 17.3567, -53.2842]
     p['axis_pt1'] = [-37.433147, -7.689619, 48.622185]
diff --git a/models/TYLber/TYLber_150k_15_1.py b/models/TYLber/TYLber_150k_15_1.py
index 203bd64..63296cd 100644
--- a/models/TYLber/TYLber_150k_15_1.py
+++ b/models/TYLber/TYLber_150k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/TYLber_jaw_150k.stl'
     p['contact_pts'] = [[74.470337, 531.928772, 38.113079],
                 [-71.465904, 531.618591, 37.830475]]
diff --git a/models/TYLber/TYLber_150k_15_2.py b/models/TYLber/TYLber_150k_15_2.py
index 49e0124..ce405a1 100644
--- a/models/TYLber/TYLber_150k_15_2.py
+++ b/models/TYLber/TYLber_150k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/TYLber_jaw_150k.stl'
     p['contact_pts'] = [[159.952377, 145.793655, 10.386530],
                 [-147.823532, 152.052460, 16.779087]]
diff --git a/models/TYLber/TYLber_150k_7_1.py b/models/TYLber/TYLber_150k_7_1.py
index c1bc019..1064cfd 100644
--- a/models/TYLber/TYLber_150k_7_1.py
+++ b/models/TYLber/TYLber_150k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/TYLber_jaw_150k.stl'
     p['contact_pts'] = [[74.470337, 531.928772, 38.113079],
                 [-71.465904, 531.618591, 37.830475]]
diff --git a/models/TYLber/TYLber_150k_7_2.py b/models/TYLber/TYLber_150k_7_2.py
index ba68174..753edca 100644
--- a/models/TYLber/TYLber_150k_7_2.py
+++ b/models/TYLber/TYLber_150k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/TYLber_jaw_150k.stl'
     p['contact_pts'] = [[159.952377, 145.793655, 10.386530],
                 [-147.823532, 152.052460, 16.779087]]
diff --git a/models/TYLber/TYLber_250k_15_1.py b/models/TYLber/TYLber_250k_15_1.py
index 890fe42..0ecee26 100644
--- a/models/TYLber/TYLber_250k_15_1.py
+++ b/models/TYLber/TYLber_250k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/TYLber_jaw_250k.stl'
     p['contact_pts'] = [[76.895927, 530.584045, 32.612164],
                 [-73.001038, 536.202087, 37.195301]]
diff --git a/models/TYLber/TYLber_250k_15_2_bad.py b/models/TYLber/TYLber_250k_15_2_bad.py
index 5cfe468..b81af70 100644
--- a/models/TYLber/TYLber_250k_15_2_bad.py
+++ b/models/TYLber/TYLber_250k_15_2_bad.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/TYLber_jaw_250k.stl'
     p['contact_pts'] = [[159.370773, 150.709351, 18.192839],
                 [-152.182220, 150.355057, 22.975760]]
diff --git a/models/TYLber/TYLber_250k_7_1.py b/models/TYLber/TYLber_250k_7_1.py
index 78b5b9b..dcef18b 100644
--- a/models/TYLber/TYLber_250k_7_1.py
+++ b/models/TYLber/TYLber_250k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/TYLber_jaw_250k.stl'
     p['contact_pts'] = [[76.895927, 530.584045, 32.612164],
                 [-73.001038, 536.202087, 37.195301]]
diff --git a/models/TYLber/TYLber_250k_7_2_bad.py b/models/TYLber/TYLber_250k_7_2_bad.py
index 3acc217..f2e7fa0 100644
--- a/models/TYLber/TYLber_250k_7_2_bad.py
+++ b/models/TYLber/TYLber_250k_7_2_bad.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/TYLber_jaw_250k.stl'
     p['contact_pts'] = [[159.370773, 150.709351, 18.192839],
                 [-152.182220, 150.355057, 22.975760]]
diff --git a/models/TYLber/TYLber_500k_15_1.py b/models/TYLber/TYLber_500k_15_1.py
index cdf810f..f664fc3 100644
--- a/models/TYLber/TYLber_500k_15_1.py
+++ b/models/TYLber/TYLber_500k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/TYLber_jaw_500k.stl'
     p['contact_pts'] = [[77.305153, 544.409424, 30.836790],
                 [-73.187263, 536.783264, 36.419006]]
diff --git a/models/TYLber/TYLber_500k_15_2.py b/models/TYLber/TYLber_500k_15_2.py
index 65a53a5..17c423f 100644
--- a/models/TYLber/TYLber_500k_15_2.py
+++ b/models/TYLber/TYLber_500k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/TYLber_jaw_500k.stl'
     p['contact_pts'] = [[153.858017, 155.593140, 17.697323],
                 [-150.512238, 145.369690, 17.743414]]
diff --git a/models/TYLber/TYLber_500k_7_1.py b/models/TYLber/TYLber_500k_7_1.py
index 6bb6d59..007b7e1 100644
--- a/models/TYLber/TYLber_500k_7_1.py
+++ b/models/TYLber/TYLber_500k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/TYLber_jaw_500k.stl'
     p['contact_pts'] = [[77.305153, 544.409424, 30.836790],
                 [-73.187263, 536.783264, 36.419006]]
diff --git a/models/TYLber/TYLber_500k_7_2.py b/models/TYLber/TYLber_500k_7_2.py
index 8e0f7d8..eb2cdaf 100644
--- a/models/TYLber/TYLber_500k_7_2.py
+++ b/models/TYLber/TYLber_500k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/TYLber_jaw_500k.stl'
     p['contact_pts'] = [[153.858017, 155.593140, 17.697323],
                 [-150.512238, 145.369690, 17.743414]]
diff --git a/models/TYLber/TYLber_750k_15_1.py b/models/TYLber/TYLber_750k_15_1.py
index e1fd360..478acf9 100644
--- a/models/TYLber/TYLber_750k_15_1.py
+++ b/models/TYLber/TYLber_750k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/TYLber_jaw_750k.stl'
     p['contact_pts'] = [[78.026253, 541.746887, 33.878143],
                 [-73.820549, 540.698853, 33.361473]]
diff --git a/models/TYLber/TYLber_750k_15_2.py b/models/TYLber/TYLber_750k_15_2.py
index 7065a53..7ec71ac 100644
--- a/models/TYLber/TYLber_750k_15_2.py
+++ b/models/TYLber/TYLber_750k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/TYLber_jaw_750k.stl'
     p['contact_pts'] = [[196.424347, 90.526627, -41.083321],
                 [-159.784760, 98.047890, 30.349947]]
diff --git a/models/TYLber/TYLber_750k_7_1.py b/models/TYLber/TYLber_750k_7_1.py
index 51a4b72..c65f227 100644
--- a/models/TYLber/TYLber_750k_7_1.py
+++ b/models/TYLber/TYLber_750k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/TYLber_jaw_750k.stl'
     p['contact_pts'] = [[78.026253, 541.746887, 33.878143],
                 [-73.820549, 540.698853, 33.361473]]
diff --git a/models/TYLber/TYLber_750k_7_2.py b/models/TYLber/TYLber_750k_7_2.py
index 81fb67d..bcdcbb7 100644
--- a/models/TYLber/TYLber_750k_7_2.py
+++ b/models/TYLber/TYLber_750k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLber/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/TYLber_jaw_750k.stl'
     p['contact_pts'] = [[196.424347, 90.526627, -41.083321],
                 [-159.784760, 98.047890, 30.349947]]
diff --git a/models/TYLnep/TYLnep_150k_15_1.py b/models/TYLnep/TYLnep_150k_15_1.py
index 8c30c38..6cf6e73 100644
--- a/models/TYLnep/TYLnep_150k_15_1.py
+++ b/models/TYLnep/TYLnep_150k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/TYLnep_jaw_150k.stl'
     p['contact_pts'] = [[-411.039917, 227.579102, 43.466621],
                 [-426.836792, 165.685944, 36.533264]]
diff --git a/models/TYLnep/TYLnep_150k_15_2.py b/models/TYLnep/TYLnep_150k_15_2.py
index 93d9b2d..6ad72d9 100644
--- a/models/TYLnep/TYLnep_150k_15_2.py
+++ b/models/TYLnep/TYLnep_150k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/TYLnep_jaw_150k.stl'
     p['contact_pts'] = [[-87.998215, 318.365540, 63.300953],
                 [-99.972519, 80.537491, 43.511547]]
diff --git a/models/TYLnep/TYLnep_150k_7_1.py b/models/TYLnep/TYLnep_150k_7_1.py
index c7f1e7f..819e199 100644
--- a/models/TYLnep/TYLnep_150k_7_1.py
+++ b/models/TYLnep/TYLnep_150k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/TYLnep_jaw_150k.stl'
     p['contact_pts'] = [[-411.039917, 227.579102, 43.466621],
                 [-426.836792, 165.685944, 36.533264]]
diff --git a/models/TYLnep/TYLnep_150k_7_2.py b/models/TYLnep/TYLnep_150k_7_2.py
index 4dd2ce9..f396b6e 100644
--- a/models/TYLnep/TYLnep_150k_7_2.py
+++ b/models/TYLnep/TYLnep_150k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/150k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'150k')
     p['bone'] = f'{path}/TYLnep_jaw_150k.stl'
     p['contact_pts'] = [[-87.998215, 318.365540, 63.300953],
                 [-99.972519, 80.537491, 43.511547]]
diff --git a/models/TYLnep/TYLnep_250k_15_1.py b/models/TYLnep/TYLnep_250k_15_1.py
index ecbf394..0dfe9fa 100644
--- a/models/TYLnep/TYLnep_250k_15_1.py
+++ b/models/TYLnep/TYLnep_250k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/TYLnep_jaw_250k.stl'
     p['contact_pts'] = [[-420.489166, 226.380966, 16.269716],
                 [-426.962891, 159.505264, 35.790138]]
diff --git a/models/TYLnep/TYLnep_250k_15_2.py b/models/TYLnep/TYLnep_250k_15_2.py
index c16eec6..f420494 100644
--- a/models/TYLnep/TYLnep_250k_15_2.py
+++ b/models/TYLnep/TYLnep_250k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/TYLnep_jaw_250k.stl'
     p['contact_pts'] = [[-86.279778, 320.183533, 52.348541],
                 [-96.408920, 78.982399, 52.918877]]
diff --git a/models/TYLnep/TYLnep_250k_7_1.py b/models/TYLnep/TYLnep_250k_7_1.py
index 8bf85b2..14f65db 100644
--- a/models/TYLnep/TYLnep_250k_7_1.py
+++ b/models/TYLnep/TYLnep_250k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/TYLnep_jaw_250k.stl'
     p['contact_pts'] = [[-420.489166, 226.380966, 16.269716],
                 [-426.962891, 159.505264, 35.790138]]
diff --git a/models/TYLnep/TYLnep_250k_7_2.py b/models/TYLnep/TYLnep_250k_7_2.py
index 0e23caf..9be95c5 100644
--- a/models/TYLnep/TYLnep_250k_7_2.py
+++ b/models/TYLnep/TYLnep_250k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/250k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'250k')
     p['bone'] = f'{path}/TYLnep_jaw_250k.stl'
     p['contact_pts'] = [[-86.279778, 320.183533, 52.348541],
                 [-96.408920, 78.982399, 52.918877]]
diff --git a/models/TYLnep/TYLnep_500k_15_1.py b/models/TYLnep/TYLnep_500k_15_1.py
index f1923cd..9a1a0f8 100644
--- a/models/TYLnep/TYLnep_500k_15_1.py
+++ b/models/TYLnep/TYLnep_500k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/TYLnep_jaw_500k.stl'
     p['contact_pts'] = [[-417.999359, 222.242569, 31.007950],
                 [-428.224182, 162.031265, 36.896519]]
diff --git a/models/TYLnep/TYLnep_500k_15_2.py b/models/TYLnep/TYLnep_500k_15_2.py
index fd74197..e529b5a 100644
--- a/models/TYLnep/TYLnep_500k_15_2.py
+++ b/models/TYLnep/TYLnep_500k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/TYLnep_jaw_500k.stl'
     p['contact_pts'] = [[-88.511429, 320.280304, 40.494282],
                 [-95.066902, 77.562195, 41.572414]]
diff --git a/models/TYLnep/TYLnep_500k_7_1.py b/models/TYLnep/TYLnep_500k_7_1.py
index 9a8f63a..634ca3b 100644
--- a/models/TYLnep/TYLnep_500k_7_1.py
+++ b/models/TYLnep/TYLnep_500k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/TYLnep_jaw_500k.stl'
     p['contact_pts'] = [[-417.999359, 222.242569, 31.007950],
                 [-428.224182, 162.031265, 36.896519]]
diff --git a/models/TYLnep/TYLnep_500k_7_2.py b/models/TYLnep/TYLnep_500k_7_2.py
index e11d0e7..3cb3d11 100644
--- a/models/TYLnep/TYLnep_500k_7_2.py
+++ b/models/TYLnep/TYLnep_500k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/500k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'500k')
     p['bone'] = f'{path}/TYLnep_jaw_500k.stl'
     p['contact_pts'] = [[-88.511429, 320.280304, 40.494282],
                 [-95.066902, 77.562195, 41.572414]]
diff --git a/models/TYLnep/TYLnep_750k_15_1.py b/models/TYLnep/TYLnep_750k_15_1.py
index 5a5df73..ad6806c 100644
--- a/models/TYLnep/TYLnep_750k_15_1.py
+++ b/models/TYLnep/TYLnep_750k_15_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/TYLnep_jaw_750k.stl'
     p['contact_pts'] = [[-440.282074, 226.035706, 8.676176],
                 [-453.118317, 156.467865, 11.607960]]
diff --git a/models/TYLnep/TYLnep_750k_15_2.py b/models/TYLnep/TYLnep_750k_15_2.py
index 5a53272..dfe4fa8 100644
--- a/models/TYLnep/TYLnep_750k_15_2.py
+++ b/models/TYLnep/TYLnep_750k_15_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/TYLnep_jaw_750k.stl'
     p['contact_pts'] = [[-91.923141, 317.501709, 54.304459],
                 [-96.786438, 79.207016, 55.289452]]
diff --git a/models/TYLnep/TYLnep_750k_7_1.py b/models/TYLnep/TYLnep_750k_7_1.py
index 12f9370..a2da277 100644
--- a/models/TYLnep/TYLnep_750k_7_1.py
+++ b/models/TYLnep/TYLnep_750k_7_1.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/TYLnep_jaw_750k.stl'
     p['contact_pts'] = [[-440.282074, 226.035706, 8.676176],
                 [-453.118317, 156.467865, 11.607960]]
diff --git a/models/TYLnep/TYLnep_750k_7_2.py b/models/TYLnep/TYLnep_750k_7_2.py
index 1998772..ce3e36d 100644
--- a/models/TYLnep/TYLnep_750k_7_2.py
+++ b/models/TYLnep/TYLnep_750k_7_2.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'TYLnep/750k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'750k')
     p['bone'] = f'{path}/TYLnep_jaw_750k.stl'
     p['contact_pts'] = [[-91.923141, 317.501709, 54.304459],
                 [-96.786438, 79.207016, 55.289452]]
diff --git a/models/Tapirus_indicus/T_indicus_shoulder50k.py b/models/Tapirus_indicus/T_indicus_shoulder50k.py
index 473c9de..834a70d 100644
--- a/models/Tapirus_indicus/T_indicus_shoulder50k.py
+++ b/models/Tapirus_indicus/T_indicus_shoulder50k.py
@@ -5,7 +5,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'Tapirus_indicus/50k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'50k')
     p['bone'] = f'{path}/TAPind901 humerus.ply'
     p['contact_pts'] = [43.003590, 88.870224, -205.887726] # Distal humerus
     p['axis_pt1'] = [18.711651, -26.742256, -93.027802] #Humeral head
diff --git a/models/dolicorhynchops/dolicorhynchops_10k.py b/models/dolicorhynchops/dolicorhynchops_10k.py
index 0ebd8da..5a3ef24 100644
--- a/models/dolicorhynchops/dolicorhynchops_10k.py
+++ b/models/dolicorhynchops/dolicorhynchops_10k.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'dolicorhynchops/10k'
+    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]]
diff --git a/models/dolicorhynchops/dolicorhynchops_10k_contact.py b/models/dolicorhynchops/dolicorhynchops_10k_contact.py
index 6ca75b7..1a00508 100644
--- a/models/dolicorhynchops/dolicorhynchops_10k_contact.py
+++ b/models/dolicorhynchops/dolicorhynchops_10k_contact.py
@@ -7,7 +7,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'dolicorhynchops/10k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'10k')
     p['bone'] = f'{path}/mandible.ply'
     # p['contact_pts'] = f'{path}/teeth.off'
     p['axis_pt1'] = [0.1458893, -73.13895, 227.3909]
diff --git a/models/dolicorhynchops/dolicorhynchops_149k.py b/models/dolicorhynchops/dolicorhynchops_149k.py
index c200fc7..bb4824a 100644
--- a/models/dolicorhynchops/dolicorhynchops_149k.py
+++ b/models/dolicorhynchops/dolicorhynchops_149k.py
@@ -6,7 +6,8 @@
 
 def parms(d={}):
     p = {}
-    path = 'dolicorhynchops/149k'
+    import os
+    path = os.path.join(os.path.dirname(__file__),'149k')
     p['bone'] = f'{path}/mandible_lfs.ply'
     p['contact_pts'] = f'{path}/teeth.ply'
     p['axis_pt1'] = f'{path}/LTMJ.ply'
-- 
GitLab