Skip to content

Commit

Permalink
Merge pull request #44 from fusion-energy/develop
Browse files Browse the repository at this point in the history
improved url links
  • Loading branch information
shimwell authored Feb 22, 2023
2 parents 8ee3f5f + 7bbd877 commit 05fd085
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies = [
"streamlit",
"openmc_source_plotter>=0.6.2",
"dagmc_geometry_slice_plotter>=0.3.0",
"openmc_geometry_plot>=0.3.2",
"openmc_geometry_plot>=0.3.3",
]
dynamic = ["version"]

Expand Down
9 changes: 9 additions & 0 deletions src/openmc_plot/geometry_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,20 @@ def create_geometry_tab():
file_label_col1.write(
"""
👉 Create your ```openmc.Geometry()``` and export the geometry xml file using ```export_to_xml()```.
Not got a geometry.xml file handy, right mouse 🖱️ click and save these links
[ example 1 ](https://fusion-energy.github.io/openmc_geometry_plot/examples/csg_tokamak/geometry.xml),
[ example 2 ](https://fusion-energy.github.io/openmc_geometry_plot/examples/csg_cylinder_box/geometry.xml)
"""
)
file_label_col2.write(
"""
👉 Create your DAGMC h5m file using tools like [CAD-to-h5m](https://github.com/fusion-energy/cad_to_dagmc), [STL-to_h5m](https://github.com/fusion-energy/stl_to_h5m) [vertices-to-h5m](https://github.com/fusion-energy/vertices_to_h5m), [Brep-to-h5m](https://github.com/fusion-energy/brep_to_h5m) or the [Cubit](https://coreform.com/products/coreform-cubit/) [Plugin](https://github.com/svalinn/Cubit-plugin)
Not got a DAGMC h5m file handy, right mouse 🖱️ click and save these links
[ example 1 ](https://fusion-energy.github.io/openmc_geometry_plot/examples/dagmc_tokamak/dagmc_180_tokamak.h5m)
"""
)
file_col1, file_col2 = st.columns([1, 1])
Expand Down

0 comments on commit 05fd085

Please sign in to comment.