pyopenvdb-3.8

Python bindings for Open Voxel Database for python 3.8


Keywords
OpenVDB, pyopenvdb
License
MulanPSL-2.0
Install
pip install pyopenvdb-3.8==0.1.5

Documentation

docker_pyopenvdb

OpenVDB for python 3.7 Creates a docker container, which is used to build and package pyopenvdb.

Installation

Currently only for linux systems with x86_64 architecture

  1. pip install pyopenvdb
  2. Find parent directory of pyopenvdb.so with find / | grep -P 'pyopenvdb\.so'
  3. export LD_LIBRARY_PATH=[parent directory]
  4. Add import numpy and import openvdb to ipykernel_launcher.py to get jupyter lab to import without a pointer error.

Installation

  1. Install docker
  2. Install docker-machine (if running on macOS or Windows)
  3. Ensure docker-machine has at least 4 GB of memory allocated to it.
  4. cd docker_pyopenvdb
  5. chmod +x bin/pyopenvdb
  6. bin/pyopenvdb start

The service should take several minutes to start up.

Run bin/pyopenvdb --help for more help on the command line tool.

Usage

>>>python3.7

>>>import openvdb