Installation#
Python Package Index (PyPI)#
MyMesh can be installed from the python package index (PyPI):
pip install mymesh[all]
Installing from source:#
Download/clone the repository from github, then run:
pip install -e <path>/mymesh[all]
with <path>
replaced with the file path to the mymesh root directory.
To install with only the required dependencies, the [all]
can be omitted.
Dependencies#
MyMesh depends on a small number of built-in or well established python packages. Additionally, there are several optional dependencies that are required only for specific functions or use-cases.
Core dependencies#
Optional dependencies#
Package |
Purpose |
Used in |
Install |
---|---|---|---|
Mesh file I/O |
|
||
Enhanced efficiency |
|
||
DICOM image file I/O |
|
||
Image file I/O |
|
||
Constrained Delaunay |
|
||
Mesh visualization |
|
||
Mesh visualization |
|
||
Mesh visualization |
|
||
Mesh visualization |
|
||
Mesh visualization |
|
MyMesh can be used without these optional dependencies and if a function requires them, an error will be raised instructing the user to install the needed dependency.