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.1.tar.gz (31.3 MB view details)

Uploaded Source

Built Distribution

python_pycg-0.9.1-py3-none-any.whl (31.4 MB view details)

Uploaded Python 3

File details

Details for the file python_pycg-0.9.1.tar.gz.

File metadata

  • Download URL: python_pycg-0.9.1.tar.gz
  • Upload date:
  • Size: 31.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for python_pycg-0.9.1.tar.gz
Algorithm Hash digest
SHA256 9c878957fe779260d9a9b6108856d6c5173fe52730257cc893148b3119c93ba3
MD5 d4e38842be82c987eedeff000ba2180e
BLAKE2b-256 05d1df76d4c3795bf405ed497233da3545c636aa195f6e66153c3c8573290935

See more details on using hashes here.

File details

Details for the file python_pycg-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: python_pycg-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 31.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for python_pycg-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d436307df13444de03a9d1e2709737cc6de2622e15a8963966670ec3f9057e9c
MD5 8355a18cf240d575895914208fb75397
BLAKE2b-256 517622e951f5f6cf413fe9e1bf39430dee60d14a01949648aca29f268a659c06

See more details on using hashes here.

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