openmc-dev / plotter

Native plotting GUI for model design and verification
MIT License
48 stars 18 forks source link

Generate plots.xml file for view #83

Open pshriwise opened 2 years ago

pshriwise commented 2 years ago

It would be really useful to be able to generate a plots.xml file from the plotter so views can be reproduced with the openmc executable.

yrrepy commented 1 year ago

In the inverse, it would be useful to be able to use the plots.xml file in the plotter, to grab the material colors from plots.xml

But maybe this exists somehow? Like a mechanism that puts the info of plots.xml into a .pltvw?

pshriwise commented 1 year ago

Mmm that might be handy yeah. What I'd really like to do is add a color attribute to the Material and Cell classes. See https://github.com/openmc-dev/openmc/issues/2506 so they can me made part of the model and separated from the plot specifications entirely