Dear FLUKA team, Volodymyr,
With great interest, I set out to convert a step file to a UMESH geometry. In my Ubuntu 24 LTS machine, I installed gmsh ( I tried from source and sudo apt install python3-gmsh
and I see some confusion there).
gmsh --version
4.13.1
dpkg --list | grep gmsh
ii gmsh 4.12.1+ds1-1.1build2 amd64 Three-dimensional finite element mesh generator
ii gmsh-doc 4.12.1+ds1-1.1build2 all Three-dimensional finite element mesh generator documentation
ii libgmsh4.12t64:amd64 4.12.1+ds1-1.1build2 amd64 Three-dimensional finite element mesh generator shared library
ii python3-gmsh 4.12.1+ds1-1.1build2 all Three-dimensional finite element mesh generator Python 3 wrapper
but I probably did not install everything that was needed for this.
python3 ~/geom_mesh_utils/FLUKA_mesh_fix.py Ring_QuaDipole_full.step
meshlib.mrmeshpy is not installed!
Please check Meshlib link in the README for installation instructions.
Traceback (most recent call last):
File "/home/sunil/geom_mesh_utils/FLUKA_mesh_fix.py", line 74, in <module>
def heal( mesh : mm.Mesh, voxelSize : float,dError : float = 0.25, decimate : bool = True)->mm.Mesh:
^^
NameError: name 'mm' is not defined
meshlib says I can install it by pip install meshlib
But I get (with and without sudo)
pip install meshlib
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
When I do so, I get;
sudo apt install python3-meshlib
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-meshlib
Clearly, I am not doing this correctly, and I was hoping to get a set of detailed instructions including for the necessary packages and dependencies to make this work.
Cheers,
Sunil