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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for python_pycg-0.9.2.tar.gz
Algorithm Hash digest
SHA256 4a561db943c2a95457f122ff8bc6caecf108da2948d392f8657e15cca329856f
MD5 c3ab5ee87048f3d517bcb46e75e612e1
BLAKE2b-256 31e8dd15a05a271480a02af6650dba8a658440bd52cc517d17b405a776b10323

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for python_pycg-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a6a158f4d9ed217895304b75939233521046d0839ba7e64438656f0d4ab88f9
MD5 adc2d79c4fc7428cc08a28fdb317391f
BLAKE2b-256 c94b6bf4f83bebb9bfa17bec64fe0384ff042524c071421a96ebff1803209835

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