Skip to main content

Reusable 3D viewer infrastructure for ComfyUI nodes

Project description

comfy-3d-viewers

Reusable 3D viewer infrastructure for ComfyUI nodes.

Provides VTK.js and Gaussian splatting viewers, shared utilities, and HTML templates for 3D mesh visualization in ComfyUI.

Installation

pip install -e .

Usage

This package is used by ComfyUI-GeometryPack. The prestartup_script.py copies the viewer files to the extension's web directory at runtime.

from comfy_3d_viewers import get_js_dir, get_html_dir, get_utils_dir

# Get paths to viewer files
js_dir = get_js_dir()      # JS bundles and viewer source
html_dir = get_html_dir()  # HTML viewer templates
utils_dir = get_utils_dir() # Shared JS utilities

Contents

  • JS Bundles: VTK.js, Gaussian splatting, modular viewer bundle
  • Viewer Modules: Modular viewer architecture (core, loaders, viewers, ui, features, utils)
  • Shared Utilities: Extension folder detection, screenshot handling, UI components, formatting, analysis panels, postMessage helpers
  • HTML Templates: Viewer pages for VTK, textured, dual, gaussian, UV, etc.

Building

To rebuild the VTK.js bundle:

cd build_vtk_bundle
npm install
npm run build

License

GPL-3.0-or-later

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

comfy_3d_viewers-0.2.28.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comfy_3d_viewers-0.2.28-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file comfy_3d_viewers-0.2.28.tar.gz.

File metadata

  • Download URL: comfy_3d_viewers-0.2.28.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for comfy_3d_viewers-0.2.28.tar.gz
Algorithm Hash digest
SHA256 109b14995127706866e2aec9c51efd5ea8d7142b6c74ac2e502bb55f8bbbe239
MD5 efd24f0fc0e8d762308a4af5ca833e96
BLAKE2b-256 bcfa2d139193807c8782719339666b81b7c342c0b20be119e10c7ba8e0c1c0be

See more details on using hashes here.

Provenance

The following attestation bundles were made for comfy_3d_viewers-0.2.28.tar.gz:

Publisher: publish.yml on PozzettiAndrea/comfy-3d-viewers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file comfy_3d_viewers-0.2.28-py3-none-any.whl.

File metadata

File hashes

Hashes for comfy_3d_viewers-0.2.28-py3-none-any.whl
Algorithm Hash digest
SHA256 79b459bc124823982f3b44f6496c034ffafa7a2799b17033a0898ee1d11cb517
MD5 2a262733424101d51fdfed681f5e70d7
BLAKE2b-256 9bf415bcfd19f4b40224a3588f400af9fc42f60ce1512c5d1d829beba8ab6161

See more details on using hashes here.

Provenance

The following attestation bundles were made for comfy_3d_viewers-0.2.28-py3-none-any.whl:

Publisher: publish.yml on PozzettiAndrea/comfy-3d-viewers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page