Python is one of the most popular and widely used programming language in scientific researches, machine learning, data analysis and advanced testing.
Distribution | Python version |
---|---|
Windows x64 | 3.10 |
Ubuntu 20 x64 | 3.8 |
Ubuntu 22 x64 | 3.10 |
Fedora 35 x64 | 3.11 |
pip install meshlib | 3.8 - 3.12 |
MeshLib library allows you to call python scripts directly from the command line or use particular functions by from meshlib import mrmeshpy
.
Usage
On Windows: path to the directory that contains MeshLib python modules (mrmeshpy.pyd, mrmeshnumpy.pyd ...) should be added to python before importing the modules
MeshLib provides several usage options
Exposing
You can expose your c++ functions and classes to python
Functions MeshLib/python_scripts
folder contain scripts which could be used as examples for developers or testers. Python library allows to list all mrmeshpy.*
functions with standart print(dir(mrmeshpy))
call. You can list all available python functuins by running python MeshLib/python_scripts/functions_list.py