Skip to main content

[![CircleCI](https://circleci.com/gh/qnzhou/PyMesh/tree/master.svg?style=svg)](https://circleci.com/gh/qnzhou/PyMesh/tree/master)

### About PyMesh ###

PyMesh is a code base developed by Qingnan Zhou for his PhD research at New York University. It is a rapid prototyping platform focused on geometry processing. PyMesh is written using both C++ and python, where computational intensive functionalities are realized in C++, and Python is used for create minimalistic and easy to use interfaces.

### Documentation ###

[Latest documentation](http://pymesh.readthedocs.org/en/latest/)

### Download Source ###

To retrieve the code:

git clone https://github.com/qnzhou/PyMesh.git git submodule update –init

Be sure to save the root directory of PyMesh in the environment variable PYMESH_PATH:

export PYMESH_PATH=/path/to/PyMesh/

Unit tests relies on this environment variable to load relevant libraries.

### Dependencies ###

PyMesh depends on the following tools/libraries:

Optional library:

Libraries marked with * are included in $PYMESH_PATH/third_party directory.

### Environment Variables ###

If any of the dependent library is not installed in standard locations (/usr/local/, /opt/local), one needs to set environment variables that point to the correct directories. PyMesh check the following environment variables:

  • EIGEN_INC: directory containing the Eigen library.

  • GOOGLEHASH_INCLUDES: directory containing sparse hash.

  • CGAL_PATH: path to CGAL library

  • BOOST_INC: directory containing boost.

  • LIBIGL_PATH: path to libigl.

  • CORK_PATH: path to cork.

  • TETGEN_PATH: path to tetgen

  • TRIANGLE_PATH: path to triangle

  • QHULL_PATH: path to qhull

  • CLIPPER_PATH: path to clipper

  • CARVE_PATH: path to carve

  • GEOGRAM_PATH: path to GeoGram

  • QUARTET_PATH: path to quartet

### Build ###

The first step is to compile the optional third party dependencies:

cd $PYMESH_PATH/third_party mkdir build cd build cmake .. make make install

Third party dependencies will be installed in $PYMESH_PATH/python/pymesh/third_party directory.

Now we can build the main project. It is recommended to build out of source:

cd $PYMESH_PATH mkdir build cd build cmake ..

To only build the C++ libraries without the swig python modules, change the last command to

cmake -DWITHOUT_SWIG=ON ..

To build the main PyMesh library:

make make src_tests

To build all available tools:

make tools make tools_tests

Make sure all unit tests are passed before using the library.

### Install ###

The output of building PyMesh consists a set of C++ libraries and a python module. Installing the C++ library is currently not available. However, installing the python package can be done:

./setup.py build # This an alternative way of calling cmake/make ./setup.py install

To check PyMesh is installed correctly, run the following python unit tests:

python -c "import pymesh; pymesh.test()"

Once again, make sure all unit tests are passed, and report any unit test failures.

Release files for pymesh2 0.1.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymesh2 0.1.14
File Size Uploaded
pymesh2-0.1.14.tar.gz 25.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pymesh2 0.1.14
File Interpreter ABI Platform
pymesh2-0.1.14-cp35-cp35m-macosx_10_11_x86_64.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.11+ x86-64 Details

Total release size:37.0 MB

Release files / pymesh2-0.1.14.tar.gz

Download URL pymesh2-0.1.14.tar.gz
Size 25.4 MB
Tags Source
SHA-256 checksum
How to use checksums
d1bd2876ce09ff8e59c80094f91cd283ce9b635086c26f35f08899c40ae626fc
BLAKE2b-256 checksum
How to use checksums
dd8b2a34ffcf3a549601fb85621c3235e16c0ee666404bf090afd0dafa08374e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pymesh2-0.1.14-cp35-cp35m-macosx_10_11_x86_64.whl

Download URL pymesh2-0.1.14-cp35-cp35m-macosx_10_11_x86_64.whl
Size 11.7 MB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.11+ x86-64
SHA-256 checksum
How to use checksums
437f8ec6446fd7fb89bbc9efe8de889b76ed4d0704b90e361b29e21fe6dcfe39
BLAKE2b-256 checksum
How to use checksums
2aa97a230c56bab4626cb03577138f0dca87c504e53be3779bcbc2f30684cdfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.14 This release

2 release files

0.1.13

1 release file

0.1.12

1 release file

0.1.11

1 release file

0.1.10

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page