Skip to main content

Unique vertices finder

Project description

uff

Uff, once upon a time, I've created a mesh with a lot of duplicating vertices and needed to Find unique vertices Fast.

Install guide

c++ (minimal):

git clone git@github.com:tataratat/uff.git
cd uff
mkdir build
cd build
cmake -DBUILD_EXAMPLES=OFF -DBUILD_FORTRAN_MODULE=OFF -DCMAKE_BUILD_PREFIX=<path-to-install-dir> ..
(make)
make install

This makes function uff available from fortran side. For example:

call uff(...)

However, if you prefer to have a separate fortran module, set -DBUILD_FORTRAN_MODULE=ON. This allows:

use uff, only ufffortran

call ufffortran(...)

python:

option1: pip

pip install uffpy

It works the best with gcc and clang. To make sure, you can set:

export CC=gcc # or clang

The newest version should always be available with:

pip install git+https://github.com/tataratat/uff.git@dev

option2: DIY

git clone git@github.com:tataratat/uff.git
cd uff
pip install -r requirements.txt
python3 setup.py install   # or `pip install .`

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uffpy-0.0.0.tar.gz (5.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page