summarylogtreecommitdiffstats
path: root/step_to_h5m.py
diff options
context:
space:
mode:
Diffstat (limited to 'step_to_h5m.py')
-rw-r--r--step_to_h5m.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/step_to_h5m.py b/step_to_h5m.py
index 69834051b286..2297a298e7e5 100644
--- a/step_to_h5m.py
+++ b/step_to_h5m.py
@@ -1,6 +1,8 @@
+import os
import CAD_to_OpenMC.assembly as ab
+filepath = f"{os.environ['HOME']}/.cache/yay/openmc-git/fuel_pins.step"
a=ab.Assembly()
-a.stp_files=["./fuel_pins.step"]
+a.stp_files=[filepath]
a.import_stp_files()
a.merge_all()
a.solids_to_h5m(backend="stl")