Skip to main content

Prototype Qt/VTK renderer for pyvcad models.

Project description

pyvcad-rendering

Prototype Python bindings that bring OpenVCAD (pyvcad) geometry to a Qt/VTK viewport. The library is currently pre-alpha and ships with placeholder implementations that outline how the viewer will be structured.

Installation

pip install pyvcad-rendering

Note The dependency graph pulls in pyvcad, vtk, and PySide6. These packages can be heavy and may require system-level prerequisites. Please review the upstream projects for platform specific notes.

Quickstart

from pyvcad_rendering import Render

# Obtain or construct a pyvcad model somewhere in your application
vcad_shape = build_my_vcad_shape()

renderer = Render()
context = renderer(vcad_shape)

# The current scaffold raises NotImplementedError because the VTK scene hookup
# is pending. Once implemented, a Qt window will appear and stay responsive for
# as long as the application event loop runs.
context.app.exec()

Project Layout

rendering_v2/
├── pyproject.toml
├── README.md
└── src/
    └── pyvcad_rendering/
        ├── __init__.py
        └── render.py

Upcoming work will flesh out dedicated modules for scene translation, Qt/VTK widgets, and convenience components for embedding the viewer inside existing OpenVCAD tools.

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

pyvcad_rendering-1.0.0.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

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

pyvcad_rendering-1.0.0-py3-none-any.whl (45.2 kB view details)

Uploaded Python 3

File details

Details for the file pyvcad_rendering-1.0.0.tar.gz.

File metadata

  • Download URL: pyvcad_rendering-1.0.0.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for pyvcad_rendering-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e50e0d00179a07102cc7d91a9276e237f2bfb9790b6930c1be4a06ad1043fc5a
MD5 6ee54542715c780b405b583364e5d079
BLAKE2b-256 a62436ec44ae265bc153183c632b28dbd41d149099a6e59887e71ad0f6e7e004

See more details on using hashes here.

File details

Details for the file pyvcad_rendering-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyvcad_rendering-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 729f67280cb56e766afe543d0aa925d3ca0f8edb46733ebc5df30e313bc758c6
MD5 72377c4e0f7a3507262a404e699a4f73
BLAKE2b-256 911285c5c3c46ba692eeb7aae19afeb0dbf133b28ef04b633ba82def971ac987

See more details on using hashes here.

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