vtkplotlib icon indicating copy to clipboard operation
vtkplotlib copied to clipboard

How to add stl display to tkinter?

Open Menginventor opened this issue 4 years ago • 1 comments

Are there any method to add stl display to tkinter window?

Menginventor avatar Feb 13 '21 17:02 Menginventor

I'm afraid not. VTK does have a small corner for tkinter integration in their source code however is is disabled in the VTK wheels on PyPI so if you desperately wanted this functionality you would have to compile VTK from source (which is insanely hard work) but with custom build flags. There's an example of VTK tkinter code here but it won't work because VTK no longer contains the necessary components. Presumably it did in an older version but I can't find anything before VTK 8.1 which is too recent. I'd happily support tkinter if it weren't for this.

bwoodsend avatar Feb 13 '21 20:02 bwoodsend