Skip to main content

PyCG: Toolbox for CG-related visualizations and computations

Project description

PyCG: Toolbox for CG-related visualizations and computations

Publish to PyPI.org Documentation Status

PyCG is there for people to accelerate their 3D visualizations and computations, aiming at implementing complicated functions with as few lines as possible. The toolbox is created from the perspective of researchers and would hopefully accelerate your daily pipeline.

Install

pip install -U python-pycg

DONT READ MORE!!!!!! DONT READ MORE!!!! STOP NOW!!!!

HAHA. Actually I really want you to read this -- to install a full-fledged version, use:

pip install -U python-pycg[all] -f https://pycg.huangjh.tech/packages/index.html

Note that the need for the extra index URL if for our customized version of Open3D, named open3d_pycg_cpu (with support for multi-window camera/light synchronization, animation maker and visualizer, scalar analyzer, etc).

For developers, clone this repository and install it if you want to use newest features:

git clone --recursive https://github.com/heiwang1997/pycg
pip install open3d_pycg_cpu -f https://pycg.huangjh.tech/packages/index.html
pip install -e .[all]      # Most modern, but some static analyzing tool (e.g. pylance) will fail!
                            #   Now it will create weird __editable__.*.pth files!
python setup.py develop     # Deprecated by the community, but it works better.

Using PyCG

PyCG contains many submodules which could be easily imported via from pycg import xxx. These different modules span a wide range of functionalities from visualizing 3D assets to creating nice html tables for comparing results. Please refer to the individual documentation of each submodule to get started.

  • 3D Visualization pycg.vis
  • Render 3D Scenes pycg.render
  • Handling 3D Transformations pycg.isometry
  • Compress Videos pycg.video
  • Compress PDF Files pycg.pdf
  • Experiment Utilities pycg.exp
  • Manipulating Images pycg.image
  • ... and so on to be added!

Gallery

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

python_pycg-0.9.0.tar.gz (31.3 MB view hashes)

Uploaded Source

Built Distribution

python_pycg-0.9.0-py3-none-any.whl (31.4 MB view hashes)

Uploaded Python 3

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