https://github.com/compas-dev/compas_libigl
COMPAS bindings for libigl.
https://github.com/compas-dev/compas_libigl
geometry interactive libigl library
Last synced: 5 months ago
JSON representation
COMPAS bindings for libigl.
- Host: GitHub
- URL: https://github.com/compas-dev/compas_libigl
- Owner: compas-dev
- License: mit
- Created: 2018-12-05T17:29:52.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-07-29T22:57:09.000Z (9 months ago)
- Last Synced: 2024-10-28T12:38:14.362Z (6 months ago)
- Topics: geometry, interactive, libigl, library
- Language: Python
- Homepage: http://compas.dev/compas_libigl/
- Size: 56.1 MB
- Stars: 4
- Watchers: 5
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# compas_libigl
COMPAS-compatible bindings for top-level algorithms of libigl generated with Pybind.
Many of the functions provided by `compas_libigl` are based on the examples in the libigl tutorial.## Installation
### Stable
The stable version of `compas_libigl` can now be installed from conda-forge.
```bash
conda create -n igl compas_libigl
```### Dev install
A dev version of `compas_libigl` can be installed using a combination of conda and pip.
```bash
conda create -n igl-dev python=3.9 git cmake">=3.14" boost eigen=3.3 pybind11 --yes
conda activate igl
git clone --recursive https://github.com/BlockResearchGroup/compas_libigl.git
cd compas_libigl
rm -rf build
pip install -e .
```## Libigl functions
Currently the following functionalities of Libigl are included in the wrapper
* Geodesic distance calculation
* Scalarfield isolines
* Quad mesh planarization
* Mass matrix of triangle meshes
* Discrete gaussian curvature
* Ray/mesh intersection
* Boundary loops
* Harmonic parametrisation
* Least-squares conformal maps## Examples
The use of the wrapped functions is illustrated with scripts in the `examples` folder.
Note that the functionality of the package is not directly available in Rhino, but can be used through `compas.rpc`.## License
Libigl (and therefore also `compas_libigl`) is licensed under MPL-2.