简体   繁体   English

Python GUI 界面和 3D Canvas - 选择哪一个?

[英]Python GUI interface and 3D Canvas - which one to choose?

I'd like to write a Python GUI interface that is somehow linked to a 3D canvas (either in the same or a separate window) and allows the user to insert (by pressing LMB) and edit spheres (eg by clicking RMB on the desired one and picking a relevant option from the side menu).我想写一个 Python GUI 界面,它以某种方式链接到 3D canvas (在同一个或单独的窗口中)并允许用户插入(通过点击 LMB 窗口)并允许用户插入(例如通过点击 LMB 窗口)一个并从侧面菜单中选择一个相关选项)。 Moreover, I would like it also to keep the position of each sphere so I can keep xyz coordinates.此外,我还希望它保留每个球体的 position 以便我可以保留 xyz 坐标。

Nonetheless, the issue is that I'm not sure which frameworks to use.尽管如此,问题是我不确定要使用哪些框架。 So far, I've been using tkinter , but I've read that it doesn't function with 3D, On the other hand, vpython appears to be rather interesting, but I haven't found any examples of it working with any of the GUI frameworks.到目前为止,我一直在使用tkinter ,但我已经读到它不是 function 和 3D,另一方面, vpython似乎与我发现的任何示例都不太有趣, GUI 框架。

What should I do?我应该怎么办? Thank you for your help.谢谢您的帮助。

i recommend 2 libraries: pyglet ( packtpub create insane 3d gui ) and QtOpenGL ( code in action mastering gui programming python course )我推荐 2 个库:pyglet( packtpub create insane 3d gui )和 QtOpenGL(代码在行动中掌握 gui 编程 python 课程

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 哪个python lib用于绘制3D粒子 - Which python lib for plotting 3D particles 使用python / Matplotlib在GUI中进行3D绘图还是在C#/ illnumerics中进行3D绘图? - 3D plotting in GUI using python/Matplotlib or 3D plotting in C#/illnumerics? 3D网格编辑器GUI - 3D Mesh Editor GUI 如何使用python创建一个在Linux下具有很酷动画效果的GUI应用程序(如Cooliris中的3D墙,compiz效果等......) - How to use python to create a GUI application which have cool animation/effects under Linux (like 3D wall in Cooliris, compiz effects etc…) 将2D数组复制到3D数组--Python / NumPy - Copy 2D array to a 3D one - Python / NumPy python 中的一个 3D 图中的多个二维等高线图 - Multiple 2D contour plots in one 3D figure in python Python - 将多个二维 arrays 加入一个 3D 数组 - Python - Joining multiple 2D arrays into one 3D array 我在 CodeSculptor3 上制作的这个 3d 相机的旋转有什么问题,这是一个基于浏览器的 Python 解释器,带有 GUI? - What is wrong with the rotation of this 3d camera I made on CodeSculptor3, a browser-based Python interpreter with a GUI? 如果我只需要为 python 选择一个 html 抓取库,我应该选择哪个 - If i have to choose only one html scraping library for python, which should i choose 如何在没有 GUI 应用程序的情况下在 Python 中固化 3D STL 文件(例如:Blender、MeshLab 等) - How to solidify 3D STL file in Python without a GUI application (e.g: Blender, MeshLab, etc)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM