Skip to main content

Compute the signed distance field from an input mesh

Project description

Mesh2SDF

Converts an input mesh to a signed distance field. It can work with arbitrary meshes, even non-watertight meshes from ShapeNet.

Installation

  • Install via the following command:

    pip install mesh2sdf
    
  • Alternatively, install from source via the following commands.

    git clone https://github.com/wang-ps/mesh2sdf.git
    pip install ./mesh2sdf
    

Example

After installing mesh2sdf, run the following command to process an input mesh from ShapeNet:

python example/test.py

Example of a mesh from ShapeNet

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

mesh2sdf-1.0.0.tar.gz (17.7 kB view hashes)

Uploaded Source

Built Distribution

mesh2sdf-1.0.0-cp38-cp38-win_amd64.whl (61.8 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

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