Hi, I’d like to inquire about converting geometry.xml into a 2D or 3D plot. Could you please provide guidance on how to accomplish this?
The geometry class has a from_xml
method than can load up and xml file. Once loaded into a openmc.Geometry
object then this object will have a plot
method
openmc.Geometry.from_xml
https://docs.openmc.org/en/latest/pythonapi/generated/openmc.Geometry.html#openmc.Geometry.plot
openmc.Geometry.plot
https://docs.openmc.org/en/latest/pythonapi/generated/openmc.Geometry.html#openmc.Geometry.from_xml
There is also a html based GUI app that loads up a provided XML file.
Also there is a Pyside base GUI app that loads up the XML in the path where the program is launched
openmc-dev/plotter: Native plotting GUI for model design and verification (github.com)