summarylogtreecommitdiffstats
path: root/step_to_h5m.py
blob: 2297a298e7e512ed7544d9dc777199ccad28e0d7 (plain)
1
2
3
4
5
6
7
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=[filepath]
a.import_stp_files()
a.merge_all()
a.solids_to_h5m(backend="stl")