Skip to content

Commit

Permalink
not importing uninstalled package
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-proximafusion committed Sep 26, 2024
1 parent d2b4332 commit e02cde0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build
publish_dir: _build/docs
# with next rlease of actions-gh-pages
# issue to allow force_orphan will be fixed
# https://github.com/peaceiris/actions-gh-pages/issues/455
Expand Down
15 changes: 9 additions & 6 deletions examples/spherical_tokamak_from_plasma_with_tf_magnets.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,16 @@

result.save(f"spherical_tokamak_minimal.step")


# visualization options
#
# pip install jupyter_cadquery
# needed to downgrade pip with ... python -m pip install pip==24.0
from jupyter_cadquery import show

view = show(result)
view.export_html("3d.html")

# from jupyter_cadquery import show
# view = show(result)
# view.export_html("3d.html")
#
# from cadquery.vis import show
# show(result)

my_model = CadToDagmc()
material_tags = ["mat1"] * 7
Expand Down

0 comments on commit e02cde0

Please sign in to comment.