MCIO
MCIO is a Python package for building Monte Carlo radiation transport models. It lets you:
Build CSG models in Python: define surfaces, cells, materials, sources and tallies once, then write them to both MCNP and OpenMC input formats.
Convert CAD to CSG: decompose STEP (AP242) CAD models into CSG cells, with materials assigned by colour or label, using multiple cores.
Convert CSG to CAD: turn CSG volumes back into OCP solids and STEP files for inspection.
Debug models: extract lost particles from MCNP output into a STEP file, to load into your CAD software.
Warning
MCIO uses cm for length and MeV for energy, and requires STEP files to use the AP242 schema.
Start with Installation, then follow the User guide. The source code is on GitHub.
Contents