Display a 3D mesh as a kivy widget? - python

Is there a way to display a generated 3D mesh (.ply file) as a kivy widget inside a window (and possibly control it)?

Related

Python Kivy how to add scale animation to grid layout

In my app I am easily able animate to move an image in kivy but not able to scale it in size using animate property. Can any one show an example how to do that. Please

python: set matplotlib as a component on qml window with buttons

after a long time searching i did not find any solution to set matplot with toolbar on qml window as a component
i've tried load matplotlib on an image component like this: Python: matplotlib plot inside QML layout
but i need the toolbar
thanks in advance

Zelle graphics: Access and Manipulate Display Buffer?

I am doing 2D graphics using graphics.py. I wonder if there is a way I can access the display buffer after all the 2D geometries are drawn and before they show up on display. I need to do a post process on the drawn image. For example, tasks I am planning include anti-aliasing for a smoother transition on the edge and applying a geometry warp map for a correct projection on a curved screen, etc. Can anyone tell me how to access the display buffer? If I have to go down to tkinter Canvas, will it work and how?

Showing Matplotlib graphs in a canvas tkinter python 2.7

i want to display a graph in a canvas. The GUI was written in tkinter using python 2.7.
self.plotting(x, pa, y)
savefig("Omegakillerisawesome.png")
im=PhotoImage(file="Omegakillerisawesome.png")
self.canvasForGraph.create_image(500, 350, anchor=CENTER, image=im)
#show()
os.remove('Omegakillerisawesome.png')
The plotting function was implemented by me. accepting x,y values. so i'm hoping to show the graph in a canvas. so i'm saving the graph in the directory and reloading the image to the canvas. The problem is the .png file is not appearing in the canvas.
but if i uncomment the show() function the image comes up in the canvas as well as the usual window that graphs are displayed. i don't want that. i only want the graph to show up in the canvas.
please help. i'm a newbie.
[edit]
depth=[1,2,3,4,5,6]
temp=[9,8,7,6,5,4]
plot(depth,temp)
show()
this shows me a frame with my graph in it. but i want to do is display the graph inside a canvas widget using tkinter. but i dont want the usual frame that comes with the latter code. i just want the graph plotted inside the canvas no more.
that is what i'm trying to achieve from the first piece of code.
thanks.

PyQt: How can I create a custom scroll area?

I am pretty new to GUI programming and to Qt itself, albeit having a lot of experience with HTML, CSS and JS (for UI design).
I am struggling to understand even the basics of designing custom data-display elements with Qt.
How can I create a scrollable area with custom rectangular data
displaying elements in it? I just want a scroll area with a
background image, and I want it to be populated with one or more
copies of the same data-viewing item which is to have 2 labels (like
twitter), a background image and some buttons.
I have been doing research for days now but could not find any examples.
Should I design a "widget" using Qt Designer? Then how do I load that
.ui as a widget and manipulate the labels on it?
For future reference a "very custom" way to do this would be as follows:
Create a QScrollArea.
Place a Widget inside it (QWidget for example)
Create a Layout for the QScrollArea's widget which will be the one scrolling.
Style QScrollArea and the Widget inside as desired.
Place custom widgets inside the layout.
Set autoscroll etc for the QScrollArea so it will resize and show elements as desired.

Categories

Resources