Commit 38777ebf authored by Edward Andò's avatar Edward Andò
Browse files

Add rotation symbols to ereg since I always get the direction wrong

parent ca996b62
Pipeline #48322 passed with stages
in 12 minutes and 46 seconds
......@@ -130,11 +130,11 @@ class ereg(QWidget):
# transformation grid: rotations
# transformation grid: rotations buttons
self.rXPlus5Button = QPushButton("+5")
self.rXPlus1Button = QPushButton("+1")
self.rXPlus5Button = QPushButton("5°↺")
self.rXPlus1Button = QPushButton("1°↺")
self.rXLabel = QLineEdit("{:.2f}".format(self.rArray[0]))
self.rXMinus1Button = QPushButton("-1")
self.rXMinus5Button = QPushButton("-5")
self.rXMinus1Button = QPushButton("-1°↻")
self.rXMinus5Button = QPushButton("-5°↻")
# transformation grid: rotations connect
self.rXPlus5Button.clicked.connect(partial(self.modifyPhi, "rX", 5))
self.rXPlus1Button.clicked.connect(partial(self.modifyPhi, "rX", 1))
  • Nice try, but this is not actually that reliable, the rotation direction seems to change between axes... needs to be studied more

Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment