Skip to content

OWEN v0.3.4 — Render with OpenMC (authoritative)

Choose a tag to compare

@caalh caalh released this 02 Jul 03:24

Render with OpenMC (authoritative)

New command OWEN: Render with OpenMC (authoritative) — runs your OpenMC Python model through your locally installed OpenMC and shows its native slice plots inside the editor. Ground truth straight from OpenMC's geometry kernel: ideal for verifying OWEN's built-in 3D preview or debugging geometry.

  • Basis (xy/xz/yz), origin, width, material/cell coloring — each change re-runs OpenMC (spinner shown; not real-time)
  • Optional 3D ray trace when the installed OpenMC supports it (>= 0.15)
  • Automatic interpreter discovery: explicit owen.openmc.pythonExecutable -> ms-python active interpreter -> python/python3 on PATH -> WSL (conda-aware, wslpath translation)
  • Safe deck execution: openmc.run() / model.run() are no-op'd during the render pass, so decks that end in a transport run render instantly without starting one
  • Graceful fallback: if OpenMC isn't detected anywhere, OWEN says so and opens its built-in 3D Geometry Preview instead

Fixed

  • The VSIX now ships h5wasm, so the Results Viewer statepoint.h5 parser works in installed builds (0.3.3 silently fell back to stdout parsing).

Notes

  • 157 unit tests green; verified end-to-end on Windows with OpenMC 0.15.3 under WSL.
  • OWEN integrates with OpenMC (MIT License, (c) OpenMC contributors). OpenMC is not bundled.

Install: code --install-extension owen-neutronics-0.3.4.vsix (or Cursor: cursor --install-extension ...)