Skip to content

Interactively start cutter tools #631

Answered by marcomusy
p-j-smith asked this question in Q&A
Discussion options

You must be logged in to vote

Hi - thanks, unfortunately I'm very naive about Qt in general, plus the cutterTool is a bit buggy under certain circumstances and would need a revision.. still the QtInteractor seems to intercept the Start() call that's why it disappears immediately, but you can activate manually the widget in this way:

import sys
# from PySide2 import QtWidgets, QtCore
from PyQt5 import Qt
from vtkmodules.qt.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor
from vedo import Plotter, Mesh, dataurl

class MainWindow(Qt.QMainWindow):

    def __init__(self, parent=None):

        Qt.QMainWindow.__init__(self, parent)
        self.frame = Qt.QFrame()
        self.layout = Qt.QVBoxLayout()
        s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@p-j-smith
Comment options

Answer selected by p-j-smith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants