Python wrapper for the meshtools3d C++ binaries. Lets Python users:
- Author meshtools3d parameter files programmatically.
- Fetch versioned binaries automatically from the meshtools3d GitHub Releases.
- Run
meshtools3dandlaplace_solverwith structured output handling.
Built on top of pycemrg
(CommandRunner, ModelManager).
Status: v0.1 in development. API may shift before the first tagged release.
pip install pycemrg-meshingfrom pycemrg_meshing import MeshingParameters, MeshtoolsRunner
params = MeshingParameters()
params.set("meshing", "facet_size", 0.5)
params.set("output", "outdir", "/data/case01/mesh")
params.save("heart.par")
runner = MeshtoolsRunner() # binary fetched via ModelManager
runner.run("heart.par")pycemrg-meshing init-par [-o PATH]
pycemrg-meshing run PARFILE [--binary PATH] [--cwd D]
pycemrg-meshing laplace PARFILE [--binary PATH] [--cwd D]
MIT.