[Iso2Mesh News] pyiso2mesh - iso2mesh for Python - is publicly available

5 views
Skip to first unread message

Qianqian Fang

unread,
Jul 11, 2025, 10:37:41 PMJul 11
to iso2mes...@googlegroups.com, iso2me...@listserv.neu.edu, iso2me...@googlegroups.com

(You received this message because you are a registered user of Iso2Mesh (http://iso2mesh.sf.net) - a versatile and portable 3-D mesh generator - and had indicated that you wanted to be notified for future updates in your registration form. If you are no longer interested in this software, please feel free to click on the unsubscribe link at the bottom of this email. In that case, we apologize for the inconvenience.)


Dear iso2mesh registered users,


Over the past few years, we have seen increasing interests in using iso2mesh in Python. 

Today, I am excited to announce the Python version of iso2mesh - pyiso2mesh - is now available on PyPi, see announcement at

https://www.linkedin.com/posts/fangq_pyiso2mesh-python-iso2mesh-activity-7340231281751851008-IGP1/


To install, simply run 

pip install iso2mesh


or to install the latest github version

python3 -m pip install git+https://github.com/NeuroJSON/pyiso2mesh.git


or download/register for platform-independent local installer(.whl) at

https://github.com/NeuroJSON/pyiso2mesh/releases/tag/v0.3.8


For more detailed information, please check out the PyPi page at

https://pypi.org/project/iso2mesh/


As you can see, pyiso2mesh intentionally follows the simplicity, lightweightness (only 88 kB) and portability as the MATLAB/Octave version of iso2mesh. The python functions are nearly identical to those in matlab, including the input/output and meshing options (except in python syntax).

To show you how much this toolbox can already do in Python, please check out this Jupyter Notebook based tutorial

https://github.com/NeuroJSON/pyiso2mesh/blob/main/tutorials/iso2mesh_for_python_get_started.ipynb


you can even directly run this tutorial in your browser using Google Colab, please see the link in the below post

https://www.linkedin.com/feed/update/urn:li:activity:7343737752011595776/


The latest source code can be found on Github with automated unit-testing and CI/CD:

https://github.com/NeuroJSON/pyiso2mesh/


I want to mention that not all io2mesh functions have been converted to Python - but the core functions have been ported and tested, including v2s/v2m/s2m/s2v/sms/surfboolean/meshresample/meshcheckrepair/meshrefine/plotmesh etc. , see function port status at

https://github.com/NeuroJSON/pyiso2mesh/blob/main/README.md#iso2mesh-function-port-status

if you are experienced in Python/numpy, feel free to help me add more unit tests or polish/port the remaining functions. thank you in advance!


Happy meshing!


Qianqian


PS: The development of pyiso2mesh is supported by the US National Institute of Health (NIH) grants U24-NS124027 and R01-CA204443

pyiso2mesh_tutorial.png
iso2mesh_plots.jpeg
Reply all
Reply to author
Forward
0 new messages