OpenMC Internal Geometry Plotter | Outlines

Hello,

in the OpenMC executable geometry plotter (openmc --plot)
is it not possible to display material/cell outlines in a .png slice plot?

The Python openmc-plotter can.
I’m talking about those thickish black outlines around cells/geometries etc.
I kinda like 'em

Cheers,
Perry

Hey @yrrepy. Yes, those thick black outlines are quite snazzy in the openmc-plotter. That was a feature that @pshriwise had added and it’s based on the Axes.contour method in matplotlib:

Unfortunately that’s not a feature in our regular plotting capability at present.

With a bit of tinkering you can get outlines on a variation of the Openmc executable plot.

@yrrepy this pull request which attempts to add outlines to the plot method in openmc might be of interest

1 Like

Awesome,
I’ll give it a spin