OpenVDB stands for Open Voxel Database. It is a framework for working with 3D, volumetric data (3D pixels aka voxels). This project currently supports python 3.7 and 3.8. This repo creates a docker container, which is used to build and package pyopenvdb. pyopenvdb.dockerfile is for development. prod_pyopenvdb.dockerfile is for testing installation of pyopenvdb pip package.
- pip install pyopenvdb
- Find parent directory of pyopenvdb.so with
find / | grep -P 'pyopenvdb\.so' export LD_LIBRARY_PATH=[parent directory]- Add
import numpyandimport openvdbto ipykernel_launcher.py to get jupyter lab to import without a pointer error.
Unless you intend on building and packing OpenVDB python bindings, you do not need to follow these instructions.
- Install docker
- Install docker-machine (if running on macOS or Windows)
- Ensure docker-machine has at least 4 GB of memory allocated to it.
git clone git@github.com:theNewFlesh/pyopenvdb.gitcd pyopenvdbchmod +x bin/pyopenvdbbin/pyopenvdb start
The service should take several minutes to start up.
Run bin/pyopenvdb --help for more help on the command line tool.
>>>python3.7
>>>import openvdb
