diff --git a/.github/workflows/documentation_update.yml b/.github/workflows/documentation_update.yml index 0de8a67f..97d3e0f5 100644 --- a/.github/workflows/documentation_update.yml +++ b/.github/workflows/documentation_update.yml @@ -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 diff --git a/examples/spherical_tokamak_from_plasma_with_tf_magnets.py b/examples/spherical_tokamak_from_plasma_with_tf_magnets.py index edfa10ee..47a8c7e6 100644 --- a/examples/spherical_tokamak_from_plasma_with_tf_magnets.py +++ b/examples/spherical_tokamak_from_plasma_with_tf_magnets.py @@ -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