PyQGLViewer
PyQGLViewer is a set of Python bindings for the libQGLViewer C++ library which extends the Qt framework with widgets and tools that eases the creation of OpenGL 3D viewers.
Install / Use
/learn @fredboudon/PyQGLViewerREADME
PyQGLViewer
Presentation
PyQGLViewer is a set of Python bindings for the libQGLViewer C++ library which extends the Qt framework with widgets and tools that eases the creation of OpenGL 3D viewers.
License
PyQGLViewer is licensed under the GPL.
Install
A conda version compatible with PyQt5 and Python 3 is available in the channel fredboudon:
conda install pyqglviewer -c fredboudon -c conda-forge
Usage
A simple example of use of PyQGLViewer is
from PyQt5.QtGui import *
from PyQGLViewer import *
from qgllogo import draw_qgl_logo
class Viewer(QGLViewer):
def __init__(self,parent = None):
QGLViewer.__init__(self,parent)
def draw(self):
draw_qgl_logo()
def main():
qapp = QApplication([])
viewer = Viewer()
viewer.setWindowTitle("simpleViewer")
viewer.show()
qapp.exec_()
if __name__ == '__main__':
main()
Development
The sources are hosted on GitHub.
To create a conda environment with all dependencies:
conda env create -f environment.yml
To build and install the project:
sip-install
Issues
You can use the PyQGLViewer project issue tracking tool.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
