Triangular cell

I want to plot a triangular cell. Can someone please tell me how can I make a triangular cell in openmc? It seems like openmc doesn’t have any library function for this. Thank you

I would be tempted to create surfaces with the openmc.plane and then a region below the surfaces however the polygon method might also be useful

https://docs.openmc.org/en/stable/pythonapi/generated/openmc.Plane.html?highlight=plane#openmc.Plane

https://docs.openmc.org/en/stable/pythonapi/generated/openmc.model.Polygon.html

Here’s a quick example I put together showing how you could use Plane.from_points to do this fairly easily: