Skip to content

Adding support for plotting meshes with translations applied. - #62

Merged
paulromano merged 2 commits into
openmc-dev:developfrom
pshriwise:mesh_translation
Jun 24, 2021
Merged

paulromano merged 2 commits into
openmc-dev:developfrom
pshriwise:mesh_translation

Conversation

@pshriwise

Copy link
Copy Markdown
Collaborator

This checks for a translation applied to the mesh filter and adjusts the extents of the mesh accordingly if one is present so that the mesh tally will appear in the correct location in the displayed image.

@paulromano paulromano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go once errant print statement is removed. Thanks @pshriwise!

Comment thread openmc_plotter/plotmodel.py Outdated
@paulromano
paulromano merged commit bf03181 into openmc-dev:develop Jun 24, 2021
@pshriwise
pshriwise deleted the mesh_translation branch June 25, 2021 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants