Plot OpenMC geometry, interactive or static 2D slice plots.
Project description
Create axis slice plots of OpenMC geomtry:
- Interactive plots with hovertext :speech_balloon:
- Specify the zoom :mag:
- Color by materials or cells :art:
- Outline by materials or cells :pencil2:
- Interactive plotting with 📈 Plotly
This package is deployed on xsplot.com as part of the openmc_plot suite of plotting apps
Local install
You will need to first install OpenMC (0.15.3 or newer).
There are several methods but perhaps the quickest is to use this Pip extra index as it includes a recent version of OpenMC 0.15.3-dev. A recently added feature (map ID) is used by the package so a recent version of OpenMC is needed.
python -m pip install --extra-index-url https://shimwell.github.io/wheels openmc
Then you can install openmc_geometry_plot with pip
pip install openmc_geometry_plot
Usage
After installing run the openmc_geometry_plot command from the terminal and the GUI should launch in a new browser window.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openmc_geometry_plot-0.5.3.tar.gz.
File metadata
- Download URL: openmc_geometry_plot-0.5.3.tar.gz
- Upload date:
- Size: 743.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1084c810458dd018e376798c195e9e11a40dd3a46e3d5c75bf61c04b7d4e3021
|
|
| MD5 |
f5e1a3d73d5456cc95ad4be68d653010
|
|
| BLAKE2b-256 |
6fd38f11acf2756beec8a5b271bfb3518bb306b5b72b629630a82ae217c2782a
|
File details
Details for the file openmc_geometry_plot-0.5.3-py3-none-any.whl.
File metadata
- Download URL: openmc_geometry_plot-0.5.3-py3-none-any.whl
- Upload date:
- Size: 167.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53c4f6147c442742f48f7d264bbb379d742f3f703efdb4dc997239ad009c08d2
|
|
| MD5 |
2463e8946a4f0763cff64fd1d2fefa7c
|
|
| BLAKE2b-256 |
6279fe52f75deaf737937509d258563e55a61db6384725841c4b35a70acb042f
|